Skip to main content
Module

x/denodb_esgi/mod.ts>Model.max

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

Find the maximum value of a field from all the selected records.

await Flight.max("flightDuration");

Parameters

field: string