Function DatabaseDriver->query_may_run
Definitions
sources/database.php
- Find if a database query may run, showing errors if it cannot.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$query | string | required parameter | N/A | N/A | The complete SQL query |
$connection | mixed | required parameter | N/A | N/A | The DB connection |
$get_insert_id | boolean | required parameter | N/A | N/A | Whether to get the autoincrement ID created for an insert query |
Return
- Whether it can
- Type: boolean
- Set: N/A
- Range: N/A