Property | Type | Description | |
---|---|---|---|
$model |
Method | Description | |
---|---|---|
__construct ( ) | ||
all ( $columns = ['*'] ) | ||
find ( $id, array $columns = ['*'] ) | ||
findBySlug ( $slug ) | ||
findOrFail ( $id, array $columns = ['*'] ) | ||
groupBy ( $colum ) | ||
latest ( ) | ||
lists ( $column, $key = null ) | ||
model ( ) | ||
onlyTrashed ( ) | ||
orderBy ( $colum, $type = 'DESC' ) | ||
paginate ( $number = 10 ) | ||
shuffle ( ) | ||
take ( $num ) | ||
where ( $column, $operator = null, $value = null ) | ||
whereIn ( $colum, array $array ) | ||
withTrashed ( ) |