@ignisia/sql 0.4.2 → 0.4.3
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/query/sql.js +22 -2
- package/dist/esm/database/alter.d.ts +2 -2
- package/dist/esm/database/column.d.ts +2 -2
- package/dist/esm/database/contract.d.ts +2 -2
- package/dist/esm/database/index.d.ts +2 -2
- package/dist/esm/database/table.d.ts +2 -2
- package/dist/esm/database/types.d.ts +1 -1
- package/dist/esm/database/wrapper.d.ts +1 -1
- package/dist/esm/{index-BWg1JZRt.d.ts → index-B4y4GiNB.d.ts} +1 -1
- package/dist/esm/{index-CsVPGz2o.d.ts → index-CARBkj9h.d.ts} +1 -1
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/migration/index.d.ts +2 -2
- package/dist/esm/migration/type.d.ts +2 -2
- package/dist/esm/query/ast.d.ts +1 -1
- package/dist/esm/query/builder.d.ts +1 -1
- package/dist/esm/query/compiler.d.ts +1 -1
- package/dist/esm/query/condition/common.d.ts +1 -1
- package/dist/esm/query/condition/core.d.ts +1 -1
- package/dist/esm/query/condition/index.d.ts +1 -1
- package/dist/esm/query/condition/not.d.ts +1 -1
- package/dist/esm/query/contract.d.ts +1 -1
- package/dist/esm/query/explain.d.ts +1 -1
- package/dist/esm/query/helper.d.ts +1 -1
- package/dist/esm/query/index.d.ts +1 -1
- package/dist/esm/query/join.d.ts +1 -1
- package/dist/esm/query/sql.d.ts +1 -1
- package/dist/esm/query/sql.js +22 -2
- package/dist/esm/query/types.d.ts +1 -1
- package/dist/esm/query/utilities.d.ts +1 -1
- package/dist/esm/table/index.d.ts +1 -1
- package/dist/esm/table/types.d.ts +1 -1
- package/dist/esm/table/utilities.d.ts +1 -1
- package/package.json +1 -1
package/dist/cjs/query/sql.js
CHANGED
|
@@ -68,7 +68,7 @@ function toQuery(dialect = this.table.dialect) {
|
|
|
68
68
|
parts.push("OFFSET ?");
|
|
69
69
|
params.push(this.definition.offset);
|
|
70
70
|
}
|
|
71
|
-
if (this.definition.queryType === constants.QueryType.UPDATE || this.definition.queryType === constants.QueryType.DELETE) {
|
|
71
|
+
if (this.definition.queryType === constants.QueryType.INSERT || this.definition.queryType === constants.QueryType.UPDATE || this.definition.queryType === constants.QueryType.DELETE) {
|
|
72
72
|
if (dialect !== constants$1.Dialect.MYSQL) {
|
|
73
73
|
parts.push("RETURNING *");
|
|
74
74
|
}
|
|
@@ -109,9 +109,10 @@ async function exec(tx) {
|
|
|
109
109
|
const client = this.table.client;
|
|
110
110
|
const dialect = this.table.dialect;
|
|
111
111
|
const queryType = this.definition.queryType;
|
|
112
|
+
const isInsert = queryType === constants.QueryType.INSERT;
|
|
112
113
|
const isUpdate = queryType === constants.QueryType.UPDATE;
|
|
113
114
|
const isDelete = queryType === constants.QueryType.DELETE;
|
|
114
|
-
const isReturning = isUpdate || isDelete;
|
|
115
|
+
const isReturning = isInsert || isUpdate || isDelete;
|
|
115
116
|
const isMySQL = dialect === constants$1.Dialect.MYSQL;
|
|
116
117
|
if (!client) {
|
|
117
118
|
throw new Error("Database client not defined");
|
|
@@ -132,6 +133,9 @@ async function exec(tx) {
|
|
|
132
133
|
}
|
|
133
134
|
let result = [];
|
|
134
135
|
let mySqlResult = [];
|
|
136
|
+
const primaryKeyColumn = Object.entries(this.table.columns).find(
|
|
137
|
+
([, col]) => col.definition.primaryKey
|
|
138
|
+
)?.[0];
|
|
135
139
|
if (isMySQL && isDelete) {
|
|
136
140
|
const query2 = this.clone().select(`${this.table.name}.*`);
|
|
137
141
|
mySqlResult = await client.exec({
|
|
@@ -145,6 +149,22 @@ async function exec(tx) {
|
|
|
145
149
|
params,
|
|
146
150
|
tx
|
|
147
151
|
});
|
|
152
|
+
if (isMySQL && isInsert && primaryKeyColumn) {
|
|
153
|
+
const insertResult = result;
|
|
154
|
+
const lastId = insertResult.lastInsertRowid;
|
|
155
|
+
if (lastId != null) {
|
|
156
|
+
const selectQuery = this.table.query().where(
|
|
157
|
+
`${this.table.name}."${primaryKeyColumn}"`,
|
|
158
|
+
"eq",
|
|
159
|
+
lastId
|
|
160
|
+
);
|
|
161
|
+
mySqlResult = await client.exec({
|
|
162
|
+
sql: selectQuery.toQuery().query,
|
|
163
|
+
params: selectQuery.toQuery().params,
|
|
164
|
+
tx
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
}
|
|
148
168
|
if (isMySQL && isUpdate) {
|
|
149
169
|
const query2 = this.clone().select(`${this.table.name}.*`);
|
|
150
170
|
mySqlResult = await client.exec({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as Database } from '../index-
|
|
1
|
+
import { D as Database } from '../index-B4y4GiNB.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
3
|
import { AcceptedColumnTypes } from '../column/constants.js';
|
|
4
|
-
import { T as Table, D as DatabaseDefinition } from '../index-
|
|
4
|
+
import { T as Table, D as DatabaseDefinition } from '../index-CARBkj9h.js';
|
|
5
5
|
import { Dialect } from '../table/constants.js';
|
|
6
6
|
import 'bun';
|
|
7
7
|
import '../query/constants.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Database } from '../index-
|
|
1
|
+
import { D as Database } from '../index-B4y4GiNB.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
|
-
import { T as Table, D as DatabaseDefinition } from '../index-
|
|
3
|
+
import { T as Table, D as DatabaseDefinition } from '../index-CARBkj9h.js';
|
|
4
4
|
import { Dialect } from '../table/constants.js';
|
|
5
5
|
import 'bun';
|
|
6
6
|
import '../query/constants.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { C as ColumnAlterationContract, T as TableAlterationContract } from '../index-
|
|
1
|
+
export { C as ColumnAlterationContract, T as TableAlterationContract } from '../index-B4y4GiNB.js';
|
|
2
2
|
import '../column/index.js';
|
|
3
3
|
import '../column/constants.js';
|
|
4
|
-
import '../index-
|
|
4
|
+
import '../index-CARBkj9h.js';
|
|
5
5
|
import '../table/constants.js';
|
|
6
6
|
import 'bun';
|
|
7
7
|
import '../query/constants.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'bun';
|
|
2
2
|
import '../column/index.js';
|
|
3
|
-
import '../index-
|
|
3
|
+
import '../index-CARBkj9h.js';
|
|
4
4
|
import '../query/constants.js';
|
|
5
5
|
import '../table/constants.js';
|
|
6
|
-
export { D as Database } from '../index-
|
|
6
|
+
export { D as Database } from '../index-B4y4GiNB.js';
|
|
7
7
|
import '../column/constants.js';
|
|
8
8
|
import '../column/types.js';
|
|
9
9
|
import '../types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Database } from '../index-
|
|
1
|
+
import { D as Database } from '../index-B4y4GiNB.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
|
-
import { T as Table, D as DatabaseDefinition,
|
|
3
|
+
import { T as Table, D as DatabaseDefinition, c as TimestampOptions, M as MergeTimestampParanoid } from '../index-CARBkj9h.js';
|
|
4
4
|
import { Dialect } from '../table/constants.js';
|
|
5
5
|
import 'bun';
|
|
6
6
|
import '../query/constants.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'bun';
|
|
2
2
|
import '../column/index.js';
|
|
3
|
-
export { D as DatabaseDefinition,
|
|
3
|
+
export { D as DatabaseDefinition, d as DatabaseDialect, e as DatabaseExecOptions, o as DatabaseOptions, f as MysqlConfig, P as PostgresConfig, x as SqlConfig, S as SqlConfigMapping, g as SqliteConfig } from '../index-CARBkj9h.js';
|
|
4
4
|
import '../table/constants.js';
|
|
5
5
|
import '../column/constants.js';
|
|
6
6
|
import '../column/types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SQL, TransactionSQL } from 'bun';
|
|
2
2
|
import { Dialect } from '../table/constants.js';
|
|
3
|
-
import {
|
|
3
|
+
import { S as SqlConfigMapping, d as DatabaseDialect, e as DatabaseExecOptions, P as PostgresConfig, f as MysqlConfig, g as SqliteConfig } from '../index-CARBkj9h.js';
|
|
4
4
|
import '../column/index.js';
|
|
5
5
|
import '../column/constants.js';
|
|
6
6
|
import '../column/types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionSQL } from 'bun';
|
|
2
2
|
import { Column } from './column/index.js';
|
|
3
|
-
import { T as Table, D as DatabaseDefinition,
|
|
3
|
+
import { T as Table, D as DatabaseDefinition, c as TimestampOptions, M as MergeTimestampParanoid, n as QueryHooks, d as DatabaseDialect, o as DatabaseOptions, i as QueryBuilder, p as QueryRunHooks } from './index-CARBkj9h.js';
|
|
4
4
|
import { QueryHooksType } from './query/constants.js';
|
|
5
5
|
import { Dialect } from './table/constants.js';
|
|
6
6
|
import { AcceptedColumnTypes } from './column/constants.js';
|
|
@@ -497,4 +497,4 @@ declare class QueryBuilder<Alias extends TableRef['name'], TableRef extends Tabl
|
|
|
497
497
|
infer(): this['_output'];
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
export { clone as $, type AliasedColumn as A, deletedAt as B, type ColumnSelector as C, type DatabaseDefinition as D, type ExplainOptions as E, defineColumns as F, type GroupNode as G, type TableOptions as H, type TableOutput as I, type JoinNode as J, type ExecOptions as K, type SingleValueComparisonNode as L, type MergeTimestampParanoid as M, type MultiValueComparisonNode as N, type NullValueComparisonNode as O, type PostgresConfig as P, type QueryDefinition as Q, type RawColumn as R, type
|
|
500
|
+
export { clone as $, type AliasedColumn as A, deletedAt as B, type ColumnSelector as C, type DatabaseDefinition as D, type ExplainOptions as E, defineColumns as F, type GroupNode as G, type TableOptions as H, type TableOutput as I, type JoinNode as J, type ExecOptions as K, type SingleValueComparisonNode as L, type MergeTimestampParanoid as M, type MultiValueComparisonNode as N, type NullValueComparisonNode as O, type PostgresConfig as P, type QueryDefinition as Q, type RawColumn as R, type SqlConfigMapping as S, Table as T, type ComparisonNode as U, type NotNode as V, type WhereValue as W, type BaseJoinNode as X, type NonCrossNaturalJoinNode as Y, type CrossNaturalJoinNode as Z, alias as _, addCondition as a, col as a0, aggregateCol as a1, addGroupCondition as b, type TimestampOptions as c, type DatabaseDialect as d, type DatabaseExecOptions as e, type MysqlConfig as f, type SqliteConfig as g, type StrictColumnSelector as h, QueryBuilder as i, type SelectableColumn as j, type QueryTransformerContract as k, type QueryConditionContract as l, type AstNode as m, type QueryHooks as n, type DatabaseOptions as o, type QueryRunHooks as p, type AcceptedOrderBy as q, type AcceptedInsertValues as r, type AcceptedUpdateValues as s, type AggregateColumn as t, type SelectQueryOutput as u, type QueryOutput as v, type QueryRunHooksOptions as w, type SqlConfig as x, createdAt as y, updatedAt as z };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Column } from './column/index.js';
|
|
2
|
-
export { D as Database } from './index-
|
|
2
|
+
export { D as Database } from './index-B4y4GiNB.js';
|
|
3
3
|
export { Migration } from './migration/index.js';
|
|
4
|
-
export {
|
|
4
|
+
export { i as QueryBuilder, T as Table } from './index-CARBkj9h.js';
|
|
5
5
|
import './table/constants.js';
|
|
6
6
|
import './column/constants.js';
|
|
7
7
|
import './column/types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Column } from '../column/index.js';
|
|
2
|
-
import { D as Database } from '../index-
|
|
3
|
-
import { T as Table } from '../index-
|
|
2
|
+
import { D as Database } from '../index-B4y4GiNB.js';
|
|
3
|
+
import { T as Table } from '../index-CARBkj9h.js';
|
|
4
4
|
import { Dialect } from '../table/constants.js';
|
|
5
5
|
import { MigrationOptions, MigrationFn } from './type.js';
|
|
6
6
|
import '../column/constants.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Column } from '../column/index.js';
|
|
2
|
-
import { D as Database } from '../index-
|
|
3
|
-
import { T as Table } from '../index-
|
|
2
|
+
import { D as Database } from '../index-B4y4GiNB.js';
|
|
3
|
+
import { T as Table } from '../index-CARBkj9h.js';
|
|
4
4
|
import { Dialect } from '../table/constants.js';
|
|
5
5
|
import '../column/constants.js';
|
|
6
6
|
import '../column/types.js';
|
package/dist/esm/query/ast.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../column/index.js';
|
|
2
|
-
export {
|
|
2
|
+
export { m as AstNode, X as BaseJoinNode, U as ComparisonNode, Z as CrossNaturalJoinNode, G as GroupNode, J as JoinNode, N as MultiValueComparisonNode, Y as NonCrossNaturalJoinNode, V as NotNode, O as NullValueComparisonNode, L as SingleValueComparisonNode } from '../index-CARBkj9h.js';
|
|
3
3
|
import './constants.js';
|
|
4
4
|
import '../table/constants.js';
|
|
5
5
|
import '../column/constants.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
1
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, i as QueryBuilder } from '../index-CARBkj9h.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
3
|
import 'bun';
|
|
4
4
|
import '../types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dialect } from '../table/constants.js';
|
|
2
|
-
import {
|
|
2
|
+
import { m as AstNode, J as JoinNode } from '../index-CARBkj9h.js';
|
|
3
3
|
import '../column/index.js';
|
|
4
4
|
import '../column/constants.js';
|
|
5
5
|
import '../column/types.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
1
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, W as WhereValue, i as QueryBuilder, k as QueryTransformerContract, l as QueryConditionContract, G as GroupNode } from '../../index-CARBkj9h.js';
|
|
2
2
|
import { Column } from '../../column/index.js';
|
|
3
3
|
import { AcceptedOperator } from '../constants.js';
|
|
4
4
|
import 'bun';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { having, or, orGroup, where, whereGroup } from './common.js';
|
|
2
|
-
export { a as addCondition, b as addGroupCondition } from '../../index-
|
|
2
|
+
export { a as addCondition, b as addGroupCondition } from '../../index-CARBkj9h.js';
|
|
3
3
|
export { havingNot, orNot, orNotGroup, whereNot, whereNotGroup } from './not.js';
|
|
4
4
|
import '../../column/index.js';
|
|
5
5
|
import '../../table/constants.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
1
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, W as WhereValue, i as QueryBuilder, k as QueryTransformerContract, l as QueryConditionContract, G as GroupNode } from '../../index-CARBkj9h.js';
|
|
2
2
|
import { Column } from '../../column/index.js';
|
|
3
3
|
import { AcceptedOperator } from '../constants.js';
|
|
4
4
|
import 'bun';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bun';
|
|
2
|
-
export {
|
|
2
|
+
export { l as QueryConditionContract, k as QueryTransformerContract } from '../index-CARBkj9h.js';
|
|
3
3
|
import '../column/index.js';
|
|
4
4
|
import '../table/constants.js';
|
|
5
5
|
import './constants.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
1
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, i as QueryBuilder, E as ExplainOptions } from '../index-CARBkj9h.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
3
|
import 'bun';
|
|
4
4
|
import '../types.js';
|
package/dist/esm/query/join.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
1
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, i as QueryBuilder, J as JoinNode, k as QueryTransformerContract, l as QueryConditionContract } from '../index-CARBkj9h.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
3
|
import { AcceptedJoin } from './constants.js';
|
|
4
4
|
import 'bun';
|
package/dist/esm/query/sql.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransactionSQL } from 'bun';
|
|
2
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
2
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, i as QueryBuilder, E as ExplainOptions } from '../index-CARBkj9h.js';
|
|
3
3
|
import { Column } from '../column/index.js';
|
|
4
4
|
import { Dialect } from '../table/constants.js';
|
|
5
5
|
import '../types.js';
|
package/dist/esm/query/sql.js
CHANGED
|
@@ -67,7 +67,7 @@ function toQuery(dialect = this.table.dialect) {
|
|
|
67
67
|
parts.push("OFFSET ?");
|
|
68
68
|
params.push(this.definition.offset);
|
|
69
69
|
}
|
|
70
|
-
if (this.definition.queryType === QueryType.UPDATE || this.definition.queryType === QueryType.DELETE) {
|
|
70
|
+
if (this.definition.queryType === QueryType.INSERT || this.definition.queryType === QueryType.UPDATE || this.definition.queryType === QueryType.DELETE) {
|
|
71
71
|
if (dialect !== Dialect.MYSQL) {
|
|
72
72
|
parts.push("RETURNING *");
|
|
73
73
|
}
|
|
@@ -108,9 +108,10 @@ async function exec(tx) {
|
|
|
108
108
|
const client = this.table.client;
|
|
109
109
|
const dialect = this.table.dialect;
|
|
110
110
|
const queryType = this.definition.queryType;
|
|
111
|
+
const isInsert = queryType === QueryType.INSERT;
|
|
111
112
|
const isUpdate = queryType === QueryType.UPDATE;
|
|
112
113
|
const isDelete = queryType === QueryType.DELETE;
|
|
113
|
-
const isReturning = isUpdate || isDelete;
|
|
114
|
+
const isReturning = isInsert || isUpdate || isDelete;
|
|
114
115
|
const isMySQL = dialect === Dialect.MYSQL;
|
|
115
116
|
if (!client) {
|
|
116
117
|
throw new Error("Database client not defined");
|
|
@@ -131,6 +132,9 @@ async function exec(tx) {
|
|
|
131
132
|
}
|
|
132
133
|
let result = [];
|
|
133
134
|
let mySqlResult = [];
|
|
135
|
+
const primaryKeyColumn = Object.entries(this.table.columns).find(
|
|
136
|
+
([, col]) => col.definition.primaryKey
|
|
137
|
+
)?.[0];
|
|
134
138
|
if (isMySQL && isDelete) {
|
|
135
139
|
const query2 = this.clone().select(`${this.table.name}.*`);
|
|
136
140
|
mySqlResult = await client.exec({
|
|
@@ -144,6 +148,22 @@ async function exec(tx) {
|
|
|
144
148
|
params,
|
|
145
149
|
tx
|
|
146
150
|
});
|
|
151
|
+
if (isMySQL && isInsert && primaryKeyColumn) {
|
|
152
|
+
const insertResult = result;
|
|
153
|
+
const lastId = insertResult.lastInsertRowid;
|
|
154
|
+
if (lastId != null) {
|
|
155
|
+
const selectQuery = this.table.query().where(
|
|
156
|
+
`${this.table.name}."${primaryKeyColumn}"`,
|
|
157
|
+
"eq",
|
|
158
|
+
lastId
|
|
159
|
+
);
|
|
160
|
+
mySqlResult = await client.exec({
|
|
161
|
+
sql: selectQuery.toQuery().query,
|
|
162
|
+
params: selectQuery.toQuery().params,
|
|
163
|
+
tx
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}
|
|
147
167
|
if (isMySQL && isUpdate) {
|
|
148
168
|
const query2 = this.clone().select(`${this.table.name}.*`);
|
|
149
169
|
mySqlResult = await client.exec({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'bun';
|
|
2
2
|
import '../column/index.js';
|
|
3
3
|
import '../column/constants.js';
|
|
4
|
-
export { r as AcceptedInsertValues, q as AcceptedOrderBy, s as AcceptedUpdateValues, t as AggregateColumn, A as AliasedColumn, C as ColumnSelector, E as ExplainOptions, Q as QueryDefinition, n as QueryHooks, v as QueryOutput, p as QueryRunHooks, w as QueryRunHooksOptions, R as RawColumn, u as SelectQueryOutput,
|
|
4
|
+
export { r as AcceptedInsertValues, q as AcceptedOrderBy, s as AcceptedUpdateValues, t as AggregateColumn, A as AliasedColumn, C as ColumnSelector, E as ExplainOptions, Q as QueryDefinition, n as QueryHooks, v as QueryOutput, p as QueryRunHooks, w as QueryRunHooksOptions, R as RawColumn, u as SelectQueryOutput, j as SelectableColumn, h as StrictColumnSelector, W as WhereValue } from '../index-CARBkj9h.js';
|
|
5
5
|
import '../types.js';
|
|
6
6
|
import './constants.js';
|
|
7
7
|
import '../table/constants.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, Q as QueryDefinition, C as ColumnSelector,
|
|
1
|
+
import { T as Table, Q as QueryDefinition, C as ColumnSelector, h as StrictColumnSelector, i as QueryBuilder, A as AliasedColumn, j as SelectableColumn } from '../index-CARBkj9h.js';
|
|
2
2
|
import { Column } from '../column/index.js';
|
|
3
3
|
import 'bun';
|
|
4
4
|
import '../types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bun';
|
|
2
|
-
export { K as ExecOptions, M as MergeTimestampParanoid, H as TableOptions, I as TableOutput,
|
|
2
|
+
export { K as ExecOptions, M as MergeTimestampParanoid, H as TableOptions, I as TableOutput, c as TimestampOptions } from '../index-CARBkj9h.js';
|
|
3
3
|
import '../column/index.js';
|
|
4
4
|
import './constants.js';
|
|
5
5
|
import '../types.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../column/constants.js';
|
|
2
2
|
import '../column/index.js';
|
|
3
3
|
import './constants.js';
|
|
4
|
-
export { y as createdAt, F as defineColumns, B as deletedAt, z as updatedAt } from '../index-
|
|
4
|
+
export { y as createdAt, F as defineColumns, B as deletedAt, z as updatedAt } from '../index-CARBkj9h.js';
|
|
5
5
|
import '../column/types.js';
|
|
6
6
|
import 'bun';
|
|
7
7
|
import '../types.js';
|