Skip to main content

Limit

Limit is used to specify the number of records to return. It is available with only select.

Sql

Select * from Table_Name Limit number;

JsStore

var results = await connection.select({
from: "Table_Name",
limit: number
});

//results will be array of objects.
console.log(results);

Example