Function Hook_commandr_fs_database->_do_where
Definitions
sources/hooks/systems/commandr_fs/database.php
- Take a provided key-value map from the path and generate a DB query WHERE map array.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table_name | string | required parameter | N/A | N/A | Database table name |
$keys | string | required parameter | N/A | N/A | Key-value map ("key:value,key2:value2") |
Return
- WHERE map array (false: if an invalid key was referenced)
- Type: ~array
- Set: N/A
- Range: N/A