Skip to main content
Module

x/denodb/mod.ts>Model.limit

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Model.limit
import { Model } from "https://deno.land/x/denodb@v1.4.0/mod.ts";

Limit the number of results returned from the query.

await Flight.limit(10).get();

Type Parameters

T extends ModelSchema

Parameters

this: T
limit: number