limitToLast method

QueryPlatform limitToLast(
  1. int limit
)

Creates and returns a new Query that only returns the last matching documents.

You must specify at least one orderBy clause for limitToLast queries, otherwise an exception will be thrown during execution.

Implementation

QueryPlatform limitToLast(int limit) {
  throw UnimplementedError('limitToLast() is not implemented');
}