UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.

18 lines (17 loc) 322 B
/** * Special object that defines order condition for ORDER BY in sql. * * Example: * { * "name": "ASC", * "id": "DESC" * } * * @deprecated */ export type OrderByCondition = { [columnName: string]: ("ASC" | "DESC") | { order: "ASC" | "DESC"; nulls?: "NULLS FIRST" | "NULLS LAST"; }; };