Skip to main content
Module

x/denodb_esgi/mod.ts>Model.first

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

Return the first record that matches the current query.

await Flight.where("id", ">", "1").first();