Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Rinvex
Repository
Contracts
RepositoryContract
orderBy
Rinvex\Repository\Contracts\RepositoryContract::orderBy PHP Method
RepositoryContract Interface Documentation
Show file
Open project: rinvex/repository
orderBy()
public
method
Add an "order by" clause to the query.
public
orderBy
(
string
$attribute
,
string
$direction
= 'asc' )
$attribute
string
$direction
string
public function orderBy($attribute, $direction = 'asc');
RepositoryContract
__call
__callStatic
create
createModel
delete
find
findAll
findBy
findWhere
findWhereIn
findWhereNotIn
getContainer
getModel
getRepositoryId
limit
offset
orderBy
paginate
setContainer
setModel
setRepositoryId
simplePaginate
update
where
whereIn
whereNotIn
with