Method |
Description |
|
count ( $model, string $alias = null ) : DSQL |
Returns dynamic query selecting number of entries in the database. |
|
delete ( $model, $id ) |
|
|
deleteAll ( $model ) |
|
|
dsql ( $model ) |
|
|
load ( $model, $dsql ) |
|
|
loadByConditions ( $model ) |
|
|
loadById ( $model, $id ) |
|
|
loadCurrent ( $model ) |
Provided that rewind was called before, load next data entry |
|
prefetchAll ( $model ) |
|
|
save ( $model, $id, $data ) |
|
|
setSource ( $model, $data ) |
|
|
updateConditions ( $model, $dsql ) |
|
|
updateQuery ( $model, $field, $select ) |
|
|