SelectQueryBuilder.limit() method
Home > @direct-sqlite/core > SelectQueryBuilder > limit
SelectQueryBuilder.limit() method
Section titled “SelectQueryBuilder.limit() method”Sets an upper bound constraint on returned rows.
Signature:
limit(value: number): this;Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
value |
number |
The maximum number of rows to return from the query. Should be a non-negative integer. |
Returns:
this