import { ModelQuery } from "https://deno.land/x/cotton@v0.7.5/src/modelquery.ts";
Perform query to a model.
Methods
private
getColumnName(propertyKey: string): stringGet column name on the database from a column property key.
order(column: Extract<keyof T, string>, direction?: OrderDirection): this
Add an "order by" clause to the query.