import { Model } from "https://deno.land/x/denodb_esgi@1.0.15.1/mod.ts";
Count the number of records of a model or filtered by a field name.
await Flight.count();
await Flight.where("destination", "Dublin").count();
import { Model } from "https://deno.land/x/denodb_esgi@1.0.15.1/mod.ts";
Count the number of records of a model or filtered by a field name.
await Flight.count();
await Flight.where("destination", "Dublin").count();