/opt/canhelp/node_modules/drizzle-orm/sql/expressions
NameSizeModeActions
conditions.cjs68060644editdlrm
conditions.cjs.map238200644editdlrm
conditions.d.cts146780644editdlrm
conditions.d.ts146760644editdlrm
conditions.js45730644editdlrm
conditions.js.map237060644editdlrm
index.cjs12390644editdlrm
index.cjs.map2350644editdlrm
index.d.cts640644editdlrm
index.d.ts620644editdlrm
index.js950644editdlrm
index.js.map1960644editdlrm
select.cjs12540644editdlrm
select.cjs.map14650644editdlrm
select.d.cts10650644editdlrm
select.d.ts10630644editdlrm
select.js2030644editdlrm
select.js.map14180644editdlrm
Edit: /opt/canhelp/node_modules/drizzle-orm/sql/expressions/select.d.ts (1063B)
import type { AnyColumn } from "../../column.js"; import type { SQL, SQLWrapper } from "../sql.js"; /** * Used in sorting, this specifies that the given * column or expression should be sorted in ascending * order. By the SQL standard, ascending order is the * default, so it is not usually necessary to specify * ascending sort order. * * ## Examples * * ```ts * // Return cars, starting with the oldest models * // and going in ascending order to the newest. * db.select().from(cars) * .orderBy(asc(cars.year)); * ``` * * @see desc to sort in descending order */ export declare function asc(column: AnyColumn | SQLWrapper): SQL; /** * Used in sorting, this specifies that the given * column or expression should be sorted in descending * order. * * ## Examples * * ```ts * // Select users, with the most recently created * // records coming first. * db.select().from(users) * .orderBy(desc(users.createdAt)); * ``` * * @see asc to sort in ascending order */ export declare function desc(column: AnyColumn | SQLWrapper): SQL;