Function DatabaseDriver->set_query_time_limit
Definitions
sources/database.php
- Set a time limit on future queries.Not all database drivers support this.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$seconds | integer | No | No | required parameter | N/A | N/A | The time limit in seconds |
$connection | mixed | No | No | required parameter | N/A | N/A | The DB connection |
Preview
Code (PHP)
/**
* Set a time limit on future queries.Not all database drivers support this.
*
* @param integer $seconds The time limit in seconds
* @param mixed $connection The DB connection
*/
public function set_query_time_limit(int $seconds, $connection)
* Set a time limit on future queries.Not all database drivers support this.
*
* @param integer $seconds The time limit in seconds
* @param mixed $connection The DB connection
*/
public function set_query_time_limit(int $seconds, $connection)