Model Class
findLast()
Signature
Section titled “Signature”findLast() — returns any
Available in: model
Category: Read Functions
Description
Section titled “Description”Fetches the last record ordered by primary key value.
Use the property argument to order by something else.
Returns a model object.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
property | string | no | — | Name of the property to order by. This argument is also aliased as properties. |