메소드 |
설명 |
|
count ( Modler\Model $model, array $where = [] ) : boolean |
Return the number of entities in DB per condition or in general |
|
create ( Modler\Model $model ) : boolean |
Create a new record with model given |
|
delete ( Modler\Model $model ) : boolean |
Delete the record defined by the model data |
|
fetch ( ) : boolean |
Fetch the data from the source |
|
find ( Modler\Model $model, array $where = [] ) : boolean |
Find and populate a model based on the model type and where criteria |
|
getLastError ( ) : string |
Return the last error from action taken on the datasource |
|
save ( Modler\Model $model ) : boolean |
Save the given model |
|
update ( Modler\Model $model ) : boolean |
Update the record for the given model |
|