23 lines
682 B
TypeScript
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',
|
|
}
|