Метод |
Описание |
|
__construct ( Isswp101\Persimmon\DAL\IDAL $dal, array $attributes = [] ) |
|
|
all ( QueryBuilder | array $query = [] ) : Collection | static[] |
Execute the query and get all items. |
|
findWithParentId ( $id, $parent, array $columns = ['*'] ) |
|
|
first ( QueryBuilder | array $query = [] ) : static |
Execute the query and get the first result. |
|
firstOrFail ( QueryBuilder | array $query = [] ) : static |
Execute the query and get the first result or throw an exception. |
|
map ( QueryBuilder | array $query = [], callable $callback = null, integer $limit ) : integer |
Apply the callback to the documents of the given query. |
|
search ( QueryBuilder | array $query = [] ) : ElasticsearchCollection | static[] |
Execute the query and get the result. |
|