spoof
|
Public Member Functions | |
getCondition (\lib360\db\driver\IDriver $driver,\lib360\db\condition\ICondition $condition) | |
getSelect (\lib360\db\driver\IDriver $driver,\lib360\db\data\IStore $storage,\lib360\db\condition\ICondition $condition=NULL, array $fields=NULL) | |
getUpdate (\lib360\db\driver\IDriver $driver,\lib360\db\data\IStore $storage, array $fields,\lib360\db\condition\ICondition $condition=NULL) | |
getDelete (\lib360\db\driver\IDriver $driver,\lib360\db\data\IStore $storage,\lib360\db\condition\ICondition $condition=NULL) | |
getInsert (\lib360\db\driver\IDriver $driver,\lib360\db\data\IStore $storage, array $data) |
Database language interface
getCondition | ( | \lib360\db\driver\IDriver | $driver, |
\lib360\db\condition\ICondition | $condition | ||
) |
Gets query of the condition using driver-specific syntax.
\lib360\db\driver\IDriver | $driver | database driver |
\lib360\db\condition\ICondition | $condition | database condition object |
Implemented in SQL.
getDelete | ( | \lib360\db\driver\IDriver | $driver, |
\lib360\db\data\IStore | $storage, | ||
\lib360\db\condition\ICondition | $condition = NULL |
||
) |
Returns query object for full delete statement
\lib360\db\driver\IDriver | $driver | database driver |
\lib360\db\data\IStore | $storage | database storage object |
\lib360\db\condition\ICondition | $condition | optional database condition object, default NULL |
Implemented in SQL.
getInsert | ( | \lib360\db\driver\IDriver | $driver, |
\lib360\db\data\IStore | $storage, | ||
array | $data | ||
) |
Returns query object for full insert statement
\lib360\db\driver\IDriver | $driver | database driver |
\lib360\db\data\IStore | $storage | database storage object |
array | $data | associative array of field => to insert |
Implemented in SQL.
getSelect | ( | \lib360\db\driver\IDriver | $driver, |
\lib360\db\data\IStore | $storage, | ||
\lib360\db\condition\ICondition | $condition = NULL , |
||
array | $fields = NULL |
||
) |
Returns query object for full select statement
\lib360\db\driver\IDriver | $driver | database driver |
\lib360\db\data\IDataStore | $storage | database storage object |
\lib360\db\condition\ICondition | $condition | optional database condition object, default NULL |
array | $fields | optional (optionally associative) array of fields to query and return, default NULL |
Implemented in SQL.
getUpdate | ( | \lib360\db\driver\IDriver | $driver, |
\lib360\db\data\IStore | $storage, | ||
array | $fields, | ||
\lib360\db\condition\ICondition | $condition = NULL |
||
) |
Returns query object for full update statement
\lib360\db\driver\IDriver | $driver | database driver |
\lib360\db\data\IStore | $storage | database storage object |
array | $fields | associative array of field => to update |
\lib360\db\condition\ICondition | $condition | optional database condition object, default NULL |
Implemented in SQL.