v0.38.0 — ORM maturity
Rounds out the active-record ORM toward Lucid/Eloquent parity.
- Timestamps —
static timestamps = trueauto-managescreated_at/updated_at(both on insert, onlyupdated_aton update); column names overridable. - Pagination —
Model.paginate(page, perPage)anddb(table).paginate(...)returnPaginated<T>(data,total,perPage,currentPage,lastPage). - Aggregates & single values —
sum/avg/min/max, plusvalue(column)andpluck(column). - More query clauses —
whereBetween,whereNotIn,whereLike,latest()/oldest(). - Find-or-create & convenience writes —
firstOrCreate,updateOrCreate, instanceupdate(attrs)andrefresh().
207 tests; type-checked doc examples.