Module

x/denodb/lib/model.ts>Model.max

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Model.max
import { Model } from "https://dotland.deno.dev/x/denodb@v1.4.0/lib/model.ts";

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

await Flight.max("flightDuration");

Parameters

field: string