Method |
Description |
|
all ( array $columns = ['*'] ) : mixed |
|
|
applyCriteria ( ) |
|
|
create ( array $data ) : mixed |
|
|
delete ( $id ) : mixed |
|
|
find ( $id, array $columns = ['*'] ) : mixed |
|
|
findAllBy ( $attribute, $value, array $columns = ['*'] ) : mixed |
|
|
findBy ( $attribute, $value, array $columns = ['*'] ) : mixed |
|
|
findOrFail ( $id, array $columns = ['*'] ) : mixed |
|
|
findOrNew ( $id, array $columns = ['*'] ) : mixed |
|
|
findWhere ( array $where, array $columns = ['*'] ) : Illuminate\Database\Eloquent\Collection | null |
|
|
getByCriteria ( Criteria $criteria ) |
|
|
getCriteria ( ) : mixed |
|
|
lists ( string $value, string $key = null ) : array |
|
|
makeModel ( ) : Model |
Creates instance of model. |
|
pushCriteria ( Criteria $criteria ) |
|
|
raw ( mixed $value ) : Illuminate\Database\Query\Expression |
Get a new raw query expression. |
|
resetCriteria ( ) |
|
|
skipCriteria ( boolean $flag = true ) |
|
|
update ( array $data, $id, string $attribute = 'id' ) : mixed |
|
|