latest method

ModelQuery<T> latest([
  1. String? column
])

Newest first, by column or the model's created_at column.

Implementation

ModelQuery<T> latest([String? column]) =>
    orderBy(column ?? definition.createdAt, 'desc');