UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, 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"; }; };