Files
evento/node_modules/@mikro-orm/sql/query/enums.d.ts
2026-03-18 14:55:56 -03:00

23 lines
682 B
TypeScript

/** Type of SQL query to be generated. */
export declare enum QueryType {
TRUNCATE = 'TRUNCATE',
SELECT = 'SELECT',
COUNT = 'COUNT',
INSERT = 'INSERT',
UPDATE = 'UPDATE',
DELETE = 'DELETE',
UPSERT = 'UPSERT',
}
/** Operators that apply to the embedded array column itself, not to individual elements. */
export declare const EMBEDDABLE_ARRAY_OPS: string[];
/** Type of SQL JOIN clause. */
export declare enum JoinType {
leftJoin = 'left join',
innerJoin = 'inner join',
nestedLeftJoin = 'nested left join',
nestedInnerJoin = 'nested inner join',
pivotJoin = 'pivot join',
innerJoinLateral = 'inner join lateral',
leftJoinLateral = 'left join lateral',
}