메소드 |
설명 |
|
__clone ( ) |
|
|
__construct ( Model $model, Db $db = null, $alias = null ) |
|
|
_processResults ( $results ) |
|
|
copy ( ) |
|
|
count ( ) |
|
|
deleteAll ( ) |
Issues "delete from . |
|
deleteEach ( ) |
Calls Model::delete method for each matching object |
|
fetch ( ) : Model | array |
|
|
fetchAll ( ) : Model[] | array[] |
|
|
fetchIterator ( integer $batchSize = 500 ) : Iterator |
|
|
getQuery ( ) |
|
|
groupBy ( $groupBy ) |
|
|
innerJoin ( $relationSelector, null $aliases = null, array $on = [] ) : ModelQueryBuilder |
|
|
join ( $relationSelector, null $aliases = null, string $type = 'LEFT', array $on = [] ) : ModelQueryBuilder |
|
|
leftJoin ( $relationSelector, null $aliases = null, array $on = [] ) : ModelQueryBuilder |
|
|
limit ( $limit ) : ModelQueryBuilder |
|
|
lockForUpdate ( ) : ModelQueryBuilder |
|
|
offset ( $offset ) : ModelQueryBuilder |
|
|
options ( array $options ) |
|
|
order ( $columns ) : ModelQueryBuilder |
|
|
rightJoin ( $relationSelector, null $aliases = null, array $on = [] ) : ModelQueryBuilder |
|
|
select ( $columns, integer $type = PDO::FETCH_NUM ) : ModelQueryBuilder |
|
|
selectDistinct ( $columns, integer $type = PDO::FETCH_NUM ) : ModelQueryBuilder |
|
|
update ( array $attributes ) : integer |
Runs an update query against a set of models |
|
using ( $relationSelector, null $aliases ) : ModelQueryBuilder |
|
|
where ( string $where = '', array $values = [] ) : ModelQueryBuilder |
|
|
with ( $relationSelector ) : ModelQueryBuilder |
|
|