Skip to content

Miscellaneous

findFirst()

findFirst() — returns any

Fetches the first record ordered by primary key value. Use the property argument to order by something else. Returns a model object.

NameTypeRequiredDefaultDescription
propertystringyesName of the property to order by. This argument is also aliased as properties.