Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
LMongo
Eloquent
Builder
first
LMongo\Eloquent\Builder::first PHP Méthode
Builder Class Documentation
Afficher le fichier
Open project: navruzm/lmongo
first()
public
méthode
Execute the query and get the first result.
public
first
(
array
$columns
= [] ) :
Model |
null
$columns
array
Résultat
Model |
null
public function first($columns = array()) { return $this->take(1)->get($columns)->first(); }
Builder
__call
__construct
addUpdatedAtColumn
decrement
delete
eagerLoadRelations
find
findOrFail
first
firstOrFail
forceDelete
get
getEagerLoads
getModel
getModels
getQuery
getRelation
increment
isNested
isSoftDeleteConstraint
loadRelation
nestedRelations
onlyTrashed
paginate
parseNested
parseRelations
pluck
restore
setEagerLoads
setModel
setQuery
softDelete
update
with
withTrashed