@devbro/neko-sql 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,48 +0,0 @@
1
- declare class Expression {
2
- private sql;
3
- private bindings;
4
- constructor(sql?: string, bindings?: never[]);
5
- toCompiledSql(): CompiledSql;
6
- }
7
-
8
- type selectType = string;
9
- type whereBasic = {
10
- joinCondition: JoinCondition;
11
- negateCondition: boolean;
12
- };
13
- type whereOp = {
14
- type: 'operation';
15
- column: string;
16
- operation: string;
17
- value: Parameter;
18
- };
19
- type whereOpColumn = {
20
- type: 'operationColumn';
21
- column1: string;
22
- operation: string;
23
- column2: string;
24
- };
25
- type whereRaw = {
26
- type: 'raw';
27
- sql: string;
28
- bindings: Parameter[];
29
- };
30
- type whereNull = {
31
- type: 'null';
32
- column: string;
33
- };
34
- type whereType = whereBasic & (whereOp | whereOpColumn | whereNull);
35
- type Parameter = string | number | Date | boolean | null | Expression | undefined | number[];
36
- type JoinCondition = 'and' | 'or';
37
- type CompiledSql = {
38
- sql: string;
39
- bindings: Parameter[];
40
- };
41
- type havingType = whereBasic & (whereOp | whereRaw);
42
- type joinType = {
43
- type: 'inner' | 'left' | 'right' | 'full';
44
- table: string;
45
- conditions: whereType[];
46
- };
47
-
48
- export { type CompiledSql as C, Expression as E, type JoinCondition as J, type Parameter as P, type whereOp as a, type whereOpColumn as b, type whereRaw as c, type whereNull as d, type whereType as e, type havingType as h, type joinType as j, type selectType as s, type whereBasic as w };