@sequeljs/ast
Version:
A SQL AST manager for JavaScript
18 lines • 849 B
TypeScript
import SelectManager from '../managers/SelectManager';
import Join from '../nodes/Join';
import SQLLiteral from '../nodes/SQLLiteral';
import type Attribute from '../attributes/Attribute';
import type Relation from '../interfaces/Relation';
export default abstract class SelectPredications {
from(): SelectManager;
group(...columns: (string | Attribute)[]): SelectManager;
having(expr: any): SelectManager;
join(relation: string | Relation | SQLLiteral | null, klass?: typeof Join): SelectManager;
order(...expr: any[]): SelectManager;
outerJoin(relation: string | Relation | SQLLiteral | null): SelectManager;
project(...things: any[]): SelectManager;
skip(amount: any): SelectManager;
take(amount: any): SelectManager;
where(condition: any): SelectManager;
}
//# sourceMappingURL=SelectPredications.d.ts.map