UNPKG

@jakub.knejzlik/ts-query

Version:

TypeScript implementation of SQL builder

56 lines (47 loc) 1.34 kB
export { CreateTableAsSelect } from "./CreateTableAsSelect"; export { CreateViewAsSelect } from "./CreateViewAsSelect"; export { DeleteMutation, InsertMutation, UpdateMutation } from "./Mutation"; export { AWSTimestreamFlavor } from "./flavors/aws-timestream"; export { DefaultFlavor } from "./flavors/default"; export { MySQLFlavor } from "./flavors/mysql"; export { PostgresFlavor } from "./flavors/postgres"; export { SQLiteFlavor } from "./flavors/sqlite"; // Condition exports export { Cond, Condition, BinaryCondition, LogicalCondition, BetweenCondition, InCondition, NotInCondition, NullCondition, LikeCondition, ColumnComparisonCondition, NotCondition, } from "./Condition"; export type { Operator } from "./Condition"; export { Fn, Function } from "./Function"; // Query exports export { Q, Query, SelectQuery, Table, Join, UnionType, } from "./Query"; export type { JoinType, SelectField, OrderClause, TableSource } from "./Query"; // Interface exports export { MetadataOperationType, type ICompilable, type IMetadata, type IQueryTarget, type ISequelizable, type ISerializable, } from "./interfaces"; export { type ISQLFlavor } from "./Flavor"; export type { ExpressionRawValue, ExpressionValue } from "./Expression"; // Target exports export { SQLTarget } from "./targets";