Deno logo
DeployManualBlogAPIStandard LibraryThird Party Modules

esm.sh/@firebase/[email protected]/dist/index.d.ts

limitToLast

Creates a QueryLimitConstraint 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.

function limitToLast(limit: number): QueryLimitConstraint;
§
limitToLast(limit: number): QueryLimitConstraint
[src]

§Parameters

§
limit: number
[src]
  • The maximum number of items to return.

§Return Type

§
QueryLimitConstraint
[src]

The created QueryLimitConstraint.

Manual
API
Standard Library
Third Party Modules
Benchmarks
Artwork
Blog
System Status
Companies interested in Deno