drizzle-kit 0.23.2-3d4e79a → 0.23.2-505c62f
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +79 -0
- package/api.js +413 -380
- package/api.mjs +413 -380
- package/bin.cjs +3942 -49629
- package/package.json +26 -3
- package/utils.js +5 -0
- package/utils.mjs +4 -0
package/api.mjs
CHANGED
@@ -8343,6 +8343,9 @@ var init_sqliteSchema = __esm({
|
|
8343
8343
|
});
|
8344
8344
|
|
8345
8345
|
// src/utils.ts
|
8346
|
+
function isPgArrayType(sqlType) {
|
8347
|
+
return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
|
8348
|
+
}
|
8346
8349
|
var copy, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
|
8347
8350
|
var init_utils = __esm({
|
8348
8351
|
"src/utils.ts"() {
|
@@ -17277,7 +17280,7 @@ var init_mjs = __esm({
|
|
17277
17280
|
}
|
17278
17281
|
});
|
17279
17282
|
|
17280
|
-
// ../
|
17283
|
+
// ../drizzle-orm/dist/entity.js
|
17281
17284
|
function is(value, type) {
|
17282
17285
|
if (!value || typeof value !== "object") {
|
17283
17286
|
return false;
|
@@ -17303,17 +17306,17 @@ function is(value, type) {
|
|
17303
17306
|
}
|
17304
17307
|
var entityKind, hasOwnEntityKind;
|
17305
17308
|
var init_entity = __esm({
|
17306
|
-
"../
|
17309
|
+
"../drizzle-orm/dist/entity.js"() {
|
17307
17310
|
"use strict";
|
17308
17311
|
entityKind = Symbol.for("drizzle:entityKind");
|
17309
17312
|
hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
17310
17313
|
}
|
17311
17314
|
});
|
17312
17315
|
|
17313
|
-
// ../
|
17316
|
+
// ../drizzle-orm/dist/column.js
|
17314
17317
|
var _a, Column2;
|
17315
17318
|
var init_column = __esm({
|
17316
|
-
"../
|
17319
|
+
"../drizzle-orm/dist/column.js"() {
|
17317
17320
|
"use strict";
|
17318
17321
|
init_entity();
|
17319
17322
|
_a = entityKind;
|
@@ -17367,10 +17370,10 @@ var init_column = __esm({
|
|
17367
17370
|
}
|
17368
17371
|
});
|
17369
17372
|
|
17370
|
-
// ../
|
17373
|
+
// ../drizzle-orm/dist/column-builder.js
|
17371
17374
|
var _a2, ColumnBuilder;
|
17372
17375
|
var init_column_builder = __esm({
|
17373
|
-
"../
|
17376
|
+
"../drizzle-orm/dist/column-builder.js"() {
|
17374
17377
|
"use strict";
|
17375
17378
|
init_entity();
|
17376
17379
|
_a2 = entityKind;
|
@@ -17472,7 +17475,7 @@ var init_column_builder = __esm({
|
|
17472
17475
|
}
|
17473
17476
|
});
|
17474
17477
|
|
17475
|
-
// ../
|
17478
|
+
// ../drizzle-orm/dist/table.js
|
17476
17479
|
function isTable(table4) {
|
17477
17480
|
return typeof table4 === "object" && table4 !== null && IsDrizzleTable in table4;
|
17478
17481
|
}
|
@@ -17484,7 +17487,7 @@ function getTableUniqueName(table4) {
|
|
17484
17487
|
}
|
17485
17488
|
var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, Table2;
|
17486
17489
|
var init_table = __esm({
|
17487
|
-
"../
|
17490
|
+
"../drizzle-orm/dist/table.js"() {
|
17488
17491
|
"use strict";
|
17489
17492
|
init_entity();
|
17490
17493
|
TableName = Symbol.for("drizzle:Name");
|
@@ -17544,7 +17547,7 @@ var init_table = __esm({
|
|
17544
17547
|
}
|
17545
17548
|
});
|
17546
17549
|
|
17547
|
-
// ../
|
17550
|
+
// ../drizzle-orm/dist/pg-core/table.js
|
17548
17551
|
function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
17549
17552
|
const rawTable = new PgTable(name2, schema4, baseName);
|
17550
17553
|
const builtColumns = Object.fromEntries(
|
@@ -17572,7 +17575,7 @@ function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name
|
|
17572
17575
|
}
|
17573
17576
|
var InlineForeignKeys, _a4, _b2, _c2, _d2, PgTable, pgTable;
|
17574
17577
|
var init_table2 = __esm({
|
17575
|
-
"../
|
17578
|
+
"../drizzle-orm/dist/pg-core/table.js"() {
|
17576
17579
|
"use strict";
|
17577
17580
|
init_entity();
|
17578
17581
|
init_table();
|
@@ -17597,10 +17600,10 @@ var init_table2 = __esm({
|
|
17597
17600
|
}
|
17598
17601
|
});
|
17599
17602
|
|
17600
|
-
// ../
|
17603
|
+
// ../drizzle-orm/dist/pg-core/foreign-keys.js
|
17601
17604
|
var _a5, ForeignKeyBuilder, _a6, ForeignKey;
|
17602
17605
|
var init_foreign_keys = __esm({
|
17603
|
-
"../
|
17606
|
+
"../drizzle-orm/dist/pg-core/foreign-keys.js"() {
|
17604
17607
|
"use strict";
|
17605
17608
|
init_entity();
|
17606
17609
|
init_table2();
|
@@ -17664,23 +17667,23 @@ var init_foreign_keys = __esm({
|
|
17664
17667
|
}
|
17665
17668
|
});
|
17666
17669
|
|
17667
|
-
// ../
|
17670
|
+
// ../drizzle-orm/dist/tracing-utils.js
|
17668
17671
|
function iife(fn, ...args) {
|
17669
17672
|
return fn(...args);
|
17670
17673
|
}
|
17671
17674
|
var init_tracing_utils = __esm({
|
17672
|
-
"../
|
17675
|
+
"../drizzle-orm/dist/tracing-utils.js"() {
|
17673
17676
|
"use strict";
|
17674
17677
|
}
|
17675
17678
|
});
|
17676
17679
|
|
17677
|
-
// ../
|
17680
|
+
// ../drizzle-orm/dist/pg-core/unique-constraint.js
|
17678
17681
|
function uniqueKeyName(table4, columns) {
|
17679
17682
|
return `${table4[PgTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
17680
17683
|
}
|
17681
17684
|
var _a7, UniqueConstraintBuilder, _a8, UniqueOnConstraintBuilder, _a9, UniqueConstraint;
|
17682
17685
|
var init_unique_constraint = __esm({
|
17683
|
-
"../
|
17686
|
+
"../drizzle-orm/dist/pg-core/unique-constraint.js"() {
|
17684
17687
|
"use strict";
|
17685
17688
|
init_entity();
|
17686
17689
|
init_table2();
|
@@ -17735,7 +17738,7 @@ var init_unique_constraint = __esm({
|
|
17735
17738
|
}
|
17736
17739
|
});
|
17737
17740
|
|
17738
|
-
// ../
|
17741
|
+
// ../drizzle-orm/dist/pg-core/utils/array.js
|
17739
17742
|
function parsePgArrayValue(arrayString, startFrom, inQuotes) {
|
17740
17743
|
for (let i = startFrom; i < arrayString.length; i++) {
|
17741
17744
|
const char = arrayString[i];
|
@@ -17811,15 +17814,15 @@ function makePgArray(array) {
|
|
17811
17814
|
}).join(",")}}`;
|
17812
17815
|
}
|
17813
17816
|
var init_array = __esm({
|
17814
|
-
"../
|
17817
|
+
"../drizzle-orm/dist/pg-core/utils/array.js"() {
|
17815
17818
|
"use strict";
|
17816
17819
|
}
|
17817
17820
|
});
|
17818
17821
|
|
17819
|
-
// ../
|
17822
|
+
// ../drizzle-orm/dist/pg-core/columns/common.js
|
17820
17823
|
var _a10, _b3, PgColumnBuilder, _a11, _b4, PgColumn, _a12, _b5, ExtraConfigColumn, _a13, IndexedColumn, _a14, _b6, PgArrayBuilder, _a15, _b7, _PgArray, PgArray;
|
17821
17824
|
var init_common2 = __esm({
|
17822
|
-
"../
|
17825
|
+
"../drizzle-orm/dist/pg-core/columns/common.js"() {
|
17823
17826
|
"use strict";
|
17824
17827
|
init_column_builder();
|
17825
17828
|
init_column();
|
@@ -18020,7 +18023,7 @@ var init_common2 = __esm({
|
|
18020
18023
|
}
|
18021
18024
|
});
|
18022
18025
|
|
18023
|
-
// ../
|
18026
|
+
// ../drizzle-orm/dist/pg-core/columns/enum.js
|
18024
18027
|
function isPgEnum(obj) {
|
18025
18028
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
18026
18029
|
}
|
@@ -18038,7 +18041,7 @@ function pgEnumWithSchema(enumName, values, schema4) {
|
|
18038
18041
|
}
|
18039
18042
|
var isPgEnumSym, _a16, _b8, PgEnumColumnBuilder, _a17, _b9, PgEnumColumn;
|
18040
18043
|
var init_enum = __esm({
|
18041
|
-
"../
|
18044
|
+
"../drizzle-orm/dist/pg-core/columns/enum.js"() {
|
18042
18045
|
"use strict";
|
18043
18046
|
init_entity();
|
18044
18047
|
init_common2();
|
@@ -18072,10 +18075,10 @@ var init_enum = __esm({
|
|
18072
18075
|
}
|
18073
18076
|
});
|
18074
18077
|
|
18075
|
-
// ../
|
18078
|
+
// ../drizzle-orm/dist/subquery.js
|
18076
18079
|
var _a18, Subquery, _a19, _b10, WithSubquery;
|
18077
18080
|
var init_subquery = __esm({
|
18078
|
-
"../
|
18081
|
+
"../drizzle-orm/dist/subquery.js"() {
|
18079
18082
|
"use strict";
|
18080
18083
|
init_entity();
|
18081
18084
|
_a18 = entityKind;
|
@@ -18100,19 +18103,19 @@ var init_subquery = __esm({
|
|
18100
18103
|
}
|
18101
18104
|
});
|
18102
18105
|
|
18103
|
-
// ../
|
18106
|
+
// ../drizzle-orm/dist/version.js
|
18104
18107
|
var version;
|
18105
18108
|
var init_version = __esm({
|
18106
|
-
"../
|
18109
|
+
"../drizzle-orm/dist/version.js"() {
|
18107
18110
|
"use strict";
|
18108
|
-
version = "0.32.
|
18111
|
+
version = "0.32.2";
|
18109
18112
|
}
|
18110
18113
|
});
|
18111
18114
|
|
18112
|
-
// ../
|
18115
|
+
// ../drizzle-orm/dist/tracing.js
|
18113
18116
|
var otel, rawTracer, tracer;
|
18114
18117
|
var init_tracing = __esm({
|
18115
|
-
"../
|
18118
|
+
"../drizzle-orm/dist/tracing.js"() {
|
18116
18119
|
"use strict";
|
18117
18120
|
init_tracing_utils();
|
18118
18121
|
init_version();
|
@@ -18150,16 +18153,16 @@ var init_tracing = __esm({
|
|
18150
18153
|
}
|
18151
18154
|
});
|
18152
18155
|
|
18153
|
-
// ../
|
18156
|
+
// ../drizzle-orm/dist/view-common.js
|
18154
18157
|
var ViewBaseConfig;
|
18155
18158
|
var init_view_common = __esm({
|
18156
|
-
"../
|
18159
|
+
"../drizzle-orm/dist/view-common.js"() {
|
18157
18160
|
"use strict";
|
18158
18161
|
ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
18159
18162
|
}
|
18160
18163
|
});
|
18161
18164
|
|
18162
|
-
// ../
|
18165
|
+
// ../drizzle-orm/dist/sql/sql.js
|
18163
18166
|
function isSQLWrapper(value) {
|
18164
18167
|
return value !== null && value !== void 0 && typeof value.getSQL === "function";
|
18165
18168
|
}
|
@@ -18212,7 +18215,7 @@ function fillPlaceholders(params, values) {
|
|
18212
18215
|
}
|
18213
18216
|
var _a20, FakePrimitiveParam, _a21, StringChunk, _a22, _SQL, SQL, _a23, Name, noopDecoder, noopEncoder, noopMapper, _a24, Param, _a25, Placeholder, _a26, _b11, View;
|
18214
18217
|
var init_sql = __esm({
|
18215
|
-
"../
|
18218
|
+
"../drizzle-orm/dist/sql/sql.js"() {
|
18216
18219
|
"use strict";
|
18217
18220
|
init_entity();
|
18218
18221
|
init_enum();
|
@@ -18327,7 +18330,7 @@ var init_sql = __esm({
|
|
18327
18330
|
if (inlineParams) {
|
18328
18331
|
return { sql: this.mapInlineParam(mappedValue, config), params: [] };
|
18329
18332
|
}
|
18330
|
-
let typings;
|
18333
|
+
let typings = ["none"];
|
18331
18334
|
if (prepareTyping) {
|
18332
18335
|
typings = [prepareTyping(chunk.encoder)];
|
18333
18336
|
}
|
@@ -18369,7 +18372,7 @@ var init_sql = __esm({
|
|
18369
18372
|
if (inlineParams) {
|
18370
18373
|
return { sql: this.mapInlineParam(chunk, config), params: [] };
|
18371
18374
|
}
|
18372
|
-
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
|
18375
|
+
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
|
18373
18376
|
}));
|
18374
18377
|
}
|
18375
18378
|
mapInlineParam(chunk, { escapeString }) {
|
@@ -18558,7 +18561,7 @@ var init_sql = __esm({
|
|
18558
18561
|
}
|
18559
18562
|
});
|
18560
18563
|
|
18561
|
-
// ../
|
18564
|
+
// ../drizzle-orm/dist/alias.js
|
18562
18565
|
function aliasedTable(table4, tableAlias) {
|
18563
18566
|
return new Proxy(table4, new TableAliasProxyHandler(tableAlias, false));
|
18564
18567
|
}
|
@@ -18590,7 +18593,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
18590
18593
|
}
|
18591
18594
|
var _a27, ColumnAliasProxyHandler, _a28, TableAliasProxyHandler, _a29, RelationTableAliasProxyHandler;
|
18592
18595
|
var init_alias = __esm({
|
18593
|
-
"../
|
18596
|
+
"../drizzle-orm/dist/alias.js"() {
|
18594
18597
|
"use strict";
|
18595
18598
|
init_column();
|
18596
18599
|
init_entity();
|
@@ -18671,10 +18674,10 @@ var init_alias = __esm({
|
|
18671
18674
|
}
|
18672
18675
|
});
|
18673
18676
|
|
18674
|
-
// ../
|
18677
|
+
// ../drizzle-orm/dist/errors.js
|
18675
18678
|
var _a30, _b12, DrizzleError, _a31, _b13, TransactionRollbackError;
|
18676
18679
|
var init_errors = __esm({
|
18677
|
-
"../
|
18680
|
+
"../drizzle-orm/dist/errors.js"() {
|
18678
18681
|
"use strict";
|
18679
18682
|
init_entity();
|
18680
18683
|
DrizzleError = class extends (_b12 = Error, _a30 = entityKind, _b12) {
|
@@ -18694,7 +18697,7 @@ var init_errors = __esm({
|
|
18694
18697
|
}
|
18695
18698
|
});
|
18696
18699
|
|
18697
|
-
// ../
|
18700
|
+
// ../drizzle-orm/dist/sql/expressions/conditions.js
|
18698
18701
|
function bindIfParam(value, column4) {
|
18699
18702
|
if (isDriverValueEncoder(column4) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column2) && !is(value, Table2) && !is(value, View)) {
|
18700
18703
|
return new Param(value, column4);
|
@@ -18822,7 +18825,7 @@ function arrayOverlaps(column4, values) {
|
|
18822
18825
|
}
|
18823
18826
|
var eq, ne, gt, gte, lt, lte;
|
18824
18827
|
var init_conditions = __esm({
|
18825
|
-
"../
|
18828
|
+
"../drizzle-orm/dist/sql/expressions/conditions.js"() {
|
18826
18829
|
"use strict";
|
18827
18830
|
init_column();
|
18828
18831
|
init_entity();
|
@@ -18849,7 +18852,7 @@ var init_conditions = __esm({
|
|
18849
18852
|
}
|
18850
18853
|
});
|
18851
18854
|
|
18852
|
-
// ../
|
18855
|
+
// ../drizzle-orm/dist/sql/expressions/select.js
|
18853
18856
|
function asc(column4) {
|
18854
18857
|
return sql`${column4} asc`;
|
18855
18858
|
}
|
@@ -18857,33 +18860,33 @@ function desc(column4) {
|
|
18857
18860
|
return sql`${column4} desc`;
|
18858
18861
|
}
|
18859
18862
|
var init_select = __esm({
|
18860
|
-
"../
|
18863
|
+
"../drizzle-orm/dist/sql/expressions/select.js"() {
|
18861
18864
|
"use strict";
|
18862
18865
|
init_sql();
|
18863
18866
|
}
|
18864
18867
|
});
|
18865
18868
|
|
18866
|
-
// ../
|
18869
|
+
// ../drizzle-orm/dist/sql/expressions/index.js
|
18867
18870
|
var init_expressions = __esm({
|
18868
|
-
"../
|
18871
|
+
"../drizzle-orm/dist/sql/expressions/index.js"() {
|
18869
18872
|
"use strict";
|
18870
18873
|
init_conditions();
|
18871
18874
|
init_select();
|
18872
18875
|
}
|
18873
18876
|
});
|
18874
18877
|
|
18875
|
-
// ../
|
18878
|
+
// ../drizzle-orm/dist/expressions.js
|
18876
18879
|
var init_expressions2 = __esm({
|
18877
|
-
"../
|
18880
|
+
"../drizzle-orm/dist/expressions.js"() {
|
18878
18881
|
"use strict";
|
18879
18882
|
init_expressions();
|
18880
18883
|
}
|
18881
18884
|
});
|
18882
18885
|
|
18883
|
-
// ../
|
18886
|
+
// ../drizzle-orm/dist/logger.js
|
18884
18887
|
var _a32, ConsoleLogWriter, _a33, DefaultLogger, _a34, NoopLogger;
|
18885
18888
|
var init_logger = __esm({
|
18886
|
-
"../
|
18889
|
+
"../drizzle-orm/dist/logger.js"() {
|
18887
18890
|
"use strict";
|
18888
18891
|
init_entity();
|
18889
18892
|
_a32 = entityKind;
|
@@ -18921,17 +18924,17 @@ var init_logger = __esm({
|
|
18921
18924
|
}
|
18922
18925
|
});
|
18923
18926
|
|
18924
|
-
// ../
|
18927
|
+
// ../drizzle-orm/dist/operations.js
|
18925
18928
|
var init_operations = __esm({
|
18926
|
-
"../
|
18929
|
+
"../drizzle-orm/dist/operations.js"() {
|
18927
18930
|
"use strict";
|
18928
18931
|
}
|
18929
18932
|
});
|
18930
18933
|
|
18931
|
-
// ../
|
18934
|
+
// ../drizzle-orm/dist/query-promise.js
|
18932
18935
|
var _a35, _b14, QueryPromise;
|
18933
18936
|
var init_query_promise = __esm({
|
18934
|
-
"../
|
18937
|
+
"../drizzle-orm/dist/query-promise.js"() {
|
18935
18938
|
"use strict";
|
18936
18939
|
init_entity();
|
18937
18940
|
_b14 = entityKind, _a35 = Symbol.toStringTag;
|
@@ -18962,10 +18965,10 @@ var init_query_promise = __esm({
|
|
18962
18965
|
}
|
18963
18966
|
});
|
18964
18967
|
|
18965
|
-
// ../
|
18968
|
+
// ../drizzle-orm/dist/pg-core/primary-keys.js
|
18966
18969
|
var _a36, PrimaryKeyBuilder, _a37, PrimaryKey;
|
18967
18970
|
var init_primary_keys = __esm({
|
18968
|
-
"../
|
18971
|
+
"../drizzle-orm/dist/pg-core/primary-keys.js"() {
|
18969
18972
|
"use strict";
|
18970
18973
|
init_entity();
|
18971
18974
|
init_table2();
|
@@ -19002,7 +19005,7 @@ var init_primary_keys = __esm({
|
|
19002
19005
|
}
|
19003
19006
|
});
|
19004
19007
|
|
19005
|
-
// ../
|
19008
|
+
// ../drizzle-orm/dist/relations.js
|
19006
19009
|
function getOperators() {
|
19007
19010
|
return {
|
19008
19011
|
and,
|
@@ -19223,7 +19226,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
19223
19226
|
}
|
19224
19227
|
var _a38, Relation, _a39, Relations, _a40, _b15, _One, One, _a41, _b16, _Many, Many;
|
19225
19228
|
var init_relations = __esm({
|
19226
|
-
"../
|
19229
|
+
"../drizzle-orm/dist/relations.js"() {
|
19227
19230
|
"use strict";
|
19228
19231
|
init_table();
|
19229
19232
|
init_column();
|
@@ -19290,7 +19293,7 @@ var init_relations = __esm({
|
|
19290
19293
|
}
|
19291
19294
|
});
|
19292
19295
|
|
19293
|
-
// ../
|
19296
|
+
// ../drizzle-orm/dist/sql/functions/aggregate.js
|
19294
19297
|
function count(expression) {
|
19295
19298
|
return sql`count(${expression || sql.raw("*")})`.mapWith(Number);
|
19296
19299
|
}
|
@@ -19316,7 +19319,7 @@ function min(expression) {
|
|
19316
19319
|
return sql`min(${expression})`.mapWith(is(expression, Column2) ? expression : String);
|
19317
19320
|
}
|
19318
19321
|
var init_aggregate = __esm({
|
19319
|
-
"../
|
19322
|
+
"../drizzle-orm/dist/sql/functions/aggregate.js"() {
|
19320
19323
|
"use strict";
|
19321
19324
|
init_column();
|
19322
19325
|
init_entity();
|
@@ -19324,7 +19327,7 @@ var init_aggregate = __esm({
|
|
19324
19327
|
}
|
19325
19328
|
});
|
19326
19329
|
|
19327
|
-
// ../
|
19330
|
+
// ../drizzle-orm/dist/sql/functions/vector.js
|
19328
19331
|
function toSql(value) {
|
19329
19332
|
return JSON.stringify(value);
|
19330
19333
|
}
|
@@ -19365,24 +19368,24 @@ function jaccardDistance(column4, value) {
|
|
19365
19368
|
return sql`${column4} <%> ${value}`;
|
19366
19369
|
}
|
19367
19370
|
var init_vector = __esm({
|
19368
|
-
"../
|
19371
|
+
"../drizzle-orm/dist/sql/functions/vector.js"() {
|
19369
19372
|
"use strict";
|
19370
19373
|
init_sql();
|
19371
19374
|
}
|
19372
19375
|
});
|
19373
19376
|
|
19374
|
-
// ../
|
19377
|
+
// ../drizzle-orm/dist/sql/functions/index.js
|
19375
19378
|
var init_functions = __esm({
|
19376
|
-
"../
|
19379
|
+
"../drizzle-orm/dist/sql/functions/index.js"() {
|
19377
19380
|
"use strict";
|
19378
19381
|
init_aggregate();
|
19379
19382
|
init_vector();
|
19380
19383
|
}
|
19381
19384
|
});
|
19382
19385
|
|
19383
|
-
// ../
|
19386
|
+
// ../drizzle-orm/dist/sql/index.js
|
19384
19387
|
var init_sql2 = __esm({
|
19385
|
-
"../
|
19388
|
+
"../drizzle-orm/dist/sql/index.js"() {
|
19386
19389
|
"use strict";
|
19387
19390
|
init_expressions();
|
19388
19391
|
init_functions();
|
@@ -19390,7 +19393,7 @@ var init_sql2 = __esm({
|
|
19390
19393
|
}
|
19391
19394
|
});
|
19392
19395
|
|
19393
|
-
// ../
|
19396
|
+
// ../drizzle-orm/dist/utils.js
|
19394
19397
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
19395
19398
|
const nullifyMap = {};
|
19396
19399
|
const result = columns.reduce(
|
@@ -19498,7 +19501,7 @@ function getTableLikeName(table4) {
|
|
19498
19501
|
return is(table4, Subquery) ? table4._.alias : is(table4, View) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : table4[Table2.Symbol.IsAlias] ? table4[Table2.Symbol.Name] : table4[Table2.Symbol.BaseName];
|
19499
19502
|
}
|
19500
19503
|
var init_utils2 = __esm({
|
19501
|
-
"../
|
19504
|
+
"../drizzle-orm/dist/utils.js"() {
|
19502
19505
|
"use strict";
|
19503
19506
|
init_column();
|
19504
19507
|
init_entity();
|
@@ -19509,9 +19512,9 @@ var init_utils2 = __esm({
|
|
19509
19512
|
}
|
19510
19513
|
});
|
19511
19514
|
|
19512
|
-
// ../
|
19513
|
-
var
|
19514
|
-
__export(
|
19515
|
+
// ../drizzle-orm/dist/index.js
|
19516
|
+
var dist_exports = {};
|
19517
|
+
__export(dist_exports, {
|
19515
19518
|
BaseName: () => BaseName,
|
19516
19519
|
Column: () => Column2,
|
19517
19520
|
ColumnAliasProxyHandler: () => ColumnAliasProxyHandler,
|
@@ -19625,8 +19628,8 @@ __export(drizzle_orm_exports, {
|
|
19625
19628
|
sum: () => sum,
|
19626
19629
|
sumDistinct: () => sumDistinct
|
19627
19630
|
});
|
19628
|
-
var
|
19629
|
-
"../
|
19631
|
+
var init_dist = __esm({
|
19632
|
+
"../drizzle-orm/dist/index.js"() {
|
19630
19633
|
"use strict";
|
19631
19634
|
init_alias();
|
19632
19635
|
init_column_builder();
|
@@ -19646,17 +19649,17 @@ var init_drizzle_orm = __esm({
|
|
19646
19649
|
}
|
19647
19650
|
});
|
19648
19651
|
|
19649
|
-
// ../
|
19652
|
+
// ../drizzle-orm/dist/pg-core/alias.js
|
19650
19653
|
var init_alias2 = __esm({
|
19651
|
-
"../
|
19654
|
+
"../drizzle-orm/dist/pg-core/alias.js"() {
|
19652
19655
|
"use strict";
|
19653
19656
|
}
|
19654
19657
|
});
|
19655
19658
|
|
19656
|
-
// ../
|
19659
|
+
// ../drizzle-orm/dist/pg-core/checks.js
|
19657
19660
|
var _a42, CheckBuilder, _a43, Check;
|
19658
19661
|
var init_checks = __esm({
|
19659
|
-
"../
|
19662
|
+
"../drizzle-orm/dist/pg-core/checks.js"() {
|
19660
19663
|
"use strict";
|
19661
19664
|
init_entity();
|
19662
19665
|
_a42 = entityKind;
|
@@ -19686,10 +19689,10 @@ var init_checks = __esm({
|
|
19686
19689
|
}
|
19687
19690
|
});
|
19688
19691
|
|
19689
|
-
// ../
|
19692
|
+
// ../drizzle-orm/dist/pg-core/columns/int.common.js
|
19690
19693
|
var _a44, _b17, PgIntColumnBaseBuilder;
|
19691
19694
|
var init_int_common = __esm({
|
19692
|
-
"../
|
19695
|
+
"../drizzle-orm/dist/pg-core/columns/int.common.js"() {
|
19693
19696
|
"use strict";
|
19694
19697
|
init_entity();
|
19695
19698
|
init_common2();
|
@@ -19733,10 +19736,10 @@ var init_int_common = __esm({
|
|
19733
19736
|
}
|
19734
19737
|
});
|
19735
19738
|
|
19736
|
-
// ../
|
19739
|
+
// ../drizzle-orm/dist/pg-core/columns/bigint.js
|
19737
19740
|
var _a45, _b18, PgBigInt53Builder, _a46, _b19, PgBigInt53, _a47, _b20, PgBigInt64Builder, _a48, _b21, PgBigInt64;
|
19738
19741
|
var init_bigint = __esm({
|
19739
|
-
"../
|
19742
|
+
"../drizzle-orm/dist/pg-core/columns/bigint.js"() {
|
19740
19743
|
"use strict";
|
19741
19744
|
init_entity();
|
19742
19745
|
init_common2();
|
@@ -19789,10 +19792,10 @@ var init_bigint = __esm({
|
|
19789
19792
|
}
|
19790
19793
|
});
|
19791
19794
|
|
19792
|
-
// ../
|
19795
|
+
// ../drizzle-orm/dist/pg-core/columns/bigserial.js
|
19793
19796
|
var _a49, _b22, PgBigSerial53Builder, _a50, _b23, PgBigSerial53, _a51, _b24, PgBigSerial64Builder, _a52, _b25, PgBigSerial64;
|
19794
19797
|
var init_bigserial = __esm({
|
19795
|
-
"../
|
19798
|
+
"../drizzle-orm/dist/pg-core/columns/bigserial.js"() {
|
19796
19799
|
"use strict";
|
19797
19800
|
init_entity();
|
19798
19801
|
init_common2();
|
@@ -19850,10 +19853,10 @@ var init_bigserial = __esm({
|
|
19850
19853
|
}
|
19851
19854
|
});
|
19852
19855
|
|
19853
|
-
// ../
|
19856
|
+
// ../drizzle-orm/dist/pg-core/columns/boolean.js
|
19854
19857
|
var _a53, _b26, PgBooleanBuilder, _a54, _b27, PgBoolean;
|
19855
19858
|
var init_boolean = __esm({
|
19856
|
-
"../
|
19859
|
+
"../drizzle-orm/dist/pg-core/columns/boolean.js"() {
|
19857
19860
|
"use strict";
|
19858
19861
|
init_entity();
|
19859
19862
|
init_common2();
|
@@ -19876,10 +19879,10 @@ var init_boolean = __esm({
|
|
19876
19879
|
}
|
19877
19880
|
});
|
19878
19881
|
|
19879
|
-
// ../
|
19882
|
+
// ../drizzle-orm/dist/pg-core/columns/char.js
|
19880
19883
|
var _a55, _b28, PgCharBuilder, _a56, _b29, PgChar;
|
19881
19884
|
var init_char = __esm({
|
19882
|
-
"../
|
19885
|
+
"../drizzle-orm/dist/pg-core/columns/char.js"() {
|
19883
19886
|
"use strict";
|
19884
19887
|
init_entity();
|
19885
19888
|
init_common2();
|
@@ -19909,10 +19912,10 @@ var init_char = __esm({
|
|
19909
19912
|
}
|
19910
19913
|
});
|
19911
19914
|
|
19912
|
-
// ../
|
19915
|
+
// ../drizzle-orm/dist/pg-core/columns/cidr.js
|
19913
19916
|
var _a57, _b30, PgCidrBuilder, _a58, _b31, PgCidr;
|
19914
19917
|
var init_cidr = __esm({
|
19915
|
-
"../
|
19918
|
+
"../drizzle-orm/dist/pg-core/columns/cidr.js"() {
|
19916
19919
|
"use strict";
|
19917
19920
|
init_entity();
|
19918
19921
|
init_common2();
|
@@ -19935,10 +19938,10 @@ var init_cidr = __esm({
|
|
19935
19938
|
}
|
19936
19939
|
});
|
19937
19940
|
|
19938
|
-
// ../
|
19941
|
+
// ../drizzle-orm/dist/pg-core/columns/custom.js
|
19939
19942
|
var _a59, _b32, PgCustomColumnBuilder, _a60, _b33, PgCustomColumn;
|
19940
19943
|
var init_custom = __esm({
|
19941
|
-
"../
|
19944
|
+
"../drizzle-orm/dist/pg-core/columns/custom.js"() {
|
19942
19945
|
"use strict";
|
19943
19946
|
init_entity();
|
19944
19947
|
init_common2();
|
@@ -19981,10 +19984,10 @@ var init_custom = __esm({
|
|
19981
19984
|
}
|
19982
19985
|
});
|
19983
19986
|
|
19984
|
-
// ../
|
19987
|
+
// ../drizzle-orm/dist/pg-core/columns/date.common.js
|
19985
19988
|
var _a61, _b34, PgDateColumnBaseBuilder;
|
19986
19989
|
var init_date_common = __esm({
|
19987
|
-
"../
|
19990
|
+
"../drizzle-orm/dist/pg-core/columns/date.common.js"() {
|
19988
19991
|
"use strict";
|
19989
19992
|
init_entity();
|
19990
19993
|
init_sql();
|
@@ -19998,10 +20001,10 @@ var init_date_common = __esm({
|
|
19998
20001
|
}
|
19999
20002
|
});
|
20000
20003
|
|
20001
|
-
// ../
|
20004
|
+
// ../drizzle-orm/dist/pg-core/columns/date.js
|
20002
20005
|
var _a62, _b35, PgDateBuilder, _a63, _b36, PgDate, _a64, _b37, PgDateStringBuilder, _a65, _b38, PgDateString;
|
20003
20006
|
var init_date = __esm({
|
20004
|
-
"../
|
20007
|
+
"../drizzle-orm/dist/pg-core/columns/date.js"() {
|
20005
20008
|
"use strict";
|
20006
20009
|
init_entity();
|
20007
20010
|
init_common2();
|
@@ -20050,10 +20053,10 @@ var init_date = __esm({
|
|
20050
20053
|
}
|
20051
20054
|
});
|
20052
20055
|
|
20053
|
-
// ../
|
20056
|
+
// ../drizzle-orm/dist/pg-core/columns/double-precision.js
|
20054
20057
|
var _a66, _b39, PgDoublePrecisionBuilder, _a67, _b40, PgDoublePrecision;
|
20055
20058
|
var init_double_precision = __esm({
|
20056
|
-
"../
|
20059
|
+
"../drizzle-orm/dist/pg-core/columns/double-precision.js"() {
|
20057
20060
|
"use strict";
|
20058
20061
|
init_entity();
|
20059
20062
|
init_common2();
|
@@ -20085,10 +20088,10 @@ var init_double_precision = __esm({
|
|
20085
20088
|
}
|
20086
20089
|
});
|
20087
20090
|
|
20088
|
-
// ../
|
20091
|
+
// ../drizzle-orm/dist/pg-core/columns/inet.js
|
20089
20092
|
var _a68, _b41, PgInetBuilder, _a69, _b42, PgInet;
|
20090
20093
|
var init_inet = __esm({
|
20091
|
-
"../
|
20094
|
+
"../drizzle-orm/dist/pg-core/columns/inet.js"() {
|
20092
20095
|
"use strict";
|
20093
20096
|
init_entity();
|
20094
20097
|
init_common2();
|
@@ -20111,10 +20114,10 @@ var init_inet = __esm({
|
|
20111
20114
|
}
|
20112
20115
|
});
|
20113
20116
|
|
20114
|
-
// ../
|
20117
|
+
// ../drizzle-orm/dist/pg-core/columns/integer.js
|
20115
20118
|
var _a70, _b43, PgIntegerBuilder, _a71, _b44, PgInteger;
|
20116
20119
|
var init_integer = __esm({
|
20117
|
-
"../
|
20120
|
+
"../drizzle-orm/dist/pg-core/columns/integer.js"() {
|
20118
20121
|
"use strict";
|
20119
20122
|
init_entity();
|
20120
20123
|
init_common2();
|
@@ -20144,10 +20147,10 @@ var init_integer = __esm({
|
|
20144
20147
|
}
|
20145
20148
|
});
|
20146
20149
|
|
20147
|
-
// ../
|
20150
|
+
// ../drizzle-orm/dist/pg-core/columns/interval.js
|
20148
20151
|
var _a72, _b45, PgIntervalBuilder, _a73, _b46, PgInterval;
|
20149
20152
|
var init_interval = __esm({
|
20150
|
-
"../
|
20153
|
+
"../drizzle-orm/dist/pg-core/columns/interval.js"() {
|
20151
20154
|
"use strict";
|
20152
20155
|
init_entity();
|
20153
20156
|
init_common2();
|
@@ -20178,10 +20181,10 @@ var init_interval = __esm({
|
|
20178
20181
|
}
|
20179
20182
|
});
|
20180
20183
|
|
20181
|
-
// ../
|
20184
|
+
// ../drizzle-orm/dist/pg-core/columns/json.js
|
20182
20185
|
var _a74, _b47, PgJsonBuilder, _a75, _b48, PgJson;
|
20183
20186
|
var init_json = __esm({
|
20184
|
-
"../
|
20187
|
+
"../drizzle-orm/dist/pg-core/columns/json.js"() {
|
20185
20188
|
"use strict";
|
20186
20189
|
init_entity();
|
20187
20190
|
init_common2();
|
@@ -20220,10 +20223,10 @@ var init_json = __esm({
|
|
20220
20223
|
}
|
20221
20224
|
});
|
20222
20225
|
|
20223
|
-
// ../
|
20226
|
+
// ../drizzle-orm/dist/pg-core/columns/jsonb.js
|
20224
20227
|
var _a76, _b49, PgJsonbBuilder, _a77, _b50, PgJsonb;
|
20225
20228
|
var init_jsonb = __esm({
|
20226
|
-
"../
|
20229
|
+
"../drizzle-orm/dist/pg-core/columns/jsonb.js"() {
|
20227
20230
|
"use strict";
|
20228
20231
|
init_entity();
|
20229
20232
|
init_common2();
|
@@ -20262,10 +20265,10 @@ var init_jsonb = __esm({
|
|
20262
20265
|
}
|
20263
20266
|
});
|
20264
20267
|
|
20265
|
-
// ../
|
20268
|
+
// ../drizzle-orm/dist/pg-core/columns/line.js
|
20266
20269
|
var _a78, _b51, PgLineBuilder, _a79, _b52, PgLineTuple, _a80, _b53, PgLineABCBuilder, _a81, _b54, PgLineABC;
|
20267
20270
|
var init_line = __esm({
|
20268
|
-
"../
|
20271
|
+
"../drizzle-orm/dist/pg-core/columns/line.js"() {
|
20269
20272
|
"use strict";
|
20270
20273
|
init_entity();
|
20271
20274
|
init_common2();
|
@@ -20324,10 +20327,10 @@ var init_line = __esm({
|
|
20324
20327
|
}
|
20325
20328
|
});
|
20326
20329
|
|
20327
|
-
// ../
|
20330
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr.js
|
20328
20331
|
var _a82, _b55, PgMacaddrBuilder, _a83, _b56, PgMacaddr;
|
20329
20332
|
var init_macaddr = __esm({
|
20330
|
-
"../
|
20333
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr.js"() {
|
20331
20334
|
"use strict";
|
20332
20335
|
init_entity();
|
20333
20336
|
init_common2();
|
@@ -20350,10 +20353,10 @@ var init_macaddr = __esm({
|
|
20350
20353
|
}
|
20351
20354
|
});
|
20352
20355
|
|
20353
|
-
// ../
|
20356
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr8.js
|
20354
20357
|
var _a84, _b57, PgMacaddr8Builder, _a85, _b58, PgMacaddr8;
|
20355
20358
|
var init_macaddr8 = __esm({
|
20356
|
-
"../
|
20359
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr8.js"() {
|
20357
20360
|
"use strict";
|
20358
20361
|
init_entity();
|
20359
20362
|
init_common2();
|
@@ -20376,10 +20379,10 @@ var init_macaddr8 = __esm({
|
|
20376
20379
|
}
|
20377
20380
|
});
|
20378
20381
|
|
20379
|
-
// ../
|
20382
|
+
// ../drizzle-orm/dist/pg-core/columns/numeric.js
|
20380
20383
|
var _a86, _b59, PgNumericBuilder, _a87, _b60, PgNumeric;
|
20381
20384
|
var init_numeric = __esm({
|
20382
|
-
"../
|
20385
|
+
"../drizzle-orm/dist/pg-core/columns/numeric.js"() {
|
20383
20386
|
"use strict";
|
20384
20387
|
init_entity();
|
20385
20388
|
init_common2();
|
@@ -20417,10 +20420,10 @@ var init_numeric = __esm({
|
|
20417
20420
|
}
|
20418
20421
|
});
|
20419
20422
|
|
20420
|
-
// ../
|
20423
|
+
// ../drizzle-orm/dist/pg-core/columns/point.js
|
20421
20424
|
var _a88, _b61, PgPointTupleBuilder, _a89, _b62, PgPointTuple, _a90, _b63, PgPointObjectBuilder, _a91, _b64, PgPointObject;
|
20422
20425
|
var init_point = __esm({
|
20423
|
-
"../
|
20426
|
+
"../drizzle-orm/dist/pg-core/columns/point.js"() {
|
20424
20427
|
"use strict";
|
20425
20428
|
init_entity();
|
20426
20429
|
init_common2();
|
@@ -20485,7 +20488,7 @@ var init_point = __esm({
|
|
20485
20488
|
}
|
20486
20489
|
});
|
20487
20490
|
|
20488
|
-
// ../
|
20491
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js
|
20489
20492
|
function hexToBytes(hex) {
|
20490
20493
|
const bytes = [];
|
20491
20494
|
for (let c = 0; c < hex.length; c += 2) {
|
@@ -20524,15 +20527,15 @@ function parseEWKB(hex) {
|
|
20524
20527
|
throw new Error("Unsupported geometry type");
|
20525
20528
|
}
|
20526
20529
|
var init_utils3 = __esm({
|
20527
|
-
"../
|
20530
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js"() {
|
20528
20531
|
"use strict";
|
20529
20532
|
}
|
20530
20533
|
});
|
20531
20534
|
|
20532
|
-
// ../
|
20535
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js
|
20533
20536
|
var _a92, _b65, PgGeometryBuilder, _a93, _b66, PgGeometry, _a94, _b67, PgGeometryObjectBuilder, _a95, _b68, PgGeometryObject;
|
20534
20537
|
var init_geometry = __esm({
|
20535
|
-
"../
|
20538
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js"() {
|
20536
20539
|
"use strict";
|
20537
20540
|
init_entity();
|
20538
20541
|
init_common2();
|
@@ -20591,10 +20594,10 @@ var init_geometry = __esm({
|
|
20591
20594
|
}
|
20592
20595
|
});
|
20593
20596
|
|
20594
|
-
// ../
|
20597
|
+
// ../drizzle-orm/dist/pg-core/columns/real.js
|
20595
20598
|
var _a96, _b69, PgRealBuilder, _a97, _b70, PgReal;
|
20596
20599
|
var init_real = __esm({
|
20597
|
-
"../
|
20600
|
+
"../drizzle-orm/dist/pg-core/columns/real.js"() {
|
20598
20601
|
"use strict";
|
20599
20602
|
init_entity();
|
20600
20603
|
init_common2();
|
@@ -20627,10 +20630,10 @@ var init_real = __esm({
|
|
20627
20630
|
}
|
20628
20631
|
});
|
20629
20632
|
|
20630
|
-
// ../
|
20633
|
+
// ../drizzle-orm/dist/pg-core/columns/serial.js
|
20631
20634
|
var _a98, _b71, PgSerialBuilder, _a99, _b72, PgSerial;
|
20632
20635
|
var init_serial = __esm({
|
20633
|
-
"../
|
20636
|
+
"../drizzle-orm/dist/pg-core/columns/serial.js"() {
|
20634
20637
|
"use strict";
|
20635
20638
|
init_entity();
|
20636
20639
|
init_common2();
|
@@ -20655,10 +20658,10 @@ var init_serial = __esm({
|
|
20655
20658
|
}
|
20656
20659
|
});
|
20657
20660
|
|
20658
|
-
// ../
|
20661
|
+
// ../drizzle-orm/dist/pg-core/columns/smallint.js
|
20659
20662
|
var _a100, _b73, PgSmallIntBuilder, _a101, _b74, PgSmallInt;
|
20660
20663
|
var init_smallint = __esm({
|
20661
|
-
"../
|
20664
|
+
"../drizzle-orm/dist/pg-core/columns/smallint.js"() {
|
20662
20665
|
"use strict";
|
20663
20666
|
init_entity();
|
20664
20667
|
init_common2();
|
@@ -20691,10 +20694,10 @@ var init_smallint = __esm({
|
|
20691
20694
|
}
|
20692
20695
|
});
|
20693
20696
|
|
20694
|
-
// ../
|
20697
|
+
// ../drizzle-orm/dist/pg-core/columns/smallserial.js
|
20695
20698
|
var _a102, _b75, PgSmallSerialBuilder, _a103, _b76, PgSmallSerial;
|
20696
20699
|
var init_smallserial = __esm({
|
20697
|
-
"../
|
20700
|
+
"../drizzle-orm/dist/pg-core/columns/smallserial.js"() {
|
20698
20701
|
"use strict";
|
20699
20702
|
init_entity();
|
20700
20703
|
init_common2();
|
@@ -20722,10 +20725,10 @@ var init_smallserial = __esm({
|
|
20722
20725
|
}
|
20723
20726
|
});
|
20724
20727
|
|
20725
|
-
// ../
|
20728
|
+
// ../drizzle-orm/dist/pg-core/columns/text.js
|
20726
20729
|
var _a104, _b77, PgTextBuilder, _a105, _b78, PgText;
|
20727
20730
|
var init_text = __esm({
|
20728
|
-
"../
|
20731
|
+
"../drizzle-orm/dist/pg-core/columns/text.js"() {
|
20729
20732
|
"use strict";
|
20730
20733
|
init_entity();
|
20731
20734
|
init_common2();
|
@@ -20753,10 +20756,10 @@ var init_text = __esm({
|
|
20753
20756
|
}
|
20754
20757
|
});
|
20755
20758
|
|
20756
|
-
// ../
|
20759
|
+
// ../drizzle-orm/dist/pg-core/columns/time.js
|
20757
20760
|
var _a106, _b79, PgTimeBuilder, _a107, _b80, PgTime;
|
20758
20761
|
var init_time = __esm({
|
20759
|
-
"../
|
20762
|
+
"../drizzle-orm/dist/pg-core/columns/time.js"() {
|
20760
20763
|
"use strict";
|
20761
20764
|
init_entity();
|
20762
20765
|
init_common2();
|
@@ -20792,10 +20795,10 @@ var init_time = __esm({
|
|
20792
20795
|
}
|
20793
20796
|
});
|
20794
20797
|
|
20795
|
-
// ../
|
20798
|
+
// ../drizzle-orm/dist/pg-core/columns/timestamp.js
|
20796
20799
|
var _a108, _b81, PgTimestampBuilder, _a109, _b82, PgTimestamp, _a110, _b83, PgTimestampStringBuilder, _a111, _b84, PgTimestampString;
|
20797
20800
|
var init_timestamp = __esm({
|
20798
|
-
"../
|
20801
|
+
"../drizzle-orm/dist/pg-core/columns/timestamp.js"() {
|
20799
20802
|
"use strict";
|
20800
20803
|
init_entity();
|
20801
20804
|
init_common2();
|
@@ -20864,10 +20867,10 @@ var init_timestamp = __esm({
|
|
20864
20867
|
}
|
20865
20868
|
});
|
20866
20869
|
|
20867
|
-
// ../
|
20870
|
+
// ../drizzle-orm/dist/pg-core/columns/uuid.js
|
20868
20871
|
var _a112, _b85, PgUUIDBuilder, _a113, _b86, PgUUID;
|
20869
20872
|
var init_uuid = __esm({
|
20870
|
-
"../
|
20873
|
+
"../drizzle-orm/dist/pg-core/columns/uuid.js"() {
|
20871
20874
|
"use strict";
|
20872
20875
|
init_entity();
|
20873
20876
|
init_sql();
|
@@ -20897,10 +20900,10 @@ var init_uuid = __esm({
|
|
20897
20900
|
}
|
20898
20901
|
});
|
20899
20902
|
|
20900
|
-
// ../
|
20903
|
+
// ../drizzle-orm/dist/pg-core/columns/varchar.js
|
20901
20904
|
var _a114, _b87, PgVarcharBuilder, _a115, _b88, PgVarchar;
|
20902
20905
|
var init_varchar = __esm({
|
20903
|
-
"../
|
20906
|
+
"../drizzle-orm/dist/pg-core/columns/varchar.js"() {
|
20904
20907
|
"use strict";
|
20905
20908
|
init_entity();
|
20906
20909
|
init_common2();
|
@@ -20930,10 +20933,10 @@ var init_varchar = __esm({
|
|
20930
20933
|
}
|
20931
20934
|
});
|
20932
20935
|
|
20933
|
-
// ../
|
20936
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js
|
20934
20937
|
var _a116, _b89, PgBinaryVectorBuilder, _a117, _b90, PgBinaryVector;
|
20935
20938
|
var init_bit = __esm({
|
20936
|
-
"../
|
20939
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js"() {
|
20937
20940
|
"use strict";
|
20938
20941
|
init_entity();
|
20939
20942
|
init_common2();
|
@@ -20964,10 +20967,10 @@ var init_bit = __esm({
|
|
20964
20967
|
}
|
20965
20968
|
});
|
20966
20969
|
|
20967
|
-
// ../
|
20970
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js
|
20968
20971
|
var _a118, _b91, PgHalfVectorBuilder, _a119, _b92, PgHalfVector;
|
20969
20972
|
var init_halfvec = __esm({
|
20970
|
-
"../
|
20973
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js"() {
|
20971
20974
|
"use strict";
|
20972
20975
|
init_entity();
|
20973
20976
|
init_common2();
|
@@ -21004,10 +21007,10 @@ var init_halfvec = __esm({
|
|
21004
21007
|
}
|
21005
21008
|
});
|
21006
21009
|
|
21007
|
-
// ../
|
21010
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js
|
21008
21011
|
var _a120, _b93, PgSparseVectorBuilder, _a121, _b94, PgSparseVector;
|
21009
21012
|
var init_sparsevec = __esm({
|
21010
|
-
"../
|
21013
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js"() {
|
21011
21014
|
"use strict";
|
21012
21015
|
init_entity();
|
21013
21016
|
init_common2();
|
@@ -21038,10 +21041,10 @@ var init_sparsevec = __esm({
|
|
21038
21041
|
}
|
21039
21042
|
});
|
21040
21043
|
|
21041
|
-
// ../
|
21044
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js
|
21042
21045
|
var _a122, _b95, PgVectorBuilder, _a123, _b96, PgVector;
|
21043
21046
|
var init_vector2 = __esm({
|
21044
|
-
"../
|
21047
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js"() {
|
21045
21048
|
"use strict";
|
21046
21049
|
init_entity();
|
21047
21050
|
init_common2();
|
@@ -21075,9 +21078,9 @@ var init_vector2 = __esm({
|
|
21075
21078
|
}
|
21076
21079
|
});
|
21077
21080
|
|
21078
|
-
// ../
|
21081
|
+
// ../drizzle-orm/dist/pg-core/columns/index.js
|
21079
21082
|
var init_columns = __esm({
|
21080
|
-
"../
|
21083
|
+
"../drizzle-orm/dist/pg-core/columns/index.js"() {
|
21081
21084
|
"use strict";
|
21082
21085
|
init_bigint();
|
21083
21086
|
init_bigserial();
|
@@ -21116,10 +21119,10 @@ var init_columns = __esm({
|
|
21116
21119
|
}
|
21117
21120
|
});
|
21118
21121
|
|
21119
|
-
// ../
|
21122
|
+
// ../drizzle-orm/dist/pg-core/query-builders/delete.js
|
21120
21123
|
var _a124, _b97, PgDeleteBase;
|
21121
21124
|
var init_delete = __esm({
|
21122
|
-
"../
|
21125
|
+
"../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
|
21123
21126
|
"use strict";
|
21124
21127
|
init_entity();
|
21125
21128
|
init_query_promise();
|
@@ -21201,10 +21204,10 @@ var init_delete = __esm({
|
|
21201
21204
|
}
|
21202
21205
|
});
|
21203
21206
|
|
21204
|
-
// ../
|
21207
|
+
// ../drizzle-orm/dist/pg-core/query-builders/insert.js
|
21205
21208
|
var _a125, PgInsertBuilder, _a126, _b98, PgInsertBase;
|
21206
21209
|
var init_insert = __esm({
|
21207
|
-
"../
|
21210
|
+
"../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
|
21208
21211
|
"use strict";
|
21209
21212
|
init_entity();
|
21210
21213
|
init_query_promise();
|
@@ -21357,10 +21360,10 @@ var init_insert = __esm({
|
|
21357
21360
|
}
|
21358
21361
|
});
|
21359
21362
|
|
21360
|
-
// ../
|
21363
|
+
// ../drizzle-orm/dist/pg-core/view-base.js
|
21361
21364
|
var _a127, _b99, PgViewBase;
|
21362
21365
|
var init_view_base = __esm({
|
21363
|
-
"../
|
21366
|
+
"../drizzle-orm/dist/pg-core/view-base.js"() {
|
21364
21367
|
"use strict";
|
21365
21368
|
init_entity();
|
21366
21369
|
init_sql();
|
@@ -21370,10 +21373,10 @@ var init_view_base = __esm({
|
|
21370
21373
|
}
|
21371
21374
|
});
|
21372
21375
|
|
21373
|
-
// ../
|
21376
|
+
// ../drizzle-orm/dist/pg-core/dialect.js
|
21374
21377
|
var _a128, PgDialect;
|
21375
21378
|
var init_dialect = __esm({
|
21376
|
-
"../
|
21379
|
+
"../drizzle-orm/dist/pg-core/dialect.js"() {
|
21377
21380
|
"use strict";
|
21378
21381
|
init_alias();
|
21379
21382
|
init_column();
|
@@ -22453,10 +22456,10 @@ var init_dialect = __esm({
|
|
22453
22456
|
}
|
22454
22457
|
});
|
22455
22458
|
|
22456
|
-
// ../
|
22459
|
+
// ../drizzle-orm/dist/selection-proxy.js
|
22457
22460
|
var _a129, _SelectionProxyHandler, SelectionProxyHandler;
|
22458
22461
|
var init_selection_proxy = __esm({
|
22459
|
-
"../
|
22462
|
+
"../drizzle-orm/dist/selection-proxy.js"() {
|
22460
22463
|
"use strict";
|
22461
22464
|
init_alias();
|
22462
22465
|
init_column();
|
@@ -22535,10 +22538,10 @@ var init_selection_proxy = __esm({
|
|
22535
22538
|
}
|
22536
22539
|
});
|
22537
22540
|
|
22538
|
-
// ../
|
22541
|
+
// ../drizzle-orm/dist/query-builders/query-builder.js
|
22539
22542
|
var _a130, TypedQueryBuilder;
|
22540
22543
|
var init_query_builder = __esm({
|
22541
|
-
"../
|
22544
|
+
"../drizzle-orm/dist/query-builders/query-builder.js"() {
|
22542
22545
|
"use strict";
|
22543
22546
|
init_entity();
|
22544
22547
|
_a130 = entityKind;
|
@@ -22552,7 +22555,7 @@ var init_query_builder = __esm({
|
|
22552
22555
|
}
|
22553
22556
|
});
|
22554
22557
|
|
22555
|
-
// ../
|
22558
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.js
|
22556
22559
|
function createSetOperator(type, isAll) {
|
22557
22560
|
return (leftSelect, rightSelect, ...restSelects) => {
|
22558
22561
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -22572,7 +22575,7 @@ function createSetOperator(type, isAll) {
|
|
22572
22575
|
}
|
22573
22576
|
var _a131, PgSelectBuilder, _a132, _b100, PgSelectQueryBuilderBase, _a133, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
|
22574
22577
|
var init_select2 = __esm({
|
22575
|
-
"../
|
22578
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.js"() {
|
22576
22579
|
"use strict";
|
22577
22580
|
init_entity();
|
22578
22581
|
init_view_base();
|
@@ -23289,10 +23292,10 @@ var init_select2 = __esm({
|
|
23289
23292
|
}
|
23290
23293
|
});
|
23291
23294
|
|
23292
|
-
// ../
|
23295
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
|
23293
23296
|
var _a134, QueryBuilder;
|
23294
23297
|
var init_query_builder2 = __esm({
|
23295
|
-
"../
|
23298
|
+
"../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
|
23296
23299
|
"use strict";
|
23297
23300
|
init_entity();
|
23298
23301
|
init_dialect();
|
@@ -23381,10 +23384,10 @@ var init_query_builder2 = __esm({
|
|
23381
23384
|
}
|
23382
23385
|
});
|
23383
23386
|
|
23384
|
-
// ../
|
23387
|
+
// ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
|
23385
23388
|
var _a135, _b102, PgRefreshMaterializedView;
|
23386
23389
|
var init_refresh_materialized_view = __esm({
|
23387
|
-
"../
|
23390
|
+
"../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
|
23388
23391
|
"use strict";
|
23389
23392
|
init_entity();
|
23390
23393
|
init_query_promise();
|
@@ -23438,17 +23441,17 @@ var init_refresh_materialized_view = __esm({
|
|
23438
23441
|
}
|
23439
23442
|
});
|
23440
23443
|
|
23441
|
-
// ../
|
23444
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.types.js
|
23442
23445
|
var init_select_types = __esm({
|
23443
|
-
"../
|
23446
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.types.js"() {
|
23444
23447
|
"use strict";
|
23445
23448
|
}
|
23446
23449
|
});
|
23447
23450
|
|
23448
|
-
// ../
|
23451
|
+
// ../drizzle-orm/dist/pg-core/query-builders/update.js
|
23449
23452
|
var _a136, PgUpdateBuilder, _a137, _b103, PgUpdateBase;
|
23450
23453
|
var init_update = __esm({
|
23451
|
-
"../
|
23454
|
+
"../drizzle-orm/dist/pg-core/query-builders/update.js"() {
|
23452
23455
|
"use strict";
|
23453
23456
|
init_entity();
|
23454
23457
|
init_query_promise();
|
@@ -23548,9 +23551,9 @@ var init_update = __esm({
|
|
23548
23551
|
}
|
23549
23552
|
});
|
23550
23553
|
|
23551
|
-
// ../
|
23554
|
+
// ../drizzle-orm/dist/pg-core/query-builders/index.js
|
23552
23555
|
var init_query_builders = __esm({
|
23553
|
-
"../
|
23556
|
+
"../drizzle-orm/dist/pg-core/query-builders/index.js"() {
|
23554
23557
|
"use strict";
|
23555
23558
|
init_delete();
|
23556
23559
|
init_insert();
|
@@ -23562,10 +23565,10 @@ var init_query_builders = __esm({
|
|
23562
23565
|
}
|
23563
23566
|
});
|
23564
23567
|
|
23565
|
-
// ../
|
23568
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query.js
|
23566
23569
|
var _a138, RelationalQueryBuilder, _a139, _b104, PgRelationalQuery;
|
23567
23570
|
var init_query = __esm({
|
23568
|
-
"../
|
23571
|
+
"../drizzle-orm/dist/pg-core/query-builders/query.js"() {
|
23569
23572
|
"use strict";
|
23570
23573
|
init_entity();
|
23571
23574
|
init_query_promise();
|
@@ -23680,10 +23683,10 @@ var init_query = __esm({
|
|
23680
23683
|
}
|
23681
23684
|
});
|
23682
23685
|
|
23683
|
-
// ../
|
23686
|
+
// ../drizzle-orm/dist/pg-core/query-builders/raw.js
|
23684
23687
|
var _a140, _b105, PgRaw;
|
23685
23688
|
var init_raw = __esm({
|
23686
|
-
"../
|
23689
|
+
"../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
|
23687
23690
|
"use strict";
|
23688
23691
|
init_entity();
|
23689
23692
|
init_query_promise();
|
@@ -23717,10 +23720,10 @@ var init_raw = __esm({
|
|
23717
23720
|
}
|
23718
23721
|
});
|
23719
23722
|
|
23720
|
-
// ../
|
23723
|
+
// ../drizzle-orm/dist/pg-core/db.js
|
23721
23724
|
var _a141, PgDatabase;
|
23722
23725
|
var init_db = __esm({
|
23723
|
-
"../
|
23726
|
+
"../drizzle-orm/dist/pg-core/db.js"() {
|
23724
23727
|
"use strict";
|
23725
23728
|
init_entity();
|
23726
23729
|
init_query_builders();
|
@@ -23998,10 +24001,10 @@ var init_db = __esm({
|
|
23998
24001
|
}
|
23999
24002
|
});
|
24000
24003
|
|
24001
|
-
// ../
|
24004
|
+
// ../drizzle-orm/dist/pg-core/indexes.js
|
24002
24005
|
var _a142, IndexBuilderOn, _a143, IndexBuilder, _a144, Index2;
|
24003
24006
|
var init_indexes = __esm({
|
24004
|
-
"../
|
24007
|
+
"../drizzle-orm/dist/pg-core/indexes.js"() {
|
24005
24008
|
"use strict";
|
24006
24009
|
init_sql();
|
24007
24010
|
init_entity();
|
@@ -24116,7 +24119,7 @@ var init_indexes = __esm({
|
|
24116
24119
|
}
|
24117
24120
|
});
|
24118
24121
|
|
24119
|
-
// ../
|
24122
|
+
// ../drizzle-orm/dist/pg-core/sequence.js
|
24120
24123
|
function pgSequenceWithSchema(name2, options, schema4) {
|
24121
24124
|
return new PgSequence(name2, options, schema4);
|
24122
24125
|
}
|
@@ -24125,7 +24128,7 @@ function isPgSequence(obj) {
|
|
24125
24128
|
}
|
24126
24129
|
var _a145, PgSequence;
|
24127
24130
|
var init_sequence = __esm({
|
24128
|
-
"../
|
24131
|
+
"../drizzle-orm/dist/pg-core/sequence.js"() {
|
24129
24132
|
"use strict";
|
24130
24133
|
init_entity();
|
24131
24134
|
_a145 = entityKind;
|
@@ -24140,16 +24143,16 @@ var init_sequence = __esm({
|
|
24140
24143
|
}
|
24141
24144
|
});
|
24142
24145
|
|
24143
|
-
// ../
|
24146
|
+
// ../drizzle-orm/dist/pg-core/view-common.js
|
24144
24147
|
var PgViewConfig;
|
24145
24148
|
var init_view_common2 = __esm({
|
24146
|
-
"../
|
24149
|
+
"../drizzle-orm/dist/pg-core/view-common.js"() {
|
24147
24150
|
"use strict";
|
24148
24151
|
PgViewConfig = Symbol.for("drizzle:PgViewConfig");
|
24149
24152
|
}
|
24150
24153
|
});
|
24151
24154
|
|
24152
|
-
// ../
|
24155
|
+
// ../drizzle-orm/dist/pg-core/view.js
|
24153
24156
|
function pgViewWithSchema(name2, selection, schema4) {
|
24154
24157
|
if (selection) {
|
24155
24158
|
return new ManualViewBuilder(name2, selection, schema4);
|
@@ -24164,7 +24167,7 @@ function pgMaterializedViewWithSchema(name2, selection, schema4) {
|
|
24164
24167
|
}
|
24165
24168
|
var _a146, DefaultViewBuilderCore, _a147, _b106, ViewBuilder, _a148, _b107, ManualViewBuilder, _a149, MaterializedViewBuilderCore, _a150, _b108, MaterializedViewBuilder, _a151, _b109, ManualMaterializedViewBuilder, _a152, _b110, _c3, PgView, PgMaterializedViewConfig, _a153, _b111, _c4, PgMaterializedView;
|
24166
24169
|
var init_view = __esm({
|
24167
|
-
"../
|
24170
|
+
"../drizzle-orm/dist/pg-core/view.js"() {
|
24168
24171
|
"use strict";
|
24169
24172
|
init_entity();
|
24170
24173
|
init_selection_proxy();
|
@@ -24391,10 +24394,10 @@ var init_view = __esm({
|
|
24391
24394
|
}
|
24392
24395
|
});
|
24393
24396
|
|
24394
|
-
// ../
|
24397
|
+
// ../drizzle-orm/dist/pg-core/schema.js
|
24395
24398
|
var _a154, PgSchema5;
|
24396
24399
|
var init_schema = __esm({
|
24397
|
-
"../
|
24400
|
+
"../drizzle-orm/dist/pg-core/schema.js"() {
|
24398
24401
|
"use strict";
|
24399
24402
|
init_entity();
|
24400
24403
|
init_sql();
|
@@ -24433,10 +24436,10 @@ var init_schema = __esm({
|
|
24433
24436
|
}
|
24434
24437
|
});
|
24435
24438
|
|
24436
|
-
// ../
|
24439
|
+
// ../drizzle-orm/dist/pg-core/session.js
|
24437
24440
|
var _a155, PgPreparedQuery, _a156, PgSession, _a157, _b112, PgTransaction;
|
24438
24441
|
var init_session = __esm({
|
24439
|
-
"../
|
24442
|
+
"../drizzle-orm/dist/pg-core/session.js"() {
|
24440
24443
|
"use strict";
|
24441
24444
|
init_entity();
|
24442
24445
|
init_errors();
|
@@ -24517,14 +24520,14 @@ var init_session = __esm({
|
|
24517
24520
|
}
|
24518
24521
|
});
|
24519
24522
|
|
24520
|
-
// ../
|
24523
|
+
// ../drizzle-orm/dist/pg-core/subquery.js
|
24521
24524
|
var init_subquery2 = __esm({
|
24522
|
-
"../
|
24525
|
+
"../drizzle-orm/dist/pg-core/subquery.js"() {
|
24523
24526
|
"use strict";
|
24524
24527
|
}
|
24525
24528
|
});
|
24526
24529
|
|
24527
|
-
// ../
|
24530
|
+
// ../drizzle-orm/dist/pg-core/utils.js
|
24528
24531
|
function getTableConfig(table4) {
|
24529
24532
|
const columns = Object.values(table4[Table2.Symbol.Columns]);
|
24530
24533
|
const indexes = [];
|
@@ -24563,7 +24566,7 @@ function getTableConfig(table4) {
|
|
24563
24566
|
};
|
24564
24567
|
}
|
24565
24568
|
var init_utils4 = __esm({
|
24566
|
-
"../
|
24569
|
+
"../drizzle-orm/dist/pg-core/utils.js"() {
|
24567
24570
|
"use strict";
|
24568
24571
|
init_entity();
|
24569
24572
|
init_table2();
|
@@ -24576,17 +24579,17 @@ var init_utils4 = __esm({
|
|
24576
24579
|
}
|
24577
24580
|
});
|
24578
24581
|
|
24579
|
-
// ../
|
24582
|
+
// ../drizzle-orm/dist/pg-core/utils/index.js
|
24580
24583
|
var init_utils5 = __esm({
|
24581
|
-
"../
|
24584
|
+
"../drizzle-orm/dist/pg-core/utils/index.js"() {
|
24582
24585
|
"use strict";
|
24583
24586
|
init_array();
|
24584
24587
|
}
|
24585
24588
|
});
|
24586
24589
|
|
24587
|
-
// ../
|
24590
|
+
// ../drizzle-orm/dist/pg-core/index.js
|
24588
24591
|
var init_pg_core = __esm({
|
24589
|
-
"../
|
24592
|
+
"../drizzle-orm/dist/pg-core/index.js"() {
|
24590
24593
|
"use strict";
|
24591
24594
|
init_alias2();
|
24592
24595
|
init_checks();
|
@@ -24641,16 +24644,41 @@ function minRangeForIdentityBasedOn(columnType) {
|
|
24641
24644
|
function stringFromDatabaseIdentityProperty(field) {
|
24642
24645
|
return typeof field === "string" ? field : typeof field === "undefined" ? void 0 : typeof field === "bigint" ? field.toString() : String(field);
|
24643
24646
|
}
|
24647
|
+
function buildArrayString(array, sqlType) {
|
24648
|
+
sqlType = sqlType.split("[")[0];
|
24649
|
+
const values = array.map((value) => {
|
24650
|
+
if (typeof value === "number" || typeof value === "bigint") {
|
24651
|
+
return value.toString();
|
24652
|
+
} else if (typeof value === "boolean") {
|
24653
|
+
return value ? "true" : "false";
|
24654
|
+
} else if (Array.isArray(value)) {
|
24655
|
+
return buildArrayString(value, sqlType);
|
24656
|
+
} else if (value instanceof Date) {
|
24657
|
+
if (sqlType === "date") {
|
24658
|
+
return `"${value.toISOString().split("T")[0]}"`;
|
24659
|
+
} else if (sqlType === "timestamp") {
|
24660
|
+
return `"${value.toISOString().replace("T", " ").slice(0, 23)}"`;
|
24661
|
+
} else {
|
24662
|
+
return `"${value.toISOString()}"`;
|
24663
|
+
}
|
24664
|
+
} else if (typeof value === "object") {
|
24665
|
+
return `"${JSON.stringify(value).replaceAll('"', '\\"')}"`;
|
24666
|
+
}
|
24667
|
+
return `"${value}"`;
|
24668
|
+
}).join(",");
|
24669
|
+
return `{${values}}`;
|
24670
|
+
}
|
24644
24671
|
var dialect4, indexName, generatePgSnapshot, trimChar, fromDatabase, columnToDefault, defaultForColumn;
|
24645
24672
|
var init_pgSerializer = __esm({
|
24646
24673
|
"src/serializer/pgSerializer.ts"() {
|
24647
24674
|
"use strict";
|
24648
24675
|
init_source();
|
24649
|
-
|
24676
|
+
init_dist();
|
24650
24677
|
init_pg_core();
|
24651
24678
|
init_pg_core();
|
24652
24679
|
init_vector3();
|
24653
24680
|
init_outputs();
|
24681
|
+
init_utils();
|
24654
24682
|
init_serializer();
|
24655
24683
|
dialect4 = new PgDialect();
|
24656
24684
|
indexName = (tableName, columns) => {
|
@@ -24757,6 +24785,11 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
|
|
24757
24785
|
} else {
|
24758
24786
|
columnToSet.default = `'${column4.default.toISOString()}'`;
|
24759
24787
|
}
|
24788
|
+
} else if (isPgArrayType(sqlTypeLowered) && Array.isArray(column4.default)) {
|
24789
|
+
columnToSet.default = `'${buildArrayString(
|
24790
|
+
column4.default,
|
24791
|
+
sqlTypeLowered
|
24792
|
+
)}'::${sqlTypeLowered}`;
|
24760
24793
|
} else {
|
24761
24794
|
columnToSet.default = column4.default;
|
24762
24795
|
}
|
@@ -25555,17 +25588,17 @@ var init_selector_ui = __esm({
|
|
25555
25588
|
}
|
25556
25589
|
});
|
25557
25590
|
|
25558
|
-
// ../
|
25591
|
+
// ../drizzle-orm/dist/sqlite-core/alias.js
|
25559
25592
|
var init_alias3 = __esm({
|
25560
|
-
"../
|
25593
|
+
"../drizzle-orm/dist/sqlite-core/alias.js"() {
|
25561
25594
|
"use strict";
|
25562
25595
|
}
|
25563
25596
|
});
|
25564
25597
|
|
25565
|
-
// ../
|
25598
|
+
// ../drizzle-orm/dist/sqlite-core/checks.js
|
25566
25599
|
var _a158, CheckBuilder2, _a159, Check2;
|
25567
25600
|
var init_checks2 = __esm({
|
25568
|
-
"../
|
25601
|
+
"../drizzle-orm/dist/sqlite-core/checks.js"() {
|
25569
25602
|
"use strict";
|
25570
25603
|
init_entity();
|
25571
25604
|
_a158 = entityKind;
|
@@ -25594,7 +25627,7 @@ var init_checks2 = __esm({
|
|
25594
25627
|
}
|
25595
25628
|
});
|
25596
25629
|
|
25597
|
-
// ../
|
25630
|
+
// ../drizzle-orm/dist/sqlite-core/table.js
|
25598
25631
|
function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2) {
|
25599
25632
|
const rawTable = new SQLiteTable(name2, schema4, baseName);
|
25600
25633
|
const builtColumns = Object.fromEntries(
|
@@ -25615,7 +25648,7 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
|
|
25615
25648
|
}
|
25616
25649
|
var InlineForeignKeys2, _a160, _b113, _c5, _d3, _e2, SQLiteTable, sqliteTable;
|
25617
25650
|
var init_table3 = __esm({
|
25618
|
-
"../
|
25651
|
+
"../drizzle-orm/dist/sqlite-core/table.js"() {
|
25619
25652
|
"use strict";
|
25620
25653
|
init_entity();
|
25621
25654
|
init_table();
|
@@ -25642,10 +25675,10 @@ var init_table3 = __esm({
|
|
25642
25675
|
}
|
25643
25676
|
});
|
25644
25677
|
|
25645
|
-
// ../
|
25678
|
+
// ../drizzle-orm/dist/sqlite-core/foreign-keys.js
|
25646
25679
|
var _a161, ForeignKeyBuilder2, _a162, ForeignKey2;
|
25647
25680
|
var init_foreign_keys2 = __esm({
|
25648
|
-
"../
|
25681
|
+
"../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
|
25649
25682
|
"use strict";
|
25650
25683
|
init_entity();
|
25651
25684
|
init_table3();
|
@@ -25709,13 +25742,13 @@ var init_foreign_keys2 = __esm({
|
|
25709
25742
|
}
|
25710
25743
|
});
|
25711
25744
|
|
25712
|
-
// ../
|
25745
|
+
// ../drizzle-orm/dist/sqlite-core/unique-constraint.js
|
25713
25746
|
function uniqueKeyName2(table4, columns) {
|
25714
25747
|
return `${table4[SQLiteTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
25715
25748
|
}
|
25716
25749
|
var _a163, UniqueConstraintBuilder2, _a164, UniqueOnConstraintBuilder2, _a165, UniqueConstraint2;
|
25717
25750
|
var init_unique_constraint2 = __esm({
|
25718
|
-
"../
|
25751
|
+
"../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
|
25719
25752
|
"use strict";
|
25720
25753
|
init_entity();
|
25721
25754
|
init_table3();
|
@@ -25762,10 +25795,10 @@ var init_unique_constraint2 = __esm({
|
|
25762
25795
|
}
|
25763
25796
|
});
|
25764
25797
|
|
25765
|
-
// ../
|
25798
|
+
// ../drizzle-orm/dist/sqlite-core/columns/common.js
|
25766
25799
|
var _a166, _b114, SQLiteColumnBuilder, _a167, _b115, SQLiteColumn;
|
25767
25800
|
var init_common3 = __esm({
|
25768
|
-
"../
|
25801
|
+
"../drizzle-orm/dist/sqlite-core/columns/common.js"() {
|
25769
25802
|
"use strict";
|
25770
25803
|
init_column_builder();
|
25771
25804
|
init_column();
|
@@ -25827,10 +25860,10 @@ var init_common3 = __esm({
|
|
25827
25860
|
}
|
25828
25861
|
});
|
25829
25862
|
|
25830
|
-
// ../
|
25863
|
+
// ../drizzle-orm/dist/sqlite-core/columns/blob.js
|
25831
25864
|
var _a168, _b116, SQLiteBigIntBuilder, _a169, _b117, SQLiteBigInt, _a170, _b118, SQLiteBlobJsonBuilder, _a171, _b119, SQLiteBlobJson, _a172, _b120, SQLiteBlobBufferBuilder, _a173, _b121, SQLiteBlobBuffer;
|
25832
25865
|
var init_blob = __esm({
|
25833
|
-
"../
|
25866
|
+
"../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
|
25834
25867
|
"use strict";
|
25835
25868
|
init_entity();
|
25836
25869
|
init_common3();
|
@@ -25900,10 +25933,10 @@ var init_blob = __esm({
|
|
25900
25933
|
}
|
25901
25934
|
});
|
25902
25935
|
|
25903
|
-
// ../
|
25936
|
+
// ../drizzle-orm/dist/sqlite-core/columns/custom.js
|
25904
25937
|
var _a174, _b122, SQLiteCustomColumnBuilder, _a175, _b123, SQLiteCustomColumn;
|
25905
25938
|
var init_custom2 = __esm({
|
25906
|
-
"../
|
25939
|
+
"../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
|
25907
25940
|
"use strict";
|
25908
25941
|
init_entity();
|
25909
25942
|
init_common3();
|
@@ -25946,10 +25979,10 @@ var init_custom2 = __esm({
|
|
25946
25979
|
}
|
25947
25980
|
});
|
25948
25981
|
|
25949
|
-
// ../
|
25982
|
+
// ../drizzle-orm/dist/sqlite-core/columns/integer.js
|
25950
25983
|
var _a176, _b124, SQLiteBaseIntegerBuilder, _a177, _b125, SQLiteBaseInteger, _a178, _b126, SQLiteIntegerBuilder, _a179, _b127, SQLiteInteger, _a180, _b128, SQLiteTimestampBuilder, _a181, _b129, SQLiteTimestamp, _a182, _b130, SQLiteBooleanBuilder, _a183, _b131, SQLiteBoolean;
|
25951
25984
|
var init_integer2 = __esm({
|
25952
|
-
"../
|
25985
|
+
"../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
|
25953
25986
|
"use strict";
|
25954
25987
|
init_entity();
|
25955
25988
|
init_sql();
|
@@ -26063,10 +26096,10 @@ var init_integer2 = __esm({
|
|
26063
26096
|
}
|
26064
26097
|
});
|
26065
26098
|
|
26066
|
-
// ../
|
26099
|
+
// ../drizzle-orm/dist/sqlite-core/columns/numeric.js
|
26067
26100
|
var _a184, _b132, SQLiteNumericBuilder, _a185, _b133, SQLiteNumeric;
|
26068
26101
|
var init_numeric2 = __esm({
|
26069
|
-
"../
|
26102
|
+
"../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
|
26070
26103
|
"use strict";
|
26071
26104
|
init_entity();
|
26072
26105
|
init_common3();
|
@@ -26092,10 +26125,10 @@ var init_numeric2 = __esm({
|
|
26092
26125
|
}
|
26093
26126
|
});
|
26094
26127
|
|
26095
|
-
// ../
|
26128
|
+
// ../drizzle-orm/dist/sqlite-core/columns/real.js
|
26096
26129
|
var _a186, _b134, SQLiteRealBuilder, _a187, _b135, SQLiteReal;
|
26097
26130
|
var init_real2 = __esm({
|
26098
|
-
"../
|
26131
|
+
"../drizzle-orm/dist/sqlite-core/columns/real.js"() {
|
26099
26132
|
"use strict";
|
26100
26133
|
init_entity();
|
26101
26134
|
init_common3();
|
@@ -26118,10 +26151,10 @@ var init_real2 = __esm({
|
|
26118
26151
|
}
|
26119
26152
|
});
|
26120
26153
|
|
26121
|
-
// ../
|
26154
|
+
// ../drizzle-orm/dist/sqlite-core/columns/text.js
|
26122
26155
|
var _a188, _b136, SQLiteTextBuilder, _a189, _b137, SQLiteText, _a190, _b138, SQLiteTextJsonBuilder, _a191, _b139, SQLiteTextJson;
|
26123
26156
|
var init_text2 = __esm({
|
26124
|
-
"../
|
26157
|
+
"../drizzle-orm/dist/sqlite-core/columns/text.js"() {
|
26125
26158
|
"use strict";
|
26126
26159
|
init_entity();
|
26127
26160
|
init_common3();
|
@@ -26176,9 +26209,9 @@ var init_text2 = __esm({
|
|
26176
26209
|
}
|
26177
26210
|
});
|
26178
26211
|
|
26179
|
-
// ../
|
26212
|
+
// ../drizzle-orm/dist/sqlite-core/columns/index.js
|
26180
26213
|
var init_columns2 = __esm({
|
26181
|
-
"../
|
26214
|
+
"../drizzle-orm/dist/sqlite-core/columns/index.js"() {
|
26182
26215
|
"use strict";
|
26183
26216
|
init_blob();
|
26184
26217
|
init_common3();
|
@@ -26190,10 +26223,10 @@ var init_columns2 = __esm({
|
|
26190
26223
|
}
|
26191
26224
|
});
|
26192
26225
|
|
26193
|
-
// ../
|
26226
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
|
26194
26227
|
var _a192, _b140, SQLiteDeleteBase;
|
26195
26228
|
var init_delete2 = __esm({
|
26196
|
-
"../
|
26229
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
|
26197
26230
|
"use strict";
|
26198
26231
|
init_entity();
|
26199
26232
|
init_query_promise();
|
@@ -26289,10 +26322,10 @@ var init_delete2 = __esm({
|
|
26289
26322
|
}
|
26290
26323
|
});
|
26291
26324
|
|
26292
|
-
// ../
|
26325
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
|
26293
26326
|
var _a193, SQLiteInsertBuilder, _a194, _b141, SQLiteInsertBase;
|
26294
26327
|
var init_insert2 = __esm({
|
26295
|
-
"../
|
26328
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
|
26296
26329
|
"use strict";
|
26297
26330
|
init_entity();
|
26298
26331
|
init_query_promise();
|
@@ -26457,10 +26490,10 @@ var init_insert2 = __esm({
|
|
26457
26490
|
}
|
26458
26491
|
});
|
26459
26492
|
|
26460
|
-
// ../
|
26493
|
+
// ../drizzle-orm/dist/sqlite-core/view-base.js
|
26461
26494
|
var _a195, _b142, SQLiteViewBase;
|
26462
26495
|
var init_view_base2 = __esm({
|
26463
|
-
"../
|
26496
|
+
"../drizzle-orm/dist/sqlite-core/view-base.js"() {
|
26464
26497
|
"use strict";
|
26465
26498
|
init_entity();
|
26466
26499
|
init_sql();
|
@@ -26470,10 +26503,10 @@ var init_view_base2 = __esm({
|
|
26470
26503
|
}
|
26471
26504
|
});
|
26472
26505
|
|
26473
|
-
// ../
|
26506
|
+
// ../drizzle-orm/dist/sqlite-core/dialect.js
|
26474
26507
|
var _a196, SQLiteDialect, _a197, _b143, SQLiteSyncDialect, _a198, _b144, SQLiteAsyncDialect;
|
26475
26508
|
var init_dialect2 = __esm({
|
26476
|
-
"../
|
26509
|
+
"../drizzle-orm/dist/sqlite-core/dialect.js"() {
|
26477
26510
|
"use strict";
|
26478
26511
|
init_alias();
|
26479
26512
|
init_column();
|
@@ -27065,7 +27098,7 @@ var init_dialect2 = __esm({
|
|
27065
27098
|
}
|
27066
27099
|
});
|
27067
27100
|
|
27068
|
-
// ../
|
27101
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.js
|
27069
27102
|
function createSetOperator2(type, isAll) {
|
27070
27103
|
return (leftSelect, rightSelect, ...restSelects) => {
|
27071
27104
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -27085,7 +27118,7 @@ function createSetOperator2(type, isAll) {
|
|
27085
27118
|
}
|
27086
27119
|
var _a199, SQLiteSelectBuilder, _a200, _b145, SQLiteSelectQueryBuilderBase, _a201, _b146, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
|
27087
27120
|
var init_select3 = __esm({
|
27088
|
-
"../
|
27121
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
|
27089
27122
|
"use strict";
|
27090
27123
|
init_entity();
|
27091
27124
|
init_query_builder();
|
@@ -27698,10 +27731,10 @@ var init_select3 = __esm({
|
|
27698
27731
|
}
|
27699
27732
|
});
|
27700
27733
|
|
27701
|
-
// ../
|
27734
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
|
27702
27735
|
var _a202, QueryBuilder2;
|
27703
27736
|
var init_query_builder3 = __esm({
|
27704
|
-
"../
|
27737
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
|
27705
27738
|
"use strict";
|
27706
27739
|
init_entity();
|
27707
27740
|
init_selection_proxy();
|
@@ -27771,17 +27804,17 @@ var init_query_builder3 = __esm({
|
|
27771
27804
|
}
|
27772
27805
|
});
|
27773
27806
|
|
27774
|
-
// ../
|
27807
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.types.js
|
27775
27808
|
var init_select_types2 = __esm({
|
27776
|
-
"../
|
27809
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.types.js"() {
|
27777
27810
|
"use strict";
|
27778
27811
|
}
|
27779
27812
|
});
|
27780
27813
|
|
27781
|
-
// ../
|
27814
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/update.js
|
27782
27815
|
var _a203, SQLiteUpdateBuilder, _a204, _b147, SQLiteUpdateBase;
|
27783
27816
|
var init_update2 = __esm({
|
27784
|
-
"../
|
27817
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
|
27785
27818
|
"use strict";
|
27786
27819
|
init_entity();
|
27787
27820
|
init_query_promise();
|
@@ -27899,9 +27932,9 @@ var init_update2 = __esm({
|
|
27899
27932
|
}
|
27900
27933
|
});
|
27901
27934
|
|
27902
|
-
// ../
|
27935
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/index.js
|
27903
27936
|
var init_query_builders2 = __esm({
|
27904
|
-
"../
|
27937
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/index.js"() {
|
27905
27938
|
"use strict";
|
27906
27939
|
init_delete2();
|
27907
27940
|
init_insert2();
|
@@ -27912,10 +27945,10 @@ var init_query_builders2 = __esm({
|
|
27912
27945
|
}
|
27913
27946
|
});
|
27914
27947
|
|
27915
|
-
// ../
|
27948
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query.js
|
27916
27949
|
var _a205, RelationalQueryBuilder2, _a206, _b148, SQLiteRelationalQuery, _a207, _b149, SQLiteSyncRelationalQuery;
|
27917
27950
|
var init_query2 = __esm({
|
27918
|
-
"../
|
27951
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
|
27919
27952
|
"use strict";
|
27920
27953
|
init_entity();
|
27921
27954
|
init_query_promise();
|
@@ -28066,10 +28099,10 @@ var init_query2 = __esm({
|
|
28066
28099
|
}
|
28067
28100
|
});
|
28068
28101
|
|
28069
|
-
// ../
|
28102
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
|
28070
28103
|
var _a208, _b150, SQLiteRaw;
|
28071
28104
|
var init_raw2 = __esm({
|
28072
|
-
"../
|
28105
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
|
28073
28106
|
"use strict";
|
28074
28107
|
init_entity();
|
28075
28108
|
init_query_promise();
|
@@ -28102,10 +28135,10 @@ var init_raw2 = __esm({
|
|
28102
28135
|
}
|
28103
28136
|
});
|
28104
28137
|
|
28105
|
-
// ../
|
28138
|
+
// ../drizzle-orm/dist/sqlite-core/db.js
|
28106
28139
|
var _a209, BaseSQLiteDatabase;
|
28107
28140
|
var init_db2 = __esm({
|
28108
|
-
"../
|
28141
|
+
"../drizzle-orm/dist/sqlite-core/db.js"() {
|
28109
28142
|
"use strict";
|
28110
28143
|
init_entity();
|
28111
28144
|
init_selection_proxy();
|
@@ -28395,10 +28428,10 @@ var init_db2 = __esm({
|
|
28395
28428
|
}
|
28396
28429
|
});
|
28397
28430
|
|
28398
|
-
// ../
|
28431
|
+
// ../drizzle-orm/dist/sqlite-core/indexes.js
|
28399
28432
|
var _a210, IndexBuilderOn2, _a211, IndexBuilder2, _a212, Index4;
|
28400
28433
|
var init_indexes2 = __esm({
|
28401
|
-
"../
|
28434
|
+
"../drizzle-orm/dist/sqlite-core/indexes.js"() {
|
28402
28435
|
"use strict";
|
28403
28436
|
init_entity();
|
28404
28437
|
_a210 = entityKind;
|
@@ -28448,10 +28481,10 @@ var init_indexes2 = __esm({
|
|
28448
28481
|
}
|
28449
28482
|
});
|
28450
28483
|
|
28451
|
-
// ../
|
28484
|
+
// ../drizzle-orm/dist/sqlite-core/primary-keys.js
|
28452
28485
|
var _a213, PrimaryKeyBuilder2, _a214, PrimaryKey2;
|
28453
28486
|
var init_primary_keys2 = __esm({
|
28454
|
-
"../
|
28487
|
+
"../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
|
28455
28488
|
"use strict";
|
28456
28489
|
init_entity();
|
28457
28490
|
init_table3();
|
@@ -28488,10 +28521,10 @@ var init_primary_keys2 = __esm({
|
|
28488
28521
|
}
|
28489
28522
|
});
|
28490
28523
|
|
28491
|
-
// ../
|
28524
|
+
// ../drizzle-orm/dist/sqlite-core/session.js
|
28492
28525
|
var _a215, _b151, ExecuteResultSync, _a216, SQLitePreparedQuery, _a217, SQLiteSession, _a218, _b152, SQLiteTransaction;
|
28493
28526
|
var init_session2 = __esm({
|
28494
|
-
"../
|
28527
|
+
"../drizzle-orm/dist/sqlite-core/session.js"() {
|
28495
28528
|
"use strict";
|
28496
28529
|
init_entity();
|
28497
28530
|
init_errors();
|
@@ -28609,23 +28642,23 @@ var init_session2 = __esm({
|
|
28609
28642
|
}
|
28610
28643
|
});
|
28611
28644
|
|
28612
|
-
// ../
|
28645
|
+
// ../drizzle-orm/dist/sqlite-core/subquery.js
|
28613
28646
|
var init_subquery3 = __esm({
|
28614
|
-
"../
|
28647
|
+
"../drizzle-orm/dist/sqlite-core/subquery.js"() {
|
28615
28648
|
"use strict";
|
28616
28649
|
}
|
28617
28650
|
});
|
28618
28651
|
|
28619
|
-
// ../
|
28652
|
+
// ../drizzle-orm/dist/sqlite-core/view-common.js
|
28620
28653
|
var SQLiteViewConfig;
|
28621
28654
|
var init_view_common3 = __esm({
|
28622
|
-
"../
|
28655
|
+
"../drizzle-orm/dist/sqlite-core/view-common.js"() {
|
28623
28656
|
"use strict";
|
28624
28657
|
SQLiteViewConfig = Symbol.for("drizzle:SQLiteViewConfig");
|
28625
28658
|
}
|
28626
28659
|
});
|
28627
28660
|
|
28628
|
-
// ../
|
28661
|
+
// ../drizzle-orm/dist/sqlite-core/utils.js
|
28629
28662
|
function getTableConfig2(table4) {
|
28630
28663
|
const columns = Object.values(table4[SQLiteTable.Symbol.Columns]);
|
28631
28664
|
const indexes = [];
|
@@ -28662,7 +28695,7 @@ function getTableConfig2(table4) {
|
|
28662
28695
|
};
|
28663
28696
|
}
|
28664
28697
|
var init_utils6 = __esm({
|
28665
|
-
"../
|
28698
|
+
"../drizzle-orm/dist/sqlite-core/utils.js"() {
|
28666
28699
|
"use strict";
|
28667
28700
|
init_entity();
|
28668
28701
|
init_table();
|
@@ -28675,10 +28708,10 @@ var init_utils6 = __esm({
|
|
28675
28708
|
}
|
28676
28709
|
});
|
28677
28710
|
|
28678
|
-
// ../
|
28711
|
+
// ../drizzle-orm/dist/sqlite-core/view.js
|
28679
28712
|
var _a219, ViewBuilderCore, _a220, _b153, ViewBuilder2, _a221, _b154, ManualViewBuilder2, _a222, _b155, _c6, SQLiteView;
|
28680
28713
|
var init_view2 = __esm({
|
28681
|
-
"../
|
28714
|
+
"../drizzle-orm/dist/sqlite-core/view.js"() {
|
28682
28715
|
"use strict";
|
28683
28716
|
init_entity();
|
28684
28717
|
init_selection_proxy();
|
@@ -28780,9 +28813,9 @@ var init_view2 = __esm({
|
|
28780
28813
|
}
|
28781
28814
|
});
|
28782
28815
|
|
28783
|
-
// ../
|
28816
|
+
// ../drizzle-orm/dist/sqlite-core/index.js
|
28784
28817
|
var init_sqlite_core = __esm({
|
28785
|
-
"../
|
28818
|
+
"../drizzle-orm/dist/sqlite-core/index.js"() {
|
28786
28819
|
"use strict";
|
28787
28820
|
init_alias3();
|
28788
28821
|
init_checks2();
|
@@ -28869,7 +28902,7 @@ var init_sqliteSerializer = __esm({
|
|
28869
28902
|
"src/serializer/sqliteSerializer.ts"() {
|
28870
28903
|
"use strict";
|
28871
28904
|
init_source();
|
28872
|
-
|
28905
|
+
init_dist();
|
28873
28906
|
init_sqlite_core();
|
28874
28907
|
init_outputs();
|
28875
28908
|
init_serializer();
|
@@ -29282,17 +29315,17 @@ WHERE
|
|
29282
29315
|
}
|
29283
29316
|
});
|
29284
29317
|
|
29285
|
-
// ../
|
29318
|
+
// ../drizzle-orm/dist/mysql-core/alias.js
|
29286
29319
|
var init_alias4 = __esm({
|
29287
|
-
"../
|
29320
|
+
"../drizzle-orm/dist/mysql-core/alias.js"() {
|
29288
29321
|
"use strict";
|
29289
29322
|
}
|
29290
29323
|
});
|
29291
29324
|
|
29292
|
-
// ../
|
29325
|
+
// ../drizzle-orm/dist/mysql-core/checks.js
|
29293
29326
|
var _a223, CheckBuilder3, _a224, Check3;
|
29294
29327
|
var init_checks3 = __esm({
|
29295
|
-
"../
|
29328
|
+
"../drizzle-orm/dist/mysql-core/checks.js"() {
|
29296
29329
|
"use strict";
|
29297
29330
|
init_entity();
|
29298
29331
|
_a223 = entityKind;
|
@@ -29322,7 +29355,7 @@ var init_checks3 = __esm({
|
|
29322
29355
|
}
|
29323
29356
|
});
|
29324
29357
|
|
29325
|
-
// ../
|
29358
|
+
// ../drizzle-orm/dist/mysql-core/table.js
|
29326
29359
|
function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
29327
29360
|
const rawTable = new MySqlTable(name2, schema4, baseName);
|
29328
29361
|
const builtColumns = Object.fromEntries(
|
@@ -29343,7 +29376,7 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
|
|
29343
29376
|
}
|
29344
29377
|
var InlineForeignKeys3, _a225, _b156, _c7, _d4, _e3, MySqlTable, mysqlTable;
|
29345
29378
|
var init_table4 = __esm({
|
29346
|
-
"../
|
29379
|
+
"../drizzle-orm/dist/mysql-core/table.js"() {
|
29347
29380
|
"use strict";
|
29348
29381
|
init_entity();
|
29349
29382
|
init_table();
|
@@ -29370,10 +29403,10 @@ var init_table4 = __esm({
|
|
29370
29403
|
}
|
29371
29404
|
});
|
29372
29405
|
|
29373
|
-
// ../
|
29406
|
+
// ../drizzle-orm/dist/mysql-core/foreign-keys.js
|
29374
29407
|
var _a226, ForeignKeyBuilder3, _a227, ForeignKey3;
|
29375
29408
|
var init_foreign_keys3 = __esm({
|
29376
|
-
"../
|
29409
|
+
"../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
|
29377
29410
|
"use strict";
|
29378
29411
|
init_entity();
|
29379
29412
|
init_table4();
|
@@ -29437,13 +29470,13 @@ var init_foreign_keys3 = __esm({
|
|
29437
29470
|
}
|
29438
29471
|
});
|
29439
29472
|
|
29440
|
-
// ../
|
29473
|
+
// ../drizzle-orm/dist/mysql-core/unique-constraint.js
|
29441
29474
|
function uniqueKeyName3(table4, columns) {
|
29442
29475
|
return `${table4[MySqlTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
29443
29476
|
}
|
29444
29477
|
var _a228, UniqueConstraintBuilder3, _a229, UniqueOnConstraintBuilder3, _a230, UniqueConstraint3;
|
29445
29478
|
var init_unique_constraint3 = __esm({
|
29446
|
-
"../
|
29479
|
+
"../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
|
29447
29480
|
"use strict";
|
29448
29481
|
init_entity();
|
29449
29482
|
init_table4();
|
@@ -29491,10 +29524,10 @@ var init_unique_constraint3 = __esm({
|
|
29491
29524
|
}
|
29492
29525
|
});
|
29493
29526
|
|
29494
|
-
// ../
|
29527
|
+
// ../drizzle-orm/dist/mysql-core/columns/common.js
|
29495
29528
|
var _a231, _b157, MySqlColumnBuilder, _a232, _b158, MySqlColumn, _a233, _b159, MySqlColumnBuilderWithAutoIncrement, _a234, _b160, MySqlColumnWithAutoIncrement;
|
29496
29529
|
var init_common4 = __esm({
|
29497
|
-
"../
|
29530
|
+
"../drizzle-orm/dist/mysql-core/columns/common.js"() {
|
29498
29531
|
"use strict";
|
29499
29532
|
init_column_builder();
|
29500
29533
|
init_column();
|
@@ -29575,10 +29608,10 @@ var init_common4 = __esm({
|
|
29575
29608
|
}
|
29576
29609
|
});
|
29577
29610
|
|
29578
|
-
// ../
|
29611
|
+
// ../drizzle-orm/dist/mysql-core/columns/bigint.js
|
29579
29612
|
var _a235, _b161, MySqlBigInt53Builder, _a236, _b162, MySqlBigInt53, _a237, _b163, MySqlBigInt64Builder, _a238, _b164, MySqlBigInt64;
|
29580
29613
|
var init_bigint2 = __esm({
|
29581
|
-
"../
|
29614
|
+
"../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
|
29582
29615
|
"use strict";
|
29583
29616
|
init_entity();
|
29584
29617
|
init_common4();
|
@@ -29635,10 +29668,10 @@ var init_bigint2 = __esm({
|
|
29635
29668
|
}
|
29636
29669
|
});
|
29637
29670
|
|
29638
|
-
// ../
|
29671
|
+
// ../drizzle-orm/dist/mysql-core/columns/binary.js
|
29639
29672
|
var _a239, _b165, MySqlBinaryBuilder, _a240, _b166, MySqlBinary;
|
29640
29673
|
var init_binary = __esm({
|
29641
|
-
"../
|
29674
|
+
"../drizzle-orm/dist/mysql-core/columns/binary.js"() {
|
29642
29675
|
"use strict";
|
29643
29676
|
init_entity();
|
29644
29677
|
init_common4();
|
@@ -29666,10 +29699,10 @@ var init_binary = __esm({
|
|
29666
29699
|
}
|
29667
29700
|
});
|
29668
29701
|
|
29669
|
-
// ../
|
29702
|
+
// ../drizzle-orm/dist/mysql-core/columns/boolean.js
|
29670
29703
|
var _a241, _b167, MySqlBooleanBuilder, _a242, _b168, MySqlBoolean;
|
29671
29704
|
var init_boolean2 = __esm({
|
29672
|
-
"../
|
29705
|
+
"../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
|
29673
29706
|
"use strict";
|
29674
29707
|
init_entity();
|
29675
29708
|
init_common4();
|
@@ -29701,10 +29734,10 @@ var init_boolean2 = __esm({
|
|
29701
29734
|
}
|
29702
29735
|
});
|
29703
29736
|
|
29704
|
-
// ../
|
29737
|
+
// ../drizzle-orm/dist/mysql-core/columns/char.js
|
29705
29738
|
var _a243, _b169, MySqlCharBuilder, _a244, _b170, MySqlChar;
|
29706
29739
|
var init_char2 = __esm({
|
29707
|
-
"../
|
29740
|
+
"../drizzle-orm/dist/mysql-core/columns/char.js"() {
|
29708
29741
|
"use strict";
|
29709
29742
|
init_entity();
|
29710
29743
|
init_common4();
|
@@ -29737,10 +29770,10 @@ var init_char2 = __esm({
|
|
29737
29770
|
}
|
29738
29771
|
});
|
29739
29772
|
|
29740
|
-
// ../
|
29773
|
+
// ../drizzle-orm/dist/mysql-core/columns/custom.js
|
29741
29774
|
var _a245, _b171, MySqlCustomColumnBuilder, _a246, _b172, MySqlCustomColumn;
|
29742
29775
|
var init_custom3 = __esm({
|
29743
|
-
"../
|
29776
|
+
"../drizzle-orm/dist/mysql-core/columns/custom.js"() {
|
29744
29777
|
"use strict";
|
29745
29778
|
init_entity();
|
29746
29779
|
init_common4();
|
@@ -29783,10 +29816,10 @@ var init_custom3 = __esm({
|
|
29783
29816
|
}
|
29784
29817
|
});
|
29785
29818
|
|
29786
|
-
// ../
|
29819
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.js
|
29787
29820
|
var _a247, _b173, MySqlDateBuilder, _a248, _b174, MySqlDate, _a249, _b175, MySqlDateStringBuilder, _a250, _b176, MySqlDateString;
|
29788
29821
|
var init_date2 = __esm({
|
29789
|
-
"../
|
29822
|
+
"../drizzle-orm/dist/mysql-core/columns/date.js"() {
|
29790
29823
|
"use strict";
|
29791
29824
|
init_entity();
|
29792
29825
|
init_common4();
|
@@ -29837,10 +29870,10 @@ var init_date2 = __esm({
|
|
29837
29870
|
}
|
29838
29871
|
});
|
29839
29872
|
|
29840
|
-
// ../
|
29873
|
+
// ../drizzle-orm/dist/mysql-core/columns/datetime.js
|
29841
29874
|
var _a251, _b177, MySqlDateTimeBuilder, _a252, _b178, MySqlDateTime, _a253, _b179, MySqlDateTimeStringBuilder, _a254, _b180, MySqlDateTimeString;
|
29842
29875
|
var init_datetime = __esm({
|
29843
|
-
"../
|
29876
|
+
"../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
|
29844
29877
|
"use strict";
|
29845
29878
|
init_entity();
|
29846
29879
|
init_common4();
|
@@ -29905,10 +29938,10 @@ var init_datetime = __esm({
|
|
29905
29938
|
}
|
29906
29939
|
});
|
29907
29940
|
|
29908
|
-
// ../
|
29941
|
+
// ../drizzle-orm/dist/mysql-core/columns/decimal.js
|
29909
29942
|
var _a255, _b181, MySqlDecimalBuilder, _a256, _b182, MySqlDecimal;
|
29910
29943
|
var init_decimal = __esm({
|
29911
|
-
"../
|
29944
|
+
"../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
|
29912
29945
|
"use strict";
|
29913
29946
|
init_entity();
|
29914
29947
|
init_common4();
|
@@ -29947,10 +29980,10 @@ var init_decimal = __esm({
|
|
29947
29980
|
}
|
29948
29981
|
});
|
29949
29982
|
|
29950
|
-
// ../
|
29983
|
+
// ../drizzle-orm/dist/mysql-core/columns/double.js
|
29951
29984
|
var _a257, _b183, MySqlDoubleBuilder, _a258, _b184, MySqlDouble;
|
29952
29985
|
var init_double = __esm({
|
29953
|
-
"../
|
29986
|
+
"../drizzle-orm/dist/mysql-core/columns/double.js"() {
|
29954
29987
|
"use strict";
|
29955
29988
|
init_entity();
|
29956
29989
|
init_common4();
|
@@ -29986,10 +30019,10 @@ var init_double = __esm({
|
|
29986
30019
|
}
|
29987
30020
|
});
|
29988
30021
|
|
29989
|
-
// ../
|
30022
|
+
// ../drizzle-orm/dist/mysql-core/columns/enum.js
|
29990
30023
|
var _a259, _b185, MySqlEnumColumnBuilder, _a260, _b186, MySqlEnumColumn;
|
29991
30024
|
var init_enum2 = __esm({
|
29992
|
-
"../
|
30025
|
+
"../drizzle-orm/dist/mysql-core/columns/enum.js"() {
|
29993
30026
|
"use strict";
|
29994
30027
|
init_entity();
|
29995
30028
|
init_common4();
|
@@ -30020,10 +30053,10 @@ var init_enum2 = __esm({
|
|
30020
30053
|
}
|
30021
30054
|
});
|
30022
30055
|
|
30023
|
-
// ../
|
30056
|
+
// ../drizzle-orm/dist/mysql-core/columns/float.js
|
30024
30057
|
var _a261, _b187, MySqlFloatBuilder, _a262, _b188, MySqlFloat;
|
30025
30058
|
var init_float = __esm({
|
30026
|
-
"../
|
30059
|
+
"../drizzle-orm/dist/mysql-core/columns/float.js"() {
|
30027
30060
|
"use strict";
|
30028
30061
|
init_entity();
|
30029
30062
|
init_common4();
|
@@ -30046,10 +30079,10 @@ var init_float = __esm({
|
|
30046
30079
|
}
|
30047
30080
|
});
|
30048
30081
|
|
30049
|
-
// ../
|
30082
|
+
// ../drizzle-orm/dist/mysql-core/columns/int.js
|
30050
30083
|
var _a263, _b189, MySqlIntBuilder, _a264, _b190, MySqlInt;
|
30051
30084
|
var init_int = __esm({
|
30052
|
-
"../
|
30085
|
+
"../drizzle-orm/dist/mysql-core/columns/int.js"() {
|
30053
30086
|
"use strict";
|
30054
30087
|
init_entity();
|
30055
30088
|
init_common4();
|
@@ -30079,10 +30112,10 @@ var init_int = __esm({
|
|
30079
30112
|
}
|
30080
30113
|
});
|
30081
30114
|
|
30082
|
-
// ../
|
30115
|
+
// ../drizzle-orm/dist/mysql-core/columns/json.js
|
30083
30116
|
var _a265, _b191, MySqlJsonBuilder, _a266, _b192, MySqlJson;
|
30084
30117
|
var init_json2 = __esm({
|
30085
|
-
"../
|
30118
|
+
"../drizzle-orm/dist/mysql-core/columns/json.js"() {
|
30086
30119
|
"use strict";
|
30087
30120
|
init_entity();
|
30088
30121
|
init_common4();
|
@@ -30108,10 +30141,10 @@ var init_json2 = __esm({
|
|
30108
30141
|
}
|
30109
30142
|
});
|
30110
30143
|
|
30111
|
-
// ../
|
30144
|
+
// ../drizzle-orm/dist/mysql-core/columns/mediumint.js
|
30112
30145
|
var _a267, _b193, MySqlMediumIntBuilder, _a268, _b194, MySqlMediumInt;
|
30113
30146
|
var init_mediumint = __esm({
|
30114
|
-
"../
|
30147
|
+
"../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
|
30115
30148
|
"use strict";
|
30116
30149
|
init_entity();
|
30117
30150
|
init_common4();
|
@@ -30144,10 +30177,10 @@ var init_mediumint = __esm({
|
|
30144
30177
|
}
|
30145
30178
|
});
|
30146
30179
|
|
30147
|
-
// ../
|
30180
|
+
// ../drizzle-orm/dist/mysql-core/columns/real.js
|
30148
30181
|
var _a269, _b195, MySqlRealBuilder, _a270, _b196, MySqlReal;
|
30149
30182
|
var init_real3 = __esm({
|
30150
|
-
"../
|
30183
|
+
"../drizzle-orm/dist/mysql-core/columns/real.js"() {
|
30151
30184
|
"use strict";
|
30152
30185
|
init_entity();
|
30153
30186
|
init_common4();
|
@@ -30183,10 +30216,10 @@ var init_real3 = __esm({
|
|
30183
30216
|
}
|
30184
30217
|
});
|
30185
30218
|
|
30186
|
-
// ../
|
30219
|
+
// ../drizzle-orm/dist/mysql-core/columns/serial.js
|
30187
30220
|
var _a271, _b197, MySqlSerialBuilder, _a272, _b198, MySqlSerial;
|
30188
30221
|
var init_serial2 = __esm({
|
30189
|
-
"../
|
30222
|
+
"../drizzle-orm/dist/mysql-core/columns/serial.js"() {
|
30190
30223
|
"use strict";
|
30191
30224
|
init_entity();
|
30192
30225
|
init_common4();
|
@@ -30217,10 +30250,10 @@ var init_serial2 = __esm({
|
|
30217
30250
|
}
|
30218
30251
|
});
|
30219
30252
|
|
30220
|
-
// ../
|
30253
|
+
// ../drizzle-orm/dist/mysql-core/columns/smallint.js
|
30221
30254
|
var _a273, _b199, MySqlSmallIntBuilder, _a274, _b200, MySqlSmallInt;
|
30222
30255
|
var init_smallint2 = __esm({
|
30223
|
-
"../
|
30256
|
+
"../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
|
30224
30257
|
"use strict";
|
30225
30258
|
init_entity();
|
30226
30259
|
init_common4();
|
@@ -30253,10 +30286,10 @@ var init_smallint2 = __esm({
|
|
30253
30286
|
}
|
30254
30287
|
});
|
30255
30288
|
|
30256
|
-
// ../
|
30289
|
+
// ../drizzle-orm/dist/mysql-core/columns/text.js
|
30257
30290
|
var _a275, _b201, MySqlTextBuilder, _a276, _b202, MySqlText;
|
30258
30291
|
var init_text3 = __esm({
|
30259
|
-
"../
|
30292
|
+
"../drizzle-orm/dist/mysql-core/columns/text.js"() {
|
30260
30293
|
"use strict";
|
30261
30294
|
init_entity();
|
30262
30295
|
init_common4();
|
@@ -30286,10 +30319,10 @@ var init_text3 = __esm({
|
|
30286
30319
|
}
|
30287
30320
|
});
|
30288
30321
|
|
30289
|
-
// ../
|
30322
|
+
// ../drizzle-orm/dist/mysql-core/columns/time.js
|
30290
30323
|
var _a277, _b203, MySqlTimeBuilder, _a278, _b204, MySqlTime;
|
30291
30324
|
var init_time2 = __esm({
|
30292
|
-
"../
|
30325
|
+
"../drizzle-orm/dist/mysql-core/columns/time.js"() {
|
30293
30326
|
"use strict";
|
30294
30327
|
init_entity();
|
30295
30328
|
init_common4();
|
@@ -30318,10 +30351,10 @@ var init_time2 = __esm({
|
|
30318
30351
|
}
|
30319
30352
|
});
|
30320
30353
|
|
30321
|
-
// ../
|
30354
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.common.js
|
30322
30355
|
var _a279, _b205, MySqlDateColumnBaseBuilder, _a280, _b206, MySqlDateBaseColumn;
|
30323
30356
|
var init_date_common2 = __esm({
|
30324
|
-
"../
|
30357
|
+
"../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
|
30325
30358
|
"use strict";
|
30326
30359
|
init_entity();
|
30327
30360
|
init_sql();
|
@@ -30348,10 +30381,10 @@ var init_date_common2 = __esm({
|
|
30348
30381
|
}
|
30349
30382
|
});
|
30350
30383
|
|
30351
|
-
// ../
|
30384
|
+
// ../drizzle-orm/dist/mysql-core/columns/timestamp.js
|
30352
30385
|
var _a281, _b207, MySqlTimestampBuilder, _a282, _b208, MySqlTimestamp, _a283, _b209, MySqlTimestampStringBuilder, _a284, _b210, MySqlTimestampString;
|
30353
30386
|
var init_timestamp2 = __esm({
|
30354
|
-
"../
|
30387
|
+
"../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
|
30355
30388
|
"use strict";
|
30356
30389
|
init_entity();
|
30357
30390
|
init_date_common2();
|
@@ -30414,10 +30447,10 @@ var init_timestamp2 = __esm({
|
|
30414
30447
|
}
|
30415
30448
|
});
|
30416
30449
|
|
30417
|
-
// ../
|
30450
|
+
// ../drizzle-orm/dist/mysql-core/columns/tinyint.js
|
30418
30451
|
var _a285, _b211, MySqlTinyIntBuilder, _a286, _b212, MySqlTinyInt;
|
30419
30452
|
var init_tinyint = __esm({
|
30420
|
-
"../
|
30453
|
+
"../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
|
30421
30454
|
"use strict";
|
30422
30455
|
init_entity();
|
30423
30456
|
init_common4();
|
@@ -30450,10 +30483,10 @@ var init_tinyint = __esm({
|
|
30450
30483
|
}
|
30451
30484
|
});
|
30452
30485
|
|
30453
|
-
// ../
|
30486
|
+
// ../drizzle-orm/dist/mysql-core/columns/varbinary.js
|
30454
30487
|
var _a287, _b213, MySqlVarBinaryBuilder, _a288, _b214, MySqlVarBinary;
|
30455
30488
|
var init_varbinary = __esm({
|
30456
|
-
"../
|
30489
|
+
"../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
|
30457
30490
|
"use strict";
|
30458
30491
|
init_entity();
|
30459
30492
|
init_common4();
|
@@ -30485,10 +30518,10 @@ var init_varbinary = __esm({
|
|
30485
30518
|
}
|
30486
30519
|
});
|
30487
30520
|
|
30488
|
-
// ../
|
30521
|
+
// ../drizzle-orm/dist/mysql-core/columns/varchar.js
|
30489
30522
|
var _a289, _b215, MySqlVarCharBuilder, _a290, _b216, MySqlVarChar;
|
30490
30523
|
var init_varchar2 = __esm({
|
30491
|
-
"../
|
30524
|
+
"../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
|
30492
30525
|
"use strict";
|
30493
30526
|
init_entity();
|
30494
30527
|
init_common4();
|
@@ -30522,10 +30555,10 @@ var init_varchar2 = __esm({
|
|
30522
30555
|
}
|
30523
30556
|
});
|
30524
30557
|
|
30525
|
-
// ../
|
30558
|
+
// ../drizzle-orm/dist/mysql-core/columns/year.js
|
30526
30559
|
var _a291, _b217, MySqlYearBuilder, _a292, _b218, MySqlYear;
|
30527
30560
|
var init_year = __esm({
|
30528
|
-
"../
|
30561
|
+
"../drizzle-orm/dist/mysql-core/columns/year.js"() {
|
30529
30562
|
"use strict";
|
30530
30563
|
init_entity();
|
30531
30564
|
init_common4();
|
@@ -30548,9 +30581,9 @@ var init_year = __esm({
|
|
30548
30581
|
}
|
30549
30582
|
});
|
30550
30583
|
|
30551
|
-
// ../
|
30584
|
+
// ../drizzle-orm/dist/mysql-core/columns/index.js
|
30552
30585
|
var init_columns3 = __esm({
|
30553
|
-
"../
|
30586
|
+
"../drizzle-orm/dist/mysql-core/columns/index.js"() {
|
30554
30587
|
"use strict";
|
30555
30588
|
init_bigint2();
|
30556
30589
|
init_binary();
|
@@ -30580,10 +30613,10 @@ var init_columns3 = __esm({
|
|
30580
30613
|
}
|
30581
30614
|
});
|
30582
30615
|
|
30583
|
-
// ../
|
30616
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/delete.js
|
30584
30617
|
var _a293, _b219, MySqlDeleteBase;
|
30585
30618
|
var init_delete3 = __esm({
|
30586
|
-
"../
|
30619
|
+
"../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
|
30587
30620
|
"use strict";
|
30588
30621
|
init_entity();
|
30589
30622
|
init_query_promise();
|
@@ -30661,10 +30694,10 @@ var init_delete3 = __esm({
|
|
30661
30694
|
}
|
30662
30695
|
});
|
30663
30696
|
|
30664
|
-
// ../
|
30697
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/insert.js
|
30665
30698
|
var _a294, MySqlInsertBuilder, _a295, _b220, MySqlInsertBase;
|
30666
30699
|
var init_insert3 = __esm({
|
30667
|
-
"../
|
30700
|
+
"../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
|
30668
30701
|
"use strict";
|
30669
30702
|
init_entity();
|
30670
30703
|
init_query_promise();
|
@@ -30786,10 +30819,10 @@ var init_insert3 = __esm({
|
|
30786
30819
|
}
|
30787
30820
|
});
|
30788
30821
|
|
30789
|
-
// ../
|
30822
|
+
// ../drizzle-orm/dist/mysql-core/view-base.js
|
30790
30823
|
var _a296, _b221, MySqlViewBase;
|
30791
30824
|
var init_view_base3 = __esm({
|
30792
|
-
"../
|
30825
|
+
"../drizzle-orm/dist/mysql-core/view-base.js"() {
|
30793
30826
|
"use strict";
|
30794
30827
|
init_entity();
|
30795
30828
|
init_sql();
|
@@ -30799,10 +30832,10 @@ var init_view_base3 = __esm({
|
|
30799
30832
|
}
|
30800
30833
|
});
|
30801
30834
|
|
30802
|
-
// ../
|
30835
|
+
// ../drizzle-orm/dist/mysql-core/dialect.js
|
30803
30836
|
var _a297, MySqlDialect;
|
30804
30837
|
var init_dialect3 = __esm({
|
30805
|
-
"../
|
30838
|
+
"../drizzle-orm/dist/mysql-core/dialect.js"() {
|
30806
30839
|
"use strict";
|
30807
30840
|
init_alias();
|
30808
30841
|
init_column();
|
@@ -31598,7 +31631,7 @@ var init_dialect3 = __esm({
|
|
31598
31631
|
}
|
31599
31632
|
});
|
31600
31633
|
|
31601
|
-
// ../
|
31634
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.js
|
31602
31635
|
function createSetOperator3(type, isAll) {
|
31603
31636
|
return (leftSelect, rightSelect, ...restSelects) => {
|
31604
31637
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -31618,7 +31651,7 @@ function createSetOperator3(type, isAll) {
|
|
31618
31651
|
}
|
31619
31652
|
var _a298, MySqlSelectBuilder, _a299, _b222, MySqlSelectQueryBuilderBase, _a300, _b223, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
|
31620
31653
|
var init_select4 = __esm({
|
31621
|
-
"../
|
31654
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
|
31622
31655
|
"use strict";
|
31623
31656
|
init_entity();
|
31624
31657
|
init_query_builder();
|
@@ -32322,10 +32355,10 @@ var init_select4 = __esm({
|
|
32322
32355
|
}
|
32323
32356
|
});
|
32324
32357
|
|
32325
|
-
// ../
|
32358
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
|
32326
32359
|
var _a301, QueryBuilder3;
|
32327
32360
|
var init_query_builder4 = __esm({
|
32328
|
-
"../
|
32361
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
|
32329
32362
|
"use strict";
|
32330
32363
|
init_entity();
|
32331
32364
|
init_dialect3();
|
@@ -32395,17 +32428,17 @@ var init_query_builder4 = __esm({
|
|
32395
32428
|
}
|
32396
32429
|
});
|
32397
32430
|
|
32398
|
-
// ../
|
32431
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.types.js
|
32399
32432
|
var init_select_types3 = __esm({
|
32400
|
-
"../
|
32433
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.types.js"() {
|
32401
32434
|
"use strict";
|
32402
32435
|
}
|
32403
32436
|
});
|
32404
32437
|
|
32405
|
-
// ../
|
32438
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/update.js
|
32406
32439
|
var _a302, MySqlUpdateBuilder, _a303, _b224, MySqlUpdateBase;
|
32407
32440
|
var init_update3 = __esm({
|
32408
|
-
"../
|
32441
|
+
"../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
|
32409
32442
|
"use strict";
|
32410
32443
|
init_entity();
|
32411
32444
|
init_query_promise();
|
@@ -32500,9 +32533,9 @@ var init_update3 = __esm({
|
|
32500
32533
|
}
|
32501
32534
|
});
|
32502
32535
|
|
32503
|
-
// ../
|
32536
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/index.js
|
32504
32537
|
var init_query_builders3 = __esm({
|
32505
|
-
"../
|
32538
|
+
"../drizzle-orm/dist/mysql-core/query-builders/index.js"() {
|
32506
32539
|
"use strict";
|
32507
32540
|
init_delete3();
|
32508
32541
|
init_insert3();
|
@@ -32513,10 +32546,10 @@ var init_query_builders3 = __esm({
|
|
32513
32546
|
}
|
32514
32547
|
});
|
32515
32548
|
|
32516
|
-
// ../
|
32549
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query.js
|
32517
32550
|
var _a304, RelationalQueryBuilder3, _a305, _b225, MySqlRelationalQuery;
|
32518
32551
|
var init_query3 = __esm({
|
32519
|
-
"../
|
32552
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
|
32520
32553
|
"use strict";
|
32521
32554
|
init_entity();
|
32522
32555
|
init_query_promise();
|
@@ -32631,10 +32664,10 @@ var init_query3 = __esm({
|
|
32631
32664
|
}
|
32632
32665
|
});
|
32633
32666
|
|
32634
|
-
// ../
|
32667
|
+
// ../drizzle-orm/dist/mysql-core/db.js
|
32635
32668
|
var _a306, MySqlDatabase;
|
32636
32669
|
var init_db3 = __esm({
|
32637
|
-
"../
|
32670
|
+
"../drizzle-orm/dist/mysql-core/db.js"() {
|
32638
32671
|
"use strict";
|
32639
32672
|
init_entity();
|
32640
32673
|
init_selection_proxy();
|
@@ -32854,10 +32887,10 @@ var init_db3 = __esm({
|
|
32854
32887
|
}
|
32855
32888
|
});
|
32856
32889
|
|
32857
|
-
// ../
|
32890
|
+
// ../drizzle-orm/dist/mysql-core/indexes.js
|
32858
32891
|
var _a307, IndexBuilderOn3, _a308, IndexBuilder3, _a309, Index5;
|
32859
32892
|
var init_indexes3 = __esm({
|
32860
|
-
"../
|
32893
|
+
"../drizzle-orm/dist/mysql-core/indexes.js"() {
|
32861
32894
|
"use strict";
|
32862
32895
|
init_entity();
|
32863
32896
|
_a307 = entityKind;
|
@@ -32911,10 +32944,10 @@ var init_indexes3 = __esm({
|
|
32911
32944
|
}
|
32912
32945
|
});
|
32913
32946
|
|
32914
|
-
// ../
|
32947
|
+
// ../drizzle-orm/dist/mysql-core/primary-keys.js
|
32915
32948
|
var _a310, PrimaryKeyBuilder3, _a311, PrimaryKey3;
|
32916
32949
|
var init_primary_keys3 = __esm({
|
32917
|
-
"../
|
32950
|
+
"../drizzle-orm/dist/mysql-core/primary-keys.js"() {
|
32918
32951
|
"use strict";
|
32919
32952
|
init_entity();
|
32920
32953
|
init_table4();
|
@@ -32951,16 +32984,16 @@ var init_primary_keys3 = __esm({
|
|
32951
32984
|
}
|
32952
32985
|
});
|
32953
32986
|
|
32954
|
-
// ../
|
32987
|
+
// ../drizzle-orm/dist/mysql-core/view-common.js
|
32955
32988
|
var MySqlViewConfig;
|
32956
32989
|
var init_view_common4 = __esm({
|
32957
|
-
"../
|
32990
|
+
"../drizzle-orm/dist/mysql-core/view-common.js"() {
|
32958
32991
|
"use strict";
|
32959
32992
|
MySqlViewConfig = Symbol.for("drizzle:MySqlViewConfig");
|
32960
32993
|
}
|
32961
32994
|
});
|
32962
32995
|
|
32963
|
-
// ../
|
32996
|
+
// ../drizzle-orm/dist/mysql-core/view.js
|
32964
32997
|
function mysqlViewWithSchema(name2, selection, schema4) {
|
32965
32998
|
if (selection) {
|
32966
32999
|
return new ManualViewBuilder3(name2, selection, schema4);
|
@@ -32969,7 +33002,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
|
|
32969
33002
|
}
|
32970
33003
|
var _a312, ViewBuilderCore2, _a313, _b226, ViewBuilder3, _a314, _b227, ManualViewBuilder3, _a315, _b228, _c8, MySqlView;
|
32971
33004
|
var init_view3 = __esm({
|
32972
|
-
"../
|
33005
|
+
"../drizzle-orm/dist/mysql-core/view.js"() {
|
32973
33006
|
"use strict";
|
32974
33007
|
init_entity();
|
32975
33008
|
init_selection_proxy();
|
@@ -33087,10 +33120,10 @@ var init_view3 = __esm({
|
|
33087
33120
|
}
|
33088
33121
|
});
|
33089
33122
|
|
33090
|
-
// ../
|
33123
|
+
// ../drizzle-orm/dist/mysql-core/schema.js
|
33091
33124
|
var _a316, MySqlSchema5;
|
33092
33125
|
var init_schema2 = __esm({
|
33093
|
-
"../
|
33126
|
+
"../drizzle-orm/dist/mysql-core/schema.js"() {
|
33094
33127
|
"use strict";
|
33095
33128
|
init_entity();
|
33096
33129
|
init_table4();
|
@@ -33111,10 +33144,10 @@ var init_schema2 = __esm({
|
|
33111
33144
|
}
|
33112
33145
|
});
|
33113
33146
|
|
33114
|
-
// ../
|
33147
|
+
// ../drizzle-orm/dist/mysql-core/session.js
|
33115
33148
|
var _a317, MySqlPreparedQuery, _a318, MySqlSession, _a319, _b229, MySqlTransaction;
|
33116
33149
|
var init_session3 = __esm({
|
33117
|
-
"../
|
33150
|
+
"../drizzle-orm/dist/mysql-core/session.js"() {
|
33118
33151
|
"use strict";
|
33119
33152
|
init_entity();
|
33120
33153
|
init_errors();
|
@@ -33144,7 +33177,7 @@ var init_session3 = __esm({
|
|
33144
33177
|
if (config.isolationLevel) {
|
33145
33178
|
parts.push(`isolation level ${config.isolationLevel}`);
|
33146
33179
|
}
|
33147
|
-
return parts.length ? sql
|
33180
|
+
return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33148
33181
|
}
|
33149
33182
|
getStartTransactionSQL(config) {
|
33150
33183
|
const parts = [];
|
@@ -33154,7 +33187,7 @@ var init_session3 = __esm({
|
|
33154
33187
|
if (config.accessMode) {
|
33155
33188
|
parts.push(config.accessMode);
|
33156
33189
|
}
|
33157
|
-
return parts.length ? sql
|
33190
|
+
return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33158
33191
|
}
|
33159
33192
|
};
|
33160
33193
|
__publicField(MySqlSession, _a318, "MySqlSession");
|
@@ -33172,14 +33205,14 @@ var init_session3 = __esm({
|
|
33172
33205
|
}
|
33173
33206
|
});
|
33174
33207
|
|
33175
|
-
// ../
|
33208
|
+
// ../drizzle-orm/dist/mysql-core/subquery.js
|
33176
33209
|
var init_subquery4 = __esm({
|
33177
|
-
"../
|
33210
|
+
"../drizzle-orm/dist/mysql-core/subquery.js"() {
|
33178
33211
|
"use strict";
|
33179
33212
|
}
|
33180
33213
|
});
|
33181
33214
|
|
33182
|
-
// ../
|
33215
|
+
// ../drizzle-orm/dist/mysql-core/utils.js
|
33183
33216
|
function getTableConfig3(table4) {
|
33184
33217
|
const columns = Object.values(table4[MySqlTable.Symbol.Columns]);
|
33185
33218
|
const indexes = [];
|
@@ -33220,7 +33253,7 @@ function getTableConfig3(table4) {
|
|
33220
33253
|
};
|
33221
33254
|
}
|
33222
33255
|
var init_utils7 = __esm({
|
33223
|
-
"../
|
33256
|
+
"../drizzle-orm/dist/mysql-core/utils.js"() {
|
33224
33257
|
"use strict";
|
33225
33258
|
init_entity();
|
33226
33259
|
init_table();
|
@@ -33233,9 +33266,9 @@ var init_utils7 = __esm({
|
|
33233
33266
|
}
|
33234
33267
|
});
|
33235
33268
|
|
33236
|
-
// ../
|
33269
|
+
// ../drizzle-orm/dist/mysql-core/index.js
|
33237
33270
|
var init_mysql_core = __esm({
|
33238
|
-
"../
|
33271
|
+
"../drizzle-orm/dist/mysql-core/index.js"() {
|
33239
33272
|
"use strict";
|
33240
33273
|
init_alias4();
|
33241
33274
|
init_checks3();
|
@@ -33280,8 +33313,8 @@ var init_mysqlSerializer = __esm({
|
|
33280
33313
|
"src/serializer/mysqlSerializer.ts"() {
|
33281
33314
|
"use strict";
|
33282
33315
|
init_source();
|
33283
|
-
|
33284
|
-
|
33316
|
+
init_dist();
|
33317
|
+
init_dist();
|
33285
33318
|
init_mysql_core();
|
33286
33319
|
init_mysql_core();
|
33287
33320
|
init_outputs();
|
@@ -34083,7 +34116,7 @@ var prepareFromExports;
|
|
34083
34116
|
var init_pgImports = __esm({
|
34084
34117
|
"src/serializer/pgImports.ts"() {
|
34085
34118
|
"use strict";
|
34086
|
-
|
34119
|
+
init_dist();
|
34087
34120
|
init_pg_core();
|
34088
34121
|
init_utils8();
|
34089
34122
|
prepareFromExports = (exports) => {
|
@@ -34122,7 +34155,7 @@ var prepareFromExports2, prepareFromSqliteImports;
|
|
34122
34155
|
var init_sqliteImports = __esm({
|
34123
34156
|
"src/serializer/sqliteImports.ts"() {
|
34124
34157
|
"use strict";
|
34125
|
-
|
34158
|
+
init_dist();
|
34126
34159
|
init_sqlite_core();
|
34127
34160
|
init_utils8();
|
34128
34161
|
prepareFromExports2 = (exports) => {
|
@@ -34160,7 +34193,7 @@ var prepareFromExports3, prepareFromMySqlImports;
|
|
34160
34193
|
var init_mysqlImports = __esm({
|
34161
34194
|
"src/serializer/mysqlImports.ts"() {
|
34162
34195
|
"use strict";
|
34163
|
-
|
34196
|
+
init_dist();
|
34164
34197
|
init_mysql_core();
|
34165
34198
|
init_utils8();
|
34166
34199
|
prepareFromExports3 = (exports) => {
|
@@ -35278,7 +35311,7 @@ var generateMigration = async (prev, cur) => {
|
|
35278
35311
|
};
|
35279
35312
|
var pushSchema = async (imports, drizzleInstance, schemaFilters) => {
|
35280
35313
|
const { applyPgSnapshotsDiff: applyPgSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35281
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35314
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35282
35315
|
const db = {
|
35283
35316
|
query: async (query, params) => {
|
35284
35317
|
const res = await drizzleInstance.execute(sql2.raw(query));
|
@@ -35348,7 +35381,7 @@ var generateSQLiteMigration = async (prev, cur) => {
|
|
35348
35381
|
};
|
35349
35382
|
var pushSQLiteSchema = async (imports, drizzleInstance) => {
|
35350
35383
|
const { applySqliteSnapshotsDiff: applySqliteSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35351
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35384
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35352
35385
|
const db = {
|
35353
35386
|
query: async (query, params) => {
|
35354
35387
|
const res = drizzleInstance.all(sql2.raw(query));
|
@@ -35425,7 +35458,7 @@ var pushMySQLSchema = async (imports, drizzleInstance, databaseName) => {
|
|
35425
35458
|
const { applyMysqlSnapshotsDiff: applyMysqlSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35426
35459
|
const { logSuggestionsAndReturn: logSuggestionsAndReturn3 } = await Promise.resolve().then(() => (init_mysqlPushUtils(), mysqlPushUtils_exports));
|
35427
35460
|
const { mysqlPushIntrospect: mysqlPushIntrospect2 } = await Promise.resolve().then(() => (init_mysqlIntrospect(), mysqlIntrospect_exports));
|
35428
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35461
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35429
35462
|
const db = {
|
35430
35463
|
query: async (query, params) => {
|
35431
35464
|
const res = await drizzleInstance.execute(sql2.raw(query));
|