Skip to content

SelectQueryBuilder.limit() method

Home > @direct-sqlite/core > SelectQueryBuilder > limit

Sets an upper bound constraint on returned rows.

Signature:

limit(value: number): this;

Parameter

Type

Description

value

number

The maximum number of rows to return from the query. Should be a non-negative integer.

Returns:

this