Skip to main content
Module

x/denodb_esgi/mod.ts>Model.find

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

Find one or multiple records based on the model primary key.

await Flight.find("1");

Parameters

idOrIds: FieldValue | FieldValue[]