@ignisia/sql 0.2.0 → 0.2.2
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.
- package/dist/cjs/column/constants.js +101 -0
- package/dist/cjs/column/index.d.cts +42 -0
- package/dist/cjs/column/index.js +107 -0
- package/dist/cjs/column/types.d.cts +43 -0
- package/dist/cjs/column/types.js +4 -0
- package/dist/cjs/database/alter.d.cts +52 -0
- package/dist/cjs/database/alter.js +93 -0
- package/dist/cjs/database/column.d.cts +24 -0
- package/dist/cjs/database/column.js +37 -0
- package/dist/cjs/database/contract.d.cts +8 -0
- package/dist/cjs/database/contract.js +2 -0
- package/dist/cjs/database/index.d.cts +8 -0
- package/dist/cjs/database/index.js +94 -0
- package/dist/cjs/database/table.d.cts +21 -0
- package/dist/cjs/database/table.js +41 -0
- package/dist/cjs/database/types.d.cts +7 -0
- package/dist/cjs/database/types.js +2 -0
- package/dist/cjs/database/wrapper.d.cts +36 -0
- package/dist/cjs/database/wrapper.js +95 -0
- package/dist/cjs/index---zaMa69.d.cts +103 -0
- package/dist/cjs/index-CwiFQh0I.d.cts +358 -0
- package/dist/cjs/index.d.cts +10 -0
- package/dist/cjs/index.js +30 -0
- package/dist/cjs/migration/index.d.cts +30 -0
- package/dist/cjs/migration/index.js +50 -0
- package/dist/cjs/migration/runner.js +58 -0
- package/dist/cjs/migration/type.d.cts +19 -0
- package/dist/cjs/migration/type.js +2 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/query/builder.d.cts +14 -0
- package/dist/cjs/query/builder.js +71 -0
- package/dist/cjs/query/condition.d.cts +7 -0
- package/dist/cjs/query/condition.js +106 -0
- package/dist/cjs/query/constants.js +64 -0
- package/dist/cjs/query/contract.d.cts +7 -0
- package/dist/cjs/query/contract.js +2 -0
- package/dist/cjs/query/helper.d.cts +7 -0
- package/dist/cjs/query/helper.js +36 -0
- package/dist/cjs/query/index.d.cts +7 -0
- package/dist/cjs/query/index.js +197 -0
- package/dist/cjs/query/join.d.cts +16 -0
- package/dist/cjs/query/join.js +18 -0
- package/dist/cjs/query/sql.d.cts +17 -0
- package/dist/cjs/query/sql.js +104 -0
- package/dist/cjs/query/types.d.cts +7 -0
- package/dist/cjs/query/types.js +2 -0
- package/dist/cjs/query/utilities.d.cts +34 -0
- package/dist/cjs/query/utilities.js +184 -0
- package/dist/cjs/table/constants.js +8 -0
- package/dist/cjs/table/index.d.cts +7 -0
- package/dist/cjs/table/index.js +54 -0
- package/dist/cjs/table/types.d.cts +7 -0
- package/dist/cjs/table/types.js +2 -0
- package/dist/cjs/table/utilities.d.cts +7 -0
- package/dist/cjs/table/utilities.js +55 -0
- package/dist/cjs/types.js +2 -0
- package/dist/cjs/utilities.js +21 -0
- package/dist/esm/column/constants.d.ts +97 -0
- package/dist/{chunk-G3LSCLIQ.js → esm/column/constants.js} +2 -7
- package/dist/{chunk-GY7R637S.js → esm/column/index.js} +3 -10
- package/dist/esm/column/types.js +1 -0
- package/dist/{chunk-V4OMHVJN.js → esm/database/alter.js} +2 -10
- package/dist/{chunk-JF7OSNH4.js → esm/database/column.js} +2 -8
- package/dist/esm/database/contract.js +1 -0
- package/dist/{chunk-UI7U54OT.js → esm/database/index.js} +7 -26
- package/dist/{chunk-OYM2PNYZ.js → esm/database/table.js} +2 -8
- package/dist/esm/database/types.js +1 -0
- package/dist/{chunk-HKTHKQLK.js → esm/database/wrapper.js} +6 -11
- package/dist/esm/index.js +5 -0
- package/dist/{chunk-CIWX3UCZ.js → esm/migration/index.js} +1 -3
- package/dist/esm/migration/runner.d.ts +3 -0
- package/dist/{migration → esm/migration}/runner.js +4 -16
- package/dist/esm/migration/type.js +1 -0
- package/dist/esm/query/builder.js +67 -0
- package/dist/esm/query/condition.js +98 -0
- package/dist/esm/query/constants.d.ts +63 -0
- package/dist/{chunk-62FKD35V.js → esm/query/constants.js} +1 -10
- package/dist/esm/query/contract.js +1 -0
- package/dist/esm/query/helper.js +31 -0
- package/dist/esm/query/index.js +196 -0
- package/dist/{chunk-FYSNJAGD.js → esm/query/join.js} +1 -3
- package/dist/esm/query/sql.js +100 -0
- package/dist/esm/query/types.js +1 -0
- package/dist/esm/query/utilities.js +176 -0
- package/dist/esm/table/constants.d.ts +7 -0
- package/dist/{chunk-GLOHF5CP.js → esm/table/constants.js} +1 -3
- package/dist/{chunk-KVCIOW7L.js → esm/table/index.js} +3 -9
- package/dist/esm/table/types.js +1 -0
- package/dist/{chunk-WVJGTZFI.js → esm/table/utilities.js} +2 -11
- package/dist/esm/types.d.ts +3 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/utilities.d.ts +4 -0
- package/dist/{chunk-Y7FSRHH3.js → esm/utilities.js} +1 -4
- package/package.json +62 -4
- package/dist/chunk-EIUC7HJS.js +0 -686
- package/dist/column/constants.js +0 -9
- package/dist/column/index.js +0 -8
- package/dist/column/types.js +0 -2
- package/dist/database/alter.js +0 -15
- package/dist/database/column.js +0 -11
- package/dist/database/contract.js +0 -0
- package/dist/database/index.js +0 -19
- package/dist/database/table.js +0 -19
- package/dist/database/types.js +0 -0
- package/dist/database/wrapper.js +0 -9
- package/dist/index.js +0 -32
- package/dist/migration/index.js +0 -6
- package/dist/migration/type.js +0 -0
- package/dist/query/builder.js +0 -16
- package/dist/query/condition.js +0 -24
- package/dist/query/constants.js +0 -20
- package/dist/query/contract.js +0 -0
- package/dist/query/helper.js +0 -18
- package/dist/query/index.js +0 -10
- package/dist/query/join.js +0 -6
- package/dist/query/sql.js +0 -16
- package/dist/query/types.js +0 -0
- package/dist/query/utilities.js +0 -24
- package/dist/table/constants.js +0 -6
- package/dist/table/index.js +0 -14
- package/dist/table/types.js +0 -0
- package/dist/table/utilities.js +0 -15
- package/dist/types.js +0 -0
- package/dist/utilities.js +0 -8
- /package/dist/{column/constants.d.ts → cjs/column/constants.d.cts} +0 -0
- /package/dist/{migration/runner.d.ts → cjs/migration/runner.d.cts} +0 -0
- /package/dist/{query/constants.d.ts → cjs/query/constants.d.cts} +0 -0
- /package/dist/{table/constants.d.ts → cjs/table/constants.d.cts} +0 -0
- /package/dist/{types.d.ts → cjs/types.d.cts} +0 -0
- /package/dist/{utilities.d.ts → cjs/utilities.d.cts} +0 -0
- /package/dist/{column → esm/column}/index.d.ts +0 -0
- /package/dist/{column → esm/column}/types.d.ts +0 -0
- /package/dist/{database → esm/database}/alter.d.ts +0 -0
- /package/dist/{database → esm/database}/column.d.ts +0 -0
- /package/dist/{database → esm/database}/contract.d.ts +0 -0
- /package/dist/{database → esm/database}/index.d.ts +0 -0
- /package/dist/{database → esm/database}/table.d.ts +0 -0
- /package/dist/{database → esm/database}/types.d.ts +0 -0
- /package/dist/{database → esm/database}/wrapper.d.ts +0 -0
- /package/dist/{index-DFrpzXEn.d.ts → esm/index-DFrpzXEn.d.ts} +0 -0
- /package/dist/{index-FMT0YEO7.d.ts → esm/index-FMT0YEO7.d.ts} +0 -0
- /package/dist/{index.d.ts → esm/index.d.ts} +0 -0
- /package/dist/{migration → esm/migration}/index.d.ts +0 -0
- /package/dist/{migration → esm/migration}/type.d.ts +0 -0
- /package/dist/{query → esm/query}/builder.d.ts +0 -0
- /package/dist/{query → esm/query}/condition.d.ts +0 -0
- /package/dist/{query → esm/query}/contract.d.ts +0 -0
- /package/dist/{query → esm/query}/helper.d.ts +0 -0
- /package/dist/{query → esm/query}/index.d.ts +0 -0
- /package/dist/{query → esm/query}/join.d.ts +0 -0
- /package/dist/{query → esm/query}/sql.d.ts +0 -0
- /package/dist/{query → esm/query}/types.d.ts +0 -0
- /package/dist/{query → esm/query}/utilities.d.ts +0 -0
- /package/dist/{table → esm/table}/index.d.ts +0 -0
- /package/dist/{table → esm/table}/types.d.ts +0 -0
- /package/dist/{table → esm/table}/utilities.d.ts +0 -0
package/dist/database/column.js
DELETED
|
File without changes
|
package/dist/database/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Database
|
|
3
|
-
} from "../chunk-UI7U54OT.js";
|
|
4
|
-
import "../chunk-HKTHKQLK.js";
|
|
5
|
-
import "../chunk-JF7OSNH4.js";
|
|
6
|
-
import "../chunk-OYM2PNYZ.js";
|
|
7
|
-
import "../chunk-KVCIOW7L.js";
|
|
8
|
-
import "../chunk-EIUC7HJS.js";
|
|
9
|
-
import "../chunk-FYSNJAGD.js";
|
|
10
|
-
import "../chunk-62FKD35V.js";
|
|
11
|
-
import "../chunk-V4OMHVJN.js";
|
|
12
|
-
import "../chunk-Y7FSRHH3.js";
|
|
13
|
-
import "../chunk-WVJGTZFI.js";
|
|
14
|
-
import "../chunk-GY7R637S.js";
|
|
15
|
-
import "../chunk-G3LSCLIQ.js";
|
|
16
|
-
import "../chunk-GLOHF5CP.js";
|
|
17
|
-
export {
|
|
18
|
-
Database
|
|
19
|
-
};
|
package/dist/database/table.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createTable,
|
|
3
|
-
dropTable,
|
|
4
|
-
renameTable
|
|
5
|
-
} from "../chunk-OYM2PNYZ.js";
|
|
6
|
-
import "../chunk-KVCIOW7L.js";
|
|
7
|
-
import "../chunk-EIUC7HJS.js";
|
|
8
|
-
import "../chunk-FYSNJAGD.js";
|
|
9
|
-
import "../chunk-62FKD35V.js";
|
|
10
|
-
import "../chunk-Y7FSRHH3.js";
|
|
11
|
-
import "../chunk-WVJGTZFI.js";
|
|
12
|
-
import "../chunk-GY7R637S.js";
|
|
13
|
-
import "../chunk-G3LSCLIQ.js";
|
|
14
|
-
import "../chunk-GLOHF5CP.js";
|
|
15
|
-
export {
|
|
16
|
-
createTable,
|
|
17
|
-
dropTable,
|
|
18
|
-
renameTable
|
|
19
|
-
};
|
package/dist/database/types.js
DELETED
|
File without changes
|
package/dist/database/wrapper.js
DELETED
package/dist/index.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Migration
|
|
3
|
-
} from "./chunk-CIWX3UCZ.js";
|
|
4
|
-
import {
|
|
5
|
-
Database
|
|
6
|
-
} from "./chunk-UI7U54OT.js";
|
|
7
|
-
import "./chunk-HKTHKQLK.js";
|
|
8
|
-
import "./chunk-JF7OSNH4.js";
|
|
9
|
-
import "./chunk-OYM2PNYZ.js";
|
|
10
|
-
import {
|
|
11
|
-
Table
|
|
12
|
-
} from "./chunk-KVCIOW7L.js";
|
|
13
|
-
import {
|
|
14
|
-
QueryBuilder
|
|
15
|
-
} from "./chunk-EIUC7HJS.js";
|
|
16
|
-
import "./chunk-FYSNJAGD.js";
|
|
17
|
-
import "./chunk-62FKD35V.js";
|
|
18
|
-
import "./chunk-V4OMHVJN.js";
|
|
19
|
-
import "./chunk-Y7FSRHH3.js";
|
|
20
|
-
import "./chunk-WVJGTZFI.js";
|
|
21
|
-
import {
|
|
22
|
-
Column
|
|
23
|
-
} from "./chunk-GY7R637S.js";
|
|
24
|
-
import "./chunk-G3LSCLIQ.js";
|
|
25
|
-
import "./chunk-GLOHF5CP.js";
|
|
26
|
-
export {
|
|
27
|
-
Column,
|
|
28
|
-
Database,
|
|
29
|
-
Migration,
|
|
30
|
-
QueryBuilder,
|
|
31
|
-
Table
|
|
32
|
-
};
|
package/dist/migration/index.js
DELETED
package/dist/migration/type.js
DELETED
|
File without changes
|
package/dist/query/builder.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildDeleteQuery,
|
|
3
|
-
buildInsertQuery,
|
|
4
|
-
buildSelectQuery,
|
|
5
|
-
buildUpdateQuery
|
|
6
|
-
} from "../chunk-EIUC7HJS.js";
|
|
7
|
-
import "../chunk-FYSNJAGD.js";
|
|
8
|
-
import "../chunk-62FKD35V.js";
|
|
9
|
-
import "../chunk-Y7FSRHH3.js";
|
|
10
|
-
import "../chunk-GLOHF5CP.js";
|
|
11
|
-
export {
|
|
12
|
-
buildDeleteQuery,
|
|
13
|
-
buildInsertQuery,
|
|
14
|
-
buildSelectQuery,
|
|
15
|
-
buildUpdateQuery
|
|
16
|
-
};
|
package/dist/query/condition.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addCondition,
|
|
3
|
-
addRawCondition,
|
|
4
|
-
having,
|
|
5
|
-
or,
|
|
6
|
-
rawHaving,
|
|
7
|
-
rawOr,
|
|
8
|
-
rawWhere,
|
|
9
|
-
where
|
|
10
|
-
} from "../chunk-EIUC7HJS.js";
|
|
11
|
-
import "../chunk-FYSNJAGD.js";
|
|
12
|
-
import "../chunk-62FKD35V.js";
|
|
13
|
-
import "../chunk-Y7FSRHH3.js";
|
|
14
|
-
import "../chunk-GLOHF5CP.js";
|
|
15
|
-
export {
|
|
16
|
-
addCondition,
|
|
17
|
-
addRawCondition,
|
|
18
|
-
having,
|
|
19
|
-
or,
|
|
20
|
-
rawHaving,
|
|
21
|
-
rawOr,
|
|
22
|
-
rawWhere,
|
|
23
|
-
where
|
|
24
|
-
};
|
package/dist/query/constants.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AcceptedJoin,
|
|
3
|
-
AcceptedOperator,
|
|
4
|
-
AggregationFunction,
|
|
5
|
-
ConditionClause,
|
|
6
|
-
LogicalOperator,
|
|
7
|
-
OrderBy,
|
|
8
|
-
QueryHooksType,
|
|
9
|
-
QueryType
|
|
10
|
-
} from "../chunk-62FKD35V.js";
|
|
11
|
-
export {
|
|
12
|
-
AcceptedJoin,
|
|
13
|
-
AcceptedOperator,
|
|
14
|
-
AggregationFunction,
|
|
15
|
-
ConditionClause,
|
|
16
|
-
LogicalOperator,
|
|
17
|
-
OrderBy,
|
|
18
|
-
QueryHooksType,
|
|
19
|
-
QueryType
|
|
20
|
-
};
|
package/dist/query/contract.js
DELETED
|
File without changes
|
package/dist/query/helper.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
aggregateCol,
|
|
3
|
-
alias,
|
|
4
|
-
clone,
|
|
5
|
-
col,
|
|
6
|
-
rawCol
|
|
7
|
-
} from "../chunk-EIUC7HJS.js";
|
|
8
|
-
import "../chunk-FYSNJAGD.js";
|
|
9
|
-
import "../chunk-62FKD35V.js";
|
|
10
|
-
import "../chunk-Y7FSRHH3.js";
|
|
11
|
-
import "../chunk-GLOHF5CP.js";
|
|
12
|
-
export {
|
|
13
|
-
aggregateCol,
|
|
14
|
-
alias,
|
|
15
|
-
clone,
|
|
16
|
-
col,
|
|
17
|
-
rawCol
|
|
18
|
-
};
|
package/dist/query/index.js
DELETED
package/dist/query/join.js
DELETED
package/dist/query/sql.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildQuery,
|
|
3
|
-
exec,
|
|
4
|
-
toQuery,
|
|
5
|
-
toString
|
|
6
|
-
} from "../chunk-EIUC7HJS.js";
|
|
7
|
-
import "../chunk-FYSNJAGD.js";
|
|
8
|
-
import "../chunk-62FKD35V.js";
|
|
9
|
-
import "../chunk-Y7FSRHH3.js";
|
|
10
|
-
import "../chunk-GLOHF5CP.js";
|
|
11
|
-
export {
|
|
12
|
-
buildQuery,
|
|
13
|
-
exec,
|
|
14
|
-
toQuery,
|
|
15
|
-
toString
|
|
16
|
-
};
|
package/dist/query/types.js
DELETED
|
File without changes
|
package/dist/query/utilities.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getCondition,
|
|
3
|
-
getGroupByConditions,
|
|
4
|
-
getParanoid,
|
|
5
|
-
getTableColumnNames,
|
|
6
|
-
getTableSelectName,
|
|
7
|
-
getTimestamp,
|
|
8
|
-
getWhereConditions,
|
|
9
|
-
parseAliasedRow
|
|
10
|
-
} from "../chunk-EIUC7HJS.js";
|
|
11
|
-
import "../chunk-FYSNJAGD.js";
|
|
12
|
-
import "../chunk-62FKD35V.js";
|
|
13
|
-
import "../chunk-Y7FSRHH3.js";
|
|
14
|
-
import "../chunk-GLOHF5CP.js";
|
|
15
|
-
export {
|
|
16
|
-
getCondition,
|
|
17
|
-
getGroupByConditions,
|
|
18
|
-
getParanoid,
|
|
19
|
-
getTableColumnNames,
|
|
20
|
-
getTableSelectName,
|
|
21
|
-
getTimestamp,
|
|
22
|
-
getWhereConditions,
|
|
23
|
-
parseAliasedRow
|
|
24
|
-
};
|
package/dist/table/constants.js
DELETED
package/dist/table/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Table
|
|
3
|
-
} from "../chunk-KVCIOW7L.js";
|
|
4
|
-
import "../chunk-EIUC7HJS.js";
|
|
5
|
-
import "../chunk-FYSNJAGD.js";
|
|
6
|
-
import "../chunk-62FKD35V.js";
|
|
7
|
-
import "../chunk-Y7FSRHH3.js";
|
|
8
|
-
import "../chunk-WVJGTZFI.js";
|
|
9
|
-
import "../chunk-GY7R637S.js";
|
|
10
|
-
import "../chunk-G3LSCLIQ.js";
|
|
11
|
-
import "../chunk-GLOHF5CP.js";
|
|
12
|
-
export {
|
|
13
|
-
Table
|
|
14
|
-
};
|
package/dist/table/types.js
DELETED
|
File without changes
|
package/dist/table/utilities.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createdAt,
|
|
3
|
-
defineColumns,
|
|
4
|
-
deletedAt,
|
|
5
|
-
updatedAt
|
|
6
|
-
} from "../chunk-WVJGTZFI.js";
|
|
7
|
-
import "../chunk-GY7R637S.js";
|
|
8
|
-
import "../chunk-G3LSCLIQ.js";
|
|
9
|
-
import "../chunk-GLOHF5CP.js";
|
|
10
|
-
export {
|
|
11
|
-
createdAt,
|
|
12
|
-
defineColumns,
|
|
13
|
-
deletedAt,
|
|
14
|
-
updatedAt
|
|
15
|
-
};
|
package/dist/types.js
DELETED
|
File without changes
|
package/dist/utilities.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|