Method |
Description |
|
createOne ( array $data ) : integer |
Create item |
|
deleteOne ( mixed $primary ) : integer |
Delete item |
|
getPrimaryKey ( ) : array |
Get primary key |
|
getTable ( ) : Table |
Return table instance for manipulation |
|
readOne ( mixed $primary ) : Row |
Get record from Db or create new object |
|
readSet ( integer $offset, integer $limit = 10, array $params = [], integer &$total = null ) : array | integer | mixed |
Get set of records |
|
setTable ( Table $table ) : self |
Setup Table instance |
|
updateOne ( mixed $primary, array $data ) : integer |
Update item |
|