Skip to content

Model Class

findLastOne()

findLastOne() — returns any

Available in: model Category: Read Functions

Fetches the last record ordered by primary key value. Use the property argument to order by something else. Returns a model object. Formerly known as findLast.

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