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.js
CHANGED
@@ -8338,6 +8338,9 @@ var init_sqliteSchema = __esm({
|
|
8338
8338
|
});
|
8339
8339
|
|
8340
8340
|
// src/utils.ts
|
8341
|
+
function isPgArrayType(sqlType) {
|
8342
|
+
return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
|
8343
|
+
}
|
8341
8344
|
var copy, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
|
8342
8345
|
var init_utils = __esm({
|
8343
8346
|
"src/utils.ts"() {
|
@@ -17272,7 +17275,7 @@ var init_mjs = __esm({
|
|
17272
17275
|
}
|
17273
17276
|
});
|
17274
17277
|
|
17275
|
-
// ../
|
17278
|
+
// ../drizzle-orm/dist/entity.js
|
17276
17279
|
function is(value, type) {
|
17277
17280
|
if (!value || typeof value !== "object") {
|
17278
17281
|
return false;
|
@@ -17298,17 +17301,17 @@ function is(value, type) {
|
|
17298
17301
|
}
|
17299
17302
|
var entityKind, hasOwnEntityKind;
|
17300
17303
|
var init_entity = __esm({
|
17301
|
-
"../
|
17304
|
+
"../drizzle-orm/dist/entity.js"() {
|
17302
17305
|
"use strict";
|
17303
17306
|
entityKind = Symbol.for("drizzle:entityKind");
|
17304
17307
|
hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
17305
17308
|
}
|
17306
17309
|
});
|
17307
17310
|
|
17308
|
-
// ../
|
17311
|
+
// ../drizzle-orm/dist/column.js
|
17309
17312
|
var _a, Column2;
|
17310
17313
|
var init_column = __esm({
|
17311
|
-
"../
|
17314
|
+
"../drizzle-orm/dist/column.js"() {
|
17312
17315
|
"use strict";
|
17313
17316
|
init_entity();
|
17314
17317
|
_a = entityKind;
|
@@ -17362,10 +17365,10 @@ var init_column = __esm({
|
|
17362
17365
|
}
|
17363
17366
|
});
|
17364
17367
|
|
17365
|
-
// ../
|
17368
|
+
// ../drizzle-orm/dist/column-builder.js
|
17366
17369
|
var _a2, ColumnBuilder;
|
17367
17370
|
var init_column_builder = __esm({
|
17368
|
-
"../
|
17371
|
+
"../drizzle-orm/dist/column-builder.js"() {
|
17369
17372
|
"use strict";
|
17370
17373
|
init_entity();
|
17371
17374
|
_a2 = entityKind;
|
@@ -17467,7 +17470,7 @@ var init_column_builder = __esm({
|
|
17467
17470
|
}
|
17468
17471
|
});
|
17469
17472
|
|
17470
|
-
// ../
|
17473
|
+
// ../drizzle-orm/dist/table.js
|
17471
17474
|
function isTable(table4) {
|
17472
17475
|
return typeof table4 === "object" && table4 !== null && IsDrizzleTable in table4;
|
17473
17476
|
}
|
@@ -17479,7 +17482,7 @@ function getTableUniqueName(table4) {
|
|
17479
17482
|
}
|
17480
17483
|
var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, Table2;
|
17481
17484
|
var init_table = __esm({
|
17482
|
-
"../
|
17485
|
+
"../drizzle-orm/dist/table.js"() {
|
17483
17486
|
"use strict";
|
17484
17487
|
init_entity();
|
17485
17488
|
TableName = Symbol.for("drizzle:Name");
|
@@ -17539,7 +17542,7 @@ var init_table = __esm({
|
|
17539
17542
|
}
|
17540
17543
|
});
|
17541
17544
|
|
17542
|
-
// ../
|
17545
|
+
// ../drizzle-orm/dist/pg-core/table.js
|
17543
17546
|
function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
17544
17547
|
const rawTable = new PgTable(name2, schema4, baseName);
|
17545
17548
|
const builtColumns = Object.fromEntries(
|
@@ -17567,7 +17570,7 @@ function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name
|
|
17567
17570
|
}
|
17568
17571
|
var InlineForeignKeys, _a4, _b2, _c2, _d2, PgTable, pgTable;
|
17569
17572
|
var init_table2 = __esm({
|
17570
|
-
"../
|
17573
|
+
"../drizzle-orm/dist/pg-core/table.js"() {
|
17571
17574
|
"use strict";
|
17572
17575
|
init_entity();
|
17573
17576
|
init_table();
|
@@ -17592,10 +17595,10 @@ var init_table2 = __esm({
|
|
17592
17595
|
}
|
17593
17596
|
});
|
17594
17597
|
|
17595
|
-
// ../
|
17598
|
+
// ../drizzle-orm/dist/pg-core/foreign-keys.js
|
17596
17599
|
var _a5, ForeignKeyBuilder, _a6, ForeignKey;
|
17597
17600
|
var init_foreign_keys = __esm({
|
17598
|
-
"../
|
17601
|
+
"../drizzle-orm/dist/pg-core/foreign-keys.js"() {
|
17599
17602
|
"use strict";
|
17600
17603
|
init_entity();
|
17601
17604
|
init_table2();
|
@@ -17659,23 +17662,23 @@ var init_foreign_keys = __esm({
|
|
17659
17662
|
}
|
17660
17663
|
});
|
17661
17664
|
|
17662
|
-
// ../
|
17665
|
+
// ../drizzle-orm/dist/tracing-utils.js
|
17663
17666
|
function iife(fn, ...args) {
|
17664
17667
|
return fn(...args);
|
17665
17668
|
}
|
17666
17669
|
var init_tracing_utils = __esm({
|
17667
|
-
"../
|
17670
|
+
"../drizzle-orm/dist/tracing-utils.js"() {
|
17668
17671
|
"use strict";
|
17669
17672
|
}
|
17670
17673
|
});
|
17671
17674
|
|
17672
|
-
// ../
|
17675
|
+
// ../drizzle-orm/dist/pg-core/unique-constraint.js
|
17673
17676
|
function uniqueKeyName(table4, columns) {
|
17674
17677
|
return `${table4[PgTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
17675
17678
|
}
|
17676
17679
|
var _a7, UniqueConstraintBuilder, _a8, UniqueOnConstraintBuilder, _a9, UniqueConstraint;
|
17677
17680
|
var init_unique_constraint = __esm({
|
17678
|
-
"../
|
17681
|
+
"../drizzle-orm/dist/pg-core/unique-constraint.js"() {
|
17679
17682
|
"use strict";
|
17680
17683
|
init_entity();
|
17681
17684
|
init_table2();
|
@@ -17730,7 +17733,7 @@ var init_unique_constraint = __esm({
|
|
17730
17733
|
}
|
17731
17734
|
});
|
17732
17735
|
|
17733
|
-
// ../
|
17736
|
+
// ../drizzle-orm/dist/pg-core/utils/array.js
|
17734
17737
|
function parsePgArrayValue(arrayString, startFrom, inQuotes) {
|
17735
17738
|
for (let i = startFrom; i < arrayString.length; i++) {
|
17736
17739
|
const char = arrayString[i];
|
@@ -17806,15 +17809,15 @@ function makePgArray(array) {
|
|
17806
17809
|
}).join(",")}}`;
|
17807
17810
|
}
|
17808
17811
|
var init_array = __esm({
|
17809
|
-
"../
|
17812
|
+
"../drizzle-orm/dist/pg-core/utils/array.js"() {
|
17810
17813
|
"use strict";
|
17811
17814
|
}
|
17812
17815
|
});
|
17813
17816
|
|
17814
|
-
// ../
|
17817
|
+
// ../drizzle-orm/dist/pg-core/columns/common.js
|
17815
17818
|
var _a10, _b3, PgColumnBuilder, _a11, _b4, PgColumn, _a12, _b5, ExtraConfigColumn, _a13, IndexedColumn, _a14, _b6, PgArrayBuilder, _a15, _b7, _PgArray, PgArray;
|
17816
17819
|
var init_common2 = __esm({
|
17817
|
-
"../
|
17820
|
+
"../drizzle-orm/dist/pg-core/columns/common.js"() {
|
17818
17821
|
"use strict";
|
17819
17822
|
init_column_builder();
|
17820
17823
|
init_column();
|
@@ -18015,7 +18018,7 @@ var init_common2 = __esm({
|
|
18015
18018
|
}
|
18016
18019
|
});
|
18017
18020
|
|
18018
|
-
// ../
|
18021
|
+
// ../drizzle-orm/dist/pg-core/columns/enum.js
|
18019
18022
|
function isPgEnum(obj) {
|
18020
18023
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
18021
18024
|
}
|
@@ -18033,7 +18036,7 @@ function pgEnumWithSchema(enumName, values, schema4) {
|
|
18033
18036
|
}
|
18034
18037
|
var isPgEnumSym, _a16, _b8, PgEnumColumnBuilder, _a17, _b9, PgEnumColumn;
|
18035
18038
|
var init_enum = __esm({
|
18036
|
-
"../
|
18039
|
+
"../drizzle-orm/dist/pg-core/columns/enum.js"() {
|
18037
18040
|
"use strict";
|
18038
18041
|
init_entity();
|
18039
18042
|
init_common2();
|
@@ -18067,10 +18070,10 @@ var init_enum = __esm({
|
|
18067
18070
|
}
|
18068
18071
|
});
|
18069
18072
|
|
18070
|
-
// ../
|
18073
|
+
// ../drizzle-orm/dist/subquery.js
|
18071
18074
|
var _a18, Subquery, _a19, _b10, WithSubquery;
|
18072
18075
|
var init_subquery = __esm({
|
18073
|
-
"../
|
18076
|
+
"../drizzle-orm/dist/subquery.js"() {
|
18074
18077
|
"use strict";
|
18075
18078
|
init_entity();
|
18076
18079
|
_a18 = entityKind;
|
@@ -18095,19 +18098,19 @@ var init_subquery = __esm({
|
|
18095
18098
|
}
|
18096
18099
|
});
|
18097
18100
|
|
18098
|
-
// ../
|
18101
|
+
// ../drizzle-orm/dist/version.js
|
18099
18102
|
var version;
|
18100
18103
|
var init_version = __esm({
|
18101
|
-
"../
|
18104
|
+
"../drizzle-orm/dist/version.js"() {
|
18102
18105
|
"use strict";
|
18103
|
-
version = "0.32.
|
18106
|
+
version = "0.32.2";
|
18104
18107
|
}
|
18105
18108
|
});
|
18106
18109
|
|
18107
|
-
// ../
|
18110
|
+
// ../drizzle-orm/dist/tracing.js
|
18108
18111
|
var otel, rawTracer, tracer;
|
18109
18112
|
var init_tracing = __esm({
|
18110
|
-
"../
|
18113
|
+
"../drizzle-orm/dist/tracing.js"() {
|
18111
18114
|
"use strict";
|
18112
18115
|
init_tracing_utils();
|
18113
18116
|
init_version();
|
@@ -18145,16 +18148,16 @@ var init_tracing = __esm({
|
|
18145
18148
|
}
|
18146
18149
|
});
|
18147
18150
|
|
18148
|
-
// ../
|
18151
|
+
// ../drizzle-orm/dist/view-common.js
|
18149
18152
|
var ViewBaseConfig;
|
18150
18153
|
var init_view_common = __esm({
|
18151
|
-
"../
|
18154
|
+
"../drizzle-orm/dist/view-common.js"() {
|
18152
18155
|
"use strict";
|
18153
18156
|
ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
18154
18157
|
}
|
18155
18158
|
});
|
18156
18159
|
|
18157
|
-
// ../
|
18160
|
+
// ../drizzle-orm/dist/sql/sql.js
|
18158
18161
|
function isSQLWrapper(value) {
|
18159
18162
|
return value !== null && value !== void 0 && typeof value.getSQL === "function";
|
18160
18163
|
}
|
@@ -18207,7 +18210,7 @@ function fillPlaceholders(params, values) {
|
|
18207
18210
|
}
|
18208
18211
|
var _a20, FakePrimitiveParam, _a21, StringChunk, _a22, _SQL, SQL, _a23, Name, noopDecoder, noopEncoder, noopMapper, _a24, Param, _a25, Placeholder, _a26, _b11, View;
|
18209
18212
|
var init_sql = __esm({
|
18210
|
-
"../
|
18213
|
+
"../drizzle-orm/dist/sql/sql.js"() {
|
18211
18214
|
"use strict";
|
18212
18215
|
init_entity();
|
18213
18216
|
init_enum();
|
@@ -18322,7 +18325,7 @@ var init_sql = __esm({
|
|
18322
18325
|
if (inlineParams) {
|
18323
18326
|
return { sql: this.mapInlineParam(mappedValue, config), params: [] };
|
18324
18327
|
}
|
18325
|
-
let typings;
|
18328
|
+
let typings = ["none"];
|
18326
18329
|
if (prepareTyping) {
|
18327
18330
|
typings = [prepareTyping(chunk.encoder)];
|
18328
18331
|
}
|
@@ -18364,7 +18367,7 @@ var init_sql = __esm({
|
|
18364
18367
|
if (inlineParams) {
|
18365
18368
|
return { sql: this.mapInlineParam(chunk, config), params: [] };
|
18366
18369
|
}
|
18367
|
-
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
|
18370
|
+
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
|
18368
18371
|
}));
|
18369
18372
|
}
|
18370
18373
|
mapInlineParam(chunk, { escapeString }) {
|
@@ -18553,7 +18556,7 @@ var init_sql = __esm({
|
|
18553
18556
|
}
|
18554
18557
|
});
|
18555
18558
|
|
18556
|
-
// ../
|
18559
|
+
// ../drizzle-orm/dist/alias.js
|
18557
18560
|
function aliasedTable(table4, tableAlias) {
|
18558
18561
|
return new Proxy(table4, new TableAliasProxyHandler(tableAlias, false));
|
18559
18562
|
}
|
@@ -18585,7 +18588,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
18585
18588
|
}
|
18586
18589
|
var _a27, ColumnAliasProxyHandler, _a28, TableAliasProxyHandler, _a29, RelationTableAliasProxyHandler;
|
18587
18590
|
var init_alias = __esm({
|
18588
|
-
"../
|
18591
|
+
"../drizzle-orm/dist/alias.js"() {
|
18589
18592
|
"use strict";
|
18590
18593
|
init_column();
|
18591
18594
|
init_entity();
|
@@ -18666,10 +18669,10 @@ var init_alias = __esm({
|
|
18666
18669
|
}
|
18667
18670
|
});
|
18668
18671
|
|
18669
|
-
// ../
|
18672
|
+
// ../drizzle-orm/dist/errors.js
|
18670
18673
|
var _a30, _b12, DrizzleError, _a31, _b13, TransactionRollbackError;
|
18671
18674
|
var init_errors = __esm({
|
18672
|
-
"../
|
18675
|
+
"../drizzle-orm/dist/errors.js"() {
|
18673
18676
|
"use strict";
|
18674
18677
|
init_entity();
|
18675
18678
|
DrizzleError = class extends (_b12 = Error, _a30 = entityKind, _b12) {
|
@@ -18689,7 +18692,7 @@ var init_errors = __esm({
|
|
18689
18692
|
}
|
18690
18693
|
});
|
18691
18694
|
|
18692
|
-
// ../
|
18695
|
+
// ../drizzle-orm/dist/sql/expressions/conditions.js
|
18693
18696
|
function bindIfParam(value, column4) {
|
18694
18697
|
if (isDriverValueEncoder(column4) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column2) && !is(value, Table2) && !is(value, View)) {
|
18695
18698
|
return new Param(value, column4);
|
@@ -18817,7 +18820,7 @@ function arrayOverlaps(column4, values) {
|
|
18817
18820
|
}
|
18818
18821
|
var eq, ne, gt, gte, lt, lte;
|
18819
18822
|
var init_conditions = __esm({
|
18820
|
-
"../
|
18823
|
+
"../drizzle-orm/dist/sql/expressions/conditions.js"() {
|
18821
18824
|
"use strict";
|
18822
18825
|
init_column();
|
18823
18826
|
init_entity();
|
@@ -18844,7 +18847,7 @@ var init_conditions = __esm({
|
|
18844
18847
|
}
|
18845
18848
|
});
|
18846
18849
|
|
18847
|
-
// ../
|
18850
|
+
// ../drizzle-orm/dist/sql/expressions/select.js
|
18848
18851
|
function asc(column4) {
|
18849
18852
|
return sql`${column4} asc`;
|
18850
18853
|
}
|
@@ -18852,33 +18855,33 @@ function desc(column4) {
|
|
18852
18855
|
return sql`${column4} desc`;
|
18853
18856
|
}
|
18854
18857
|
var init_select = __esm({
|
18855
|
-
"../
|
18858
|
+
"../drizzle-orm/dist/sql/expressions/select.js"() {
|
18856
18859
|
"use strict";
|
18857
18860
|
init_sql();
|
18858
18861
|
}
|
18859
18862
|
});
|
18860
18863
|
|
18861
|
-
// ../
|
18864
|
+
// ../drizzle-orm/dist/sql/expressions/index.js
|
18862
18865
|
var init_expressions = __esm({
|
18863
|
-
"../
|
18866
|
+
"../drizzle-orm/dist/sql/expressions/index.js"() {
|
18864
18867
|
"use strict";
|
18865
18868
|
init_conditions();
|
18866
18869
|
init_select();
|
18867
18870
|
}
|
18868
18871
|
});
|
18869
18872
|
|
18870
|
-
// ../
|
18873
|
+
// ../drizzle-orm/dist/expressions.js
|
18871
18874
|
var init_expressions2 = __esm({
|
18872
|
-
"../
|
18875
|
+
"../drizzle-orm/dist/expressions.js"() {
|
18873
18876
|
"use strict";
|
18874
18877
|
init_expressions();
|
18875
18878
|
}
|
18876
18879
|
});
|
18877
18880
|
|
18878
|
-
// ../
|
18881
|
+
// ../drizzle-orm/dist/logger.js
|
18879
18882
|
var _a32, ConsoleLogWriter, _a33, DefaultLogger, _a34, NoopLogger;
|
18880
18883
|
var init_logger = __esm({
|
18881
|
-
"../
|
18884
|
+
"../drizzle-orm/dist/logger.js"() {
|
18882
18885
|
"use strict";
|
18883
18886
|
init_entity();
|
18884
18887
|
_a32 = entityKind;
|
@@ -18916,17 +18919,17 @@ var init_logger = __esm({
|
|
18916
18919
|
}
|
18917
18920
|
});
|
18918
18921
|
|
18919
|
-
// ../
|
18922
|
+
// ../drizzle-orm/dist/operations.js
|
18920
18923
|
var init_operations = __esm({
|
18921
|
-
"../
|
18924
|
+
"../drizzle-orm/dist/operations.js"() {
|
18922
18925
|
"use strict";
|
18923
18926
|
}
|
18924
18927
|
});
|
18925
18928
|
|
18926
|
-
// ../
|
18929
|
+
// ../drizzle-orm/dist/query-promise.js
|
18927
18930
|
var _a35, _b14, QueryPromise;
|
18928
18931
|
var init_query_promise = __esm({
|
18929
|
-
"../
|
18932
|
+
"../drizzle-orm/dist/query-promise.js"() {
|
18930
18933
|
"use strict";
|
18931
18934
|
init_entity();
|
18932
18935
|
_b14 = entityKind, _a35 = Symbol.toStringTag;
|
@@ -18957,10 +18960,10 @@ var init_query_promise = __esm({
|
|
18957
18960
|
}
|
18958
18961
|
});
|
18959
18962
|
|
18960
|
-
// ../
|
18963
|
+
// ../drizzle-orm/dist/pg-core/primary-keys.js
|
18961
18964
|
var _a36, PrimaryKeyBuilder, _a37, PrimaryKey;
|
18962
18965
|
var init_primary_keys = __esm({
|
18963
|
-
"../
|
18966
|
+
"../drizzle-orm/dist/pg-core/primary-keys.js"() {
|
18964
18967
|
"use strict";
|
18965
18968
|
init_entity();
|
18966
18969
|
init_table2();
|
@@ -18997,7 +19000,7 @@ var init_primary_keys = __esm({
|
|
18997
19000
|
}
|
18998
19001
|
});
|
18999
19002
|
|
19000
|
-
// ../
|
19003
|
+
// ../drizzle-orm/dist/relations.js
|
19001
19004
|
function getOperators() {
|
19002
19005
|
return {
|
19003
19006
|
and,
|
@@ -19218,7 +19221,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
19218
19221
|
}
|
19219
19222
|
var _a38, Relation, _a39, Relations, _a40, _b15, _One, One, _a41, _b16, _Many, Many;
|
19220
19223
|
var init_relations = __esm({
|
19221
|
-
"../
|
19224
|
+
"../drizzle-orm/dist/relations.js"() {
|
19222
19225
|
"use strict";
|
19223
19226
|
init_table();
|
19224
19227
|
init_column();
|
@@ -19285,7 +19288,7 @@ var init_relations = __esm({
|
|
19285
19288
|
}
|
19286
19289
|
});
|
19287
19290
|
|
19288
|
-
// ../
|
19291
|
+
// ../drizzle-orm/dist/sql/functions/aggregate.js
|
19289
19292
|
function count(expression) {
|
19290
19293
|
return sql`count(${expression || sql.raw("*")})`.mapWith(Number);
|
19291
19294
|
}
|
@@ -19311,7 +19314,7 @@ function min(expression) {
|
|
19311
19314
|
return sql`min(${expression})`.mapWith(is(expression, Column2) ? expression : String);
|
19312
19315
|
}
|
19313
19316
|
var init_aggregate = __esm({
|
19314
|
-
"../
|
19317
|
+
"../drizzle-orm/dist/sql/functions/aggregate.js"() {
|
19315
19318
|
"use strict";
|
19316
19319
|
init_column();
|
19317
19320
|
init_entity();
|
@@ -19319,7 +19322,7 @@ var init_aggregate = __esm({
|
|
19319
19322
|
}
|
19320
19323
|
});
|
19321
19324
|
|
19322
|
-
// ../
|
19325
|
+
// ../drizzle-orm/dist/sql/functions/vector.js
|
19323
19326
|
function toSql(value) {
|
19324
19327
|
return JSON.stringify(value);
|
19325
19328
|
}
|
@@ -19360,24 +19363,24 @@ function jaccardDistance(column4, value) {
|
|
19360
19363
|
return sql`${column4} <%> ${value}`;
|
19361
19364
|
}
|
19362
19365
|
var init_vector = __esm({
|
19363
|
-
"../
|
19366
|
+
"../drizzle-orm/dist/sql/functions/vector.js"() {
|
19364
19367
|
"use strict";
|
19365
19368
|
init_sql();
|
19366
19369
|
}
|
19367
19370
|
});
|
19368
19371
|
|
19369
|
-
// ../
|
19372
|
+
// ../drizzle-orm/dist/sql/functions/index.js
|
19370
19373
|
var init_functions = __esm({
|
19371
|
-
"../
|
19374
|
+
"../drizzle-orm/dist/sql/functions/index.js"() {
|
19372
19375
|
"use strict";
|
19373
19376
|
init_aggregate();
|
19374
19377
|
init_vector();
|
19375
19378
|
}
|
19376
19379
|
});
|
19377
19380
|
|
19378
|
-
// ../
|
19381
|
+
// ../drizzle-orm/dist/sql/index.js
|
19379
19382
|
var init_sql2 = __esm({
|
19380
|
-
"../
|
19383
|
+
"../drizzle-orm/dist/sql/index.js"() {
|
19381
19384
|
"use strict";
|
19382
19385
|
init_expressions();
|
19383
19386
|
init_functions();
|
@@ -19385,7 +19388,7 @@ var init_sql2 = __esm({
|
|
19385
19388
|
}
|
19386
19389
|
});
|
19387
19390
|
|
19388
|
-
// ../
|
19391
|
+
// ../drizzle-orm/dist/utils.js
|
19389
19392
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
19390
19393
|
const nullifyMap = {};
|
19391
19394
|
const result = columns.reduce(
|
@@ -19493,7 +19496,7 @@ function getTableLikeName(table4) {
|
|
19493
19496
|
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];
|
19494
19497
|
}
|
19495
19498
|
var init_utils2 = __esm({
|
19496
|
-
"../
|
19499
|
+
"../drizzle-orm/dist/utils.js"() {
|
19497
19500
|
"use strict";
|
19498
19501
|
init_column();
|
19499
19502
|
init_entity();
|
@@ -19504,9 +19507,9 @@ var init_utils2 = __esm({
|
|
19504
19507
|
}
|
19505
19508
|
});
|
19506
19509
|
|
19507
|
-
// ../
|
19508
|
-
var
|
19509
|
-
__export(
|
19510
|
+
// ../drizzle-orm/dist/index.js
|
19511
|
+
var dist_exports = {};
|
19512
|
+
__export(dist_exports, {
|
19510
19513
|
BaseName: () => BaseName,
|
19511
19514
|
Column: () => Column2,
|
19512
19515
|
ColumnAliasProxyHandler: () => ColumnAliasProxyHandler,
|
@@ -19620,8 +19623,8 @@ __export(drizzle_orm_exports, {
|
|
19620
19623
|
sum: () => sum,
|
19621
19624
|
sumDistinct: () => sumDistinct
|
19622
19625
|
});
|
19623
|
-
var
|
19624
|
-
"../
|
19626
|
+
var init_dist = __esm({
|
19627
|
+
"../drizzle-orm/dist/index.js"() {
|
19625
19628
|
"use strict";
|
19626
19629
|
init_alias();
|
19627
19630
|
init_column_builder();
|
@@ -19641,17 +19644,17 @@ var init_drizzle_orm = __esm({
|
|
19641
19644
|
}
|
19642
19645
|
});
|
19643
19646
|
|
19644
|
-
// ../
|
19647
|
+
// ../drizzle-orm/dist/pg-core/alias.js
|
19645
19648
|
var init_alias2 = __esm({
|
19646
|
-
"../
|
19649
|
+
"../drizzle-orm/dist/pg-core/alias.js"() {
|
19647
19650
|
"use strict";
|
19648
19651
|
}
|
19649
19652
|
});
|
19650
19653
|
|
19651
|
-
// ../
|
19654
|
+
// ../drizzle-orm/dist/pg-core/checks.js
|
19652
19655
|
var _a42, CheckBuilder, _a43, Check;
|
19653
19656
|
var init_checks = __esm({
|
19654
|
-
"../
|
19657
|
+
"../drizzle-orm/dist/pg-core/checks.js"() {
|
19655
19658
|
"use strict";
|
19656
19659
|
init_entity();
|
19657
19660
|
_a42 = entityKind;
|
@@ -19681,10 +19684,10 @@ var init_checks = __esm({
|
|
19681
19684
|
}
|
19682
19685
|
});
|
19683
19686
|
|
19684
|
-
// ../
|
19687
|
+
// ../drizzle-orm/dist/pg-core/columns/int.common.js
|
19685
19688
|
var _a44, _b17, PgIntColumnBaseBuilder;
|
19686
19689
|
var init_int_common = __esm({
|
19687
|
-
"../
|
19690
|
+
"../drizzle-orm/dist/pg-core/columns/int.common.js"() {
|
19688
19691
|
"use strict";
|
19689
19692
|
init_entity();
|
19690
19693
|
init_common2();
|
@@ -19728,10 +19731,10 @@ var init_int_common = __esm({
|
|
19728
19731
|
}
|
19729
19732
|
});
|
19730
19733
|
|
19731
|
-
// ../
|
19734
|
+
// ../drizzle-orm/dist/pg-core/columns/bigint.js
|
19732
19735
|
var _a45, _b18, PgBigInt53Builder, _a46, _b19, PgBigInt53, _a47, _b20, PgBigInt64Builder, _a48, _b21, PgBigInt64;
|
19733
19736
|
var init_bigint = __esm({
|
19734
|
-
"../
|
19737
|
+
"../drizzle-orm/dist/pg-core/columns/bigint.js"() {
|
19735
19738
|
"use strict";
|
19736
19739
|
init_entity();
|
19737
19740
|
init_common2();
|
@@ -19784,10 +19787,10 @@ var init_bigint = __esm({
|
|
19784
19787
|
}
|
19785
19788
|
});
|
19786
19789
|
|
19787
|
-
// ../
|
19790
|
+
// ../drizzle-orm/dist/pg-core/columns/bigserial.js
|
19788
19791
|
var _a49, _b22, PgBigSerial53Builder, _a50, _b23, PgBigSerial53, _a51, _b24, PgBigSerial64Builder, _a52, _b25, PgBigSerial64;
|
19789
19792
|
var init_bigserial = __esm({
|
19790
|
-
"../
|
19793
|
+
"../drizzle-orm/dist/pg-core/columns/bigserial.js"() {
|
19791
19794
|
"use strict";
|
19792
19795
|
init_entity();
|
19793
19796
|
init_common2();
|
@@ -19845,10 +19848,10 @@ var init_bigserial = __esm({
|
|
19845
19848
|
}
|
19846
19849
|
});
|
19847
19850
|
|
19848
|
-
// ../
|
19851
|
+
// ../drizzle-orm/dist/pg-core/columns/boolean.js
|
19849
19852
|
var _a53, _b26, PgBooleanBuilder, _a54, _b27, PgBoolean;
|
19850
19853
|
var init_boolean = __esm({
|
19851
|
-
"../
|
19854
|
+
"../drizzle-orm/dist/pg-core/columns/boolean.js"() {
|
19852
19855
|
"use strict";
|
19853
19856
|
init_entity();
|
19854
19857
|
init_common2();
|
@@ -19871,10 +19874,10 @@ var init_boolean = __esm({
|
|
19871
19874
|
}
|
19872
19875
|
});
|
19873
19876
|
|
19874
|
-
// ../
|
19877
|
+
// ../drizzle-orm/dist/pg-core/columns/char.js
|
19875
19878
|
var _a55, _b28, PgCharBuilder, _a56, _b29, PgChar;
|
19876
19879
|
var init_char = __esm({
|
19877
|
-
"../
|
19880
|
+
"../drizzle-orm/dist/pg-core/columns/char.js"() {
|
19878
19881
|
"use strict";
|
19879
19882
|
init_entity();
|
19880
19883
|
init_common2();
|
@@ -19904,10 +19907,10 @@ var init_char = __esm({
|
|
19904
19907
|
}
|
19905
19908
|
});
|
19906
19909
|
|
19907
|
-
// ../
|
19910
|
+
// ../drizzle-orm/dist/pg-core/columns/cidr.js
|
19908
19911
|
var _a57, _b30, PgCidrBuilder, _a58, _b31, PgCidr;
|
19909
19912
|
var init_cidr = __esm({
|
19910
|
-
"../
|
19913
|
+
"../drizzle-orm/dist/pg-core/columns/cidr.js"() {
|
19911
19914
|
"use strict";
|
19912
19915
|
init_entity();
|
19913
19916
|
init_common2();
|
@@ -19930,10 +19933,10 @@ var init_cidr = __esm({
|
|
19930
19933
|
}
|
19931
19934
|
});
|
19932
19935
|
|
19933
|
-
// ../
|
19936
|
+
// ../drizzle-orm/dist/pg-core/columns/custom.js
|
19934
19937
|
var _a59, _b32, PgCustomColumnBuilder, _a60, _b33, PgCustomColumn;
|
19935
19938
|
var init_custom = __esm({
|
19936
|
-
"../
|
19939
|
+
"../drizzle-orm/dist/pg-core/columns/custom.js"() {
|
19937
19940
|
"use strict";
|
19938
19941
|
init_entity();
|
19939
19942
|
init_common2();
|
@@ -19976,10 +19979,10 @@ var init_custom = __esm({
|
|
19976
19979
|
}
|
19977
19980
|
});
|
19978
19981
|
|
19979
|
-
// ../
|
19982
|
+
// ../drizzle-orm/dist/pg-core/columns/date.common.js
|
19980
19983
|
var _a61, _b34, PgDateColumnBaseBuilder;
|
19981
19984
|
var init_date_common = __esm({
|
19982
|
-
"../
|
19985
|
+
"../drizzle-orm/dist/pg-core/columns/date.common.js"() {
|
19983
19986
|
"use strict";
|
19984
19987
|
init_entity();
|
19985
19988
|
init_sql();
|
@@ -19993,10 +19996,10 @@ var init_date_common = __esm({
|
|
19993
19996
|
}
|
19994
19997
|
});
|
19995
19998
|
|
19996
|
-
// ../
|
19999
|
+
// ../drizzle-orm/dist/pg-core/columns/date.js
|
19997
20000
|
var _a62, _b35, PgDateBuilder, _a63, _b36, PgDate, _a64, _b37, PgDateStringBuilder, _a65, _b38, PgDateString;
|
19998
20001
|
var init_date = __esm({
|
19999
|
-
"../
|
20002
|
+
"../drizzle-orm/dist/pg-core/columns/date.js"() {
|
20000
20003
|
"use strict";
|
20001
20004
|
init_entity();
|
20002
20005
|
init_common2();
|
@@ -20045,10 +20048,10 @@ var init_date = __esm({
|
|
20045
20048
|
}
|
20046
20049
|
});
|
20047
20050
|
|
20048
|
-
// ../
|
20051
|
+
// ../drizzle-orm/dist/pg-core/columns/double-precision.js
|
20049
20052
|
var _a66, _b39, PgDoublePrecisionBuilder, _a67, _b40, PgDoublePrecision;
|
20050
20053
|
var init_double_precision = __esm({
|
20051
|
-
"../
|
20054
|
+
"../drizzle-orm/dist/pg-core/columns/double-precision.js"() {
|
20052
20055
|
"use strict";
|
20053
20056
|
init_entity();
|
20054
20057
|
init_common2();
|
@@ -20080,10 +20083,10 @@ var init_double_precision = __esm({
|
|
20080
20083
|
}
|
20081
20084
|
});
|
20082
20085
|
|
20083
|
-
// ../
|
20086
|
+
// ../drizzle-orm/dist/pg-core/columns/inet.js
|
20084
20087
|
var _a68, _b41, PgInetBuilder, _a69, _b42, PgInet;
|
20085
20088
|
var init_inet = __esm({
|
20086
|
-
"../
|
20089
|
+
"../drizzle-orm/dist/pg-core/columns/inet.js"() {
|
20087
20090
|
"use strict";
|
20088
20091
|
init_entity();
|
20089
20092
|
init_common2();
|
@@ -20106,10 +20109,10 @@ var init_inet = __esm({
|
|
20106
20109
|
}
|
20107
20110
|
});
|
20108
20111
|
|
20109
|
-
// ../
|
20112
|
+
// ../drizzle-orm/dist/pg-core/columns/integer.js
|
20110
20113
|
var _a70, _b43, PgIntegerBuilder, _a71, _b44, PgInteger;
|
20111
20114
|
var init_integer = __esm({
|
20112
|
-
"../
|
20115
|
+
"../drizzle-orm/dist/pg-core/columns/integer.js"() {
|
20113
20116
|
"use strict";
|
20114
20117
|
init_entity();
|
20115
20118
|
init_common2();
|
@@ -20139,10 +20142,10 @@ var init_integer = __esm({
|
|
20139
20142
|
}
|
20140
20143
|
});
|
20141
20144
|
|
20142
|
-
// ../
|
20145
|
+
// ../drizzle-orm/dist/pg-core/columns/interval.js
|
20143
20146
|
var _a72, _b45, PgIntervalBuilder, _a73, _b46, PgInterval;
|
20144
20147
|
var init_interval = __esm({
|
20145
|
-
"../
|
20148
|
+
"../drizzle-orm/dist/pg-core/columns/interval.js"() {
|
20146
20149
|
"use strict";
|
20147
20150
|
init_entity();
|
20148
20151
|
init_common2();
|
@@ -20173,10 +20176,10 @@ var init_interval = __esm({
|
|
20173
20176
|
}
|
20174
20177
|
});
|
20175
20178
|
|
20176
|
-
// ../
|
20179
|
+
// ../drizzle-orm/dist/pg-core/columns/json.js
|
20177
20180
|
var _a74, _b47, PgJsonBuilder, _a75, _b48, PgJson;
|
20178
20181
|
var init_json = __esm({
|
20179
|
-
"../
|
20182
|
+
"../drizzle-orm/dist/pg-core/columns/json.js"() {
|
20180
20183
|
"use strict";
|
20181
20184
|
init_entity();
|
20182
20185
|
init_common2();
|
@@ -20215,10 +20218,10 @@ var init_json = __esm({
|
|
20215
20218
|
}
|
20216
20219
|
});
|
20217
20220
|
|
20218
|
-
// ../
|
20221
|
+
// ../drizzle-orm/dist/pg-core/columns/jsonb.js
|
20219
20222
|
var _a76, _b49, PgJsonbBuilder, _a77, _b50, PgJsonb;
|
20220
20223
|
var init_jsonb = __esm({
|
20221
|
-
"../
|
20224
|
+
"../drizzle-orm/dist/pg-core/columns/jsonb.js"() {
|
20222
20225
|
"use strict";
|
20223
20226
|
init_entity();
|
20224
20227
|
init_common2();
|
@@ -20257,10 +20260,10 @@ var init_jsonb = __esm({
|
|
20257
20260
|
}
|
20258
20261
|
});
|
20259
20262
|
|
20260
|
-
// ../
|
20263
|
+
// ../drizzle-orm/dist/pg-core/columns/line.js
|
20261
20264
|
var _a78, _b51, PgLineBuilder, _a79, _b52, PgLineTuple, _a80, _b53, PgLineABCBuilder, _a81, _b54, PgLineABC;
|
20262
20265
|
var init_line = __esm({
|
20263
|
-
"../
|
20266
|
+
"../drizzle-orm/dist/pg-core/columns/line.js"() {
|
20264
20267
|
"use strict";
|
20265
20268
|
init_entity();
|
20266
20269
|
init_common2();
|
@@ -20319,10 +20322,10 @@ var init_line = __esm({
|
|
20319
20322
|
}
|
20320
20323
|
});
|
20321
20324
|
|
20322
|
-
// ../
|
20325
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr.js
|
20323
20326
|
var _a82, _b55, PgMacaddrBuilder, _a83, _b56, PgMacaddr;
|
20324
20327
|
var init_macaddr = __esm({
|
20325
|
-
"../
|
20328
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr.js"() {
|
20326
20329
|
"use strict";
|
20327
20330
|
init_entity();
|
20328
20331
|
init_common2();
|
@@ -20345,10 +20348,10 @@ var init_macaddr = __esm({
|
|
20345
20348
|
}
|
20346
20349
|
});
|
20347
20350
|
|
20348
|
-
// ../
|
20351
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr8.js
|
20349
20352
|
var _a84, _b57, PgMacaddr8Builder, _a85, _b58, PgMacaddr8;
|
20350
20353
|
var init_macaddr8 = __esm({
|
20351
|
-
"../
|
20354
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr8.js"() {
|
20352
20355
|
"use strict";
|
20353
20356
|
init_entity();
|
20354
20357
|
init_common2();
|
@@ -20371,10 +20374,10 @@ var init_macaddr8 = __esm({
|
|
20371
20374
|
}
|
20372
20375
|
});
|
20373
20376
|
|
20374
|
-
// ../
|
20377
|
+
// ../drizzle-orm/dist/pg-core/columns/numeric.js
|
20375
20378
|
var _a86, _b59, PgNumericBuilder, _a87, _b60, PgNumeric;
|
20376
20379
|
var init_numeric = __esm({
|
20377
|
-
"../
|
20380
|
+
"../drizzle-orm/dist/pg-core/columns/numeric.js"() {
|
20378
20381
|
"use strict";
|
20379
20382
|
init_entity();
|
20380
20383
|
init_common2();
|
@@ -20412,10 +20415,10 @@ var init_numeric = __esm({
|
|
20412
20415
|
}
|
20413
20416
|
});
|
20414
20417
|
|
20415
|
-
// ../
|
20418
|
+
// ../drizzle-orm/dist/pg-core/columns/point.js
|
20416
20419
|
var _a88, _b61, PgPointTupleBuilder, _a89, _b62, PgPointTuple, _a90, _b63, PgPointObjectBuilder, _a91, _b64, PgPointObject;
|
20417
20420
|
var init_point = __esm({
|
20418
|
-
"../
|
20421
|
+
"../drizzle-orm/dist/pg-core/columns/point.js"() {
|
20419
20422
|
"use strict";
|
20420
20423
|
init_entity();
|
20421
20424
|
init_common2();
|
@@ -20480,7 +20483,7 @@ var init_point = __esm({
|
|
20480
20483
|
}
|
20481
20484
|
});
|
20482
20485
|
|
20483
|
-
// ../
|
20486
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js
|
20484
20487
|
function hexToBytes(hex) {
|
20485
20488
|
const bytes = [];
|
20486
20489
|
for (let c = 0; c < hex.length; c += 2) {
|
@@ -20519,15 +20522,15 @@ function parseEWKB(hex) {
|
|
20519
20522
|
throw new Error("Unsupported geometry type");
|
20520
20523
|
}
|
20521
20524
|
var init_utils3 = __esm({
|
20522
|
-
"../
|
20525
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js"() {
|
20523
20526
|
"use strict";
|
20524
20527
|
}
|
20525
20528
|
});
|
20526
20529
|
|
20527
|
-
// ../
|
20530
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js
|
20528
20531
|
var _a92, _b65, PgGeometryBuilder, _a93, _b66, PgGeometry, _a94, _b67, PgGeometryObjectBuilder, _a95, _b68, PgGeometryObject;
|
20529
20532
|
var init_geometry = __esm({
|
20530
|
-
"../
|
20533
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js"() {
|
20531
20534
|
"use strict";
|
20532
20535
|
init_entity();
|
20533
20536
|
init_common2();
|
@@ -20586,10 +20589,10 @@ var init_geometry = __esm({
|
|
20586
20589
|
}
|
20587
20590
|
});
|
20588
20591
|
|
20589
|
-
// ../
|
20592
|
+
// ../drizzle-orm/dist/pg-core/columns/real.js
|
20590
20593
|
var _a96, _b69, PgRealBuilder, _a97, _b70, PgReal;
|
20591
20594
|
var init_real = __esm({
|
20592
|
-
"../
|
20595
|
+
"../drizzle-orm/dist/pg-core/columns/real.js"() {
|
20593
20596
|
"use strict";
|
20594
20597
|
init_entity();
|
20595
20598
|
init_common2();
|
@@ -20622,10 +20625,10 @@ var init_real = __esm({
|
|
20622
20625
|
}
|
20623
20626
|
});
|
20624
20627
|
|
20625
|
-
// ../
|
20628
|
+
// ../drizzle-orm/dist/pg-core/columns/serial.js
|
20626
20629
|
var _a98, _b71, PgSerialBuilder, _a99, _b72, PgSerial;
|
20627
20630
|
var init_serial = __esm({
|
20628
|
-
"../
|
20631
|
+
"../drizzle-orm/dist/pg-core/columns/serial.js"() {
|
20629
20632
|
"use strict";
|
20630
20633
|
init_entity();
|
20631
20634
|
init_common2();
|
@@ -20650,10 +20653,10 @@ var init_serial = __esm({
|
|
20650
20653
|
}
|
20651
20654
|
});
|
20652
20655
|
|
20653
|
-
// ../
|
20656
|
+
// ../drizzle-orm/dist/pg-core/columns/smallint.js
|
20654
20657
|
var _a100, _b73, PgSmallIntBuilder, _a101, _b74, PgSmallInt;
|
20655
20658
|
var init_smallint = __esm({
|
20656
|
-
"../
|
20659
|
+
"../drizzle-orm/dist/pg-core/columns/smallint.js"() {
|
20657
20660
|
"use strict";
|
20658
20661
|
init_entity();
|
20659
20662
|
init_common2();
|
@@ -20686,10 +20689,10 @@ var init_smallint = __esm({
|
|
20686
20689
|
}
|
20687
20690
|
});
|
20688
20691
|
|
20689
|
-
// ../
|
20692
|
+
// ../drizzle-orm/dist/pg-core/columns/smallserial.js
|
20690
20693
|
var _a102, _b75, PgSmallSerialBuilder, _a103, _b76, PgSmallSerial;
|
20691
20694
|
var init_smallserial = __esm({
|
20692
|
-
"../
|
20695
|
+
"../drizzle-orm/dist/pg-core/columns/smallserial.js"() {
|
20693
20696
|
"use strict";
|
20694
20697
|
init_entity();
|
20695
20698
|
init_common2();
|
@@ -20717,10 +20720,10 @@ var init_smallserial = __esm({
|
|
20717
20720
|
}
|
20718
20721
|
});
|
20719
20722
|
|
20720
|
-
// ../
|
20723
|
+
// ../drizzle-orm/dist/pg-core/columns/text.js
|
20721
20724
|
var _a104, _b77, PgTextBuilder, _a105, _b78, PgText;
|
20722
20725
|
var init_text = __esm({
|
20723
|
-
"../
|
20726
|
+
"../drizzle-orm/dist/pg-core/columns/text.js"() {
|
20724
20727
|
"use strict";
|
20725
20728
|
init_entity();
|
20726
20729
|
init_common2();
|
@@ -20748,10 +20751,10 @@ var init_text = __esm({
|
|
20748
20751
|
}
|
20749
20752
|
});
|
20750
20753
|
|
20751
|
-
// ../
|
20754
|
+
// ../drizzle-orm/dist/pg-core/columns/time.js
|
20752
20755
|
var _a106, _b79, PgTimeBuilder, _a107, _b80, PgTime;
|
20753
20756
|
var init_time = __esm({
|
20754
|
-
"../
|
20757
|
+
"../drizzle-orm/dist/pg-core/columns/time.js"() {
|
20755
20758
|
"use strict";
|
20756
20759
|
init_entity();
|
20757
20760
|
init_common2();
|
@@ -20787,10 +20790,10 @@ var init_time = __esm({
|
|
20787
20790
|
}
|
20788
20791
|
});
|
20789
20792
|
|
20790
|
-
// ../
|
20793
|
+
// ../drizzle-orm/dist/pg-core/columns/timestamp.js
|
20791
20794
|
var _a108, _b81, PgTimestampBuilder, _a109, _b82, PgTimestamp, _a110, _b83, PgTimestampStringBuilder, _a111, _b84, PgTimestampString;
|
20792
20795
|
var init_timestamp = __esm({
|
20793
|
-
"../
|
20796
|
+
"../drizzle-orm/dist/pg-core/columns/timestamp.js"() {
|
20794
20797
|
"use strict";
|
20795
20798
|
init_entity();
|
20796
20799
|
init_common2();
|
@@ -20859,10 +20862,10 @@ var init_timestamp = __esm({
|
|
20859
20862
|
}
|
20860
20863
|
});
|
20861
20864
|
|
20862
|
-
// ../
|
20865
|
+
// ../drizzle-orm/dist/pg-core/columns/uuid.js
|
20863
20866
|
var _a112, _b85, PgUUIDBuilder, _a113, _b86, PgUUID;
|
20864
20867
|
var init_uuid = __esm({
|
20865
|
-
"../
|
20868
|
+
"../drizzle-orm/dist/pg-core/columns/uuid.js"() {
|
20866
20869
|
"use strict";
|
20867
20870
|
init_entity();
|
20868
20871
|
init_sql();
|
@@ -20892,10 +20895,10 @@ var init_uuid = __esm({
|
|
20892
20895
|
}
|
20893
20896
|
});
|
20894
20897
|
|
20895
|
-
// ../
|
20898
|
+
// ../drizzle-orm/dist/pg-core/columns/varchar.js
|
20896
20899
|
var _a114, _b87, PgVarcharBuilder, _a115, _b88, PgVarchar;
|
20897
20900
|
var init_varchar = __esm({
|
20898
|
-
"../
|
20901
|
+
"../drizzle-orm/dist/pg-core/columns/varchar.js"() {
|
20899
20902
|
"use strict";
|
20900
20903
|
init_entity();
|
20901
20904
|
init_common2();
|
@@ -20925,10 +20928,10 @@ var init_varchar = __esm({
|
|
20925
20928
|
}
|
20926
20929
|
});
|
20927
20930
|
|
20928
|
-
// ../
|
20931
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js
|
20929
20932
|
var _a116, _b89, PgBinaryVectorBuilder, _a117, _b90, PgBinaryVector;
|
20930
20933
|
var init_bit = __esm({
|
20931
|
-
"../
|
20934
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js"() {
|
20932
20935
|
"use strict";
|
20933
20936
|
init_entity();
|
20934
20937
|
init_common2();
|
@@ -20959,10 +20962,10 @@ var init_bit = __esm({
|
|
20959
20962
|
}
|
20960
20963
|
});
|
20961
20964
|
|
20962
|
-
// ../
|
20965
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js
|
20963
20966
|
var _a118, _b91, PgHalfVectorBuilder, _a119, _b92, PgHalfVector;
|
20964
20967
|
var init_halfvec = __esm({
|
20965
|
-
"../
|
20968
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js"() {
|
20966
20969
|
"use strict";
|
20967
20970
|
init_entity();
|
20968
20971
|
init_common2();
|
@@ -20999,10 +21002,10 @@ var init_halfvec = __esm({
|
|
20999
21002
|
}
|
21000
21003
|
});
|
21001
21004
|
|
21002
|
-
// ../
|
21005
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js
|
21003
21006
|
var _a120, _b93, PgSparseVectorBuilder, _a121, _b94, PgSparseVector;
|
21004
21007
|
var init_sparsevec = __esm({
|
21005
|
-
"../
|
21008
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js"() {
|
21006
21009
|
"use strict";
|
21007
21010
|
init_entity();
|
21008
21011
|
init_common2();
|
@@ -21033,10 +21036,10 @@ var init_sparsevec = __esm({
|
|
21033
21036
|
}
|
21034
21037
|
});
|
21035
21038
|
|
21036
|
-
// ../
|
21039
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js
|
21037
21040
|
var _a122, _b95, PgVectorBuilder, _a123, _b96, PgVector;
|
21038
21041
|
var init_vector2 = __esm({
|
21039
|
-
"../
|
21042
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js"() {
|
21040
21043
|
"use strict";
|
21041
21044
|
init_entity();
|
21042
21045
|
init_common2();
|
@@ -21070,9 +21073,9 @@ var init_vector2 = __esm({
|
|
21070
21073
|
}
|
21071
21074
|
});
|
21072
21075
|
|
21073
|
-
// ../
|
21076
|
+
// ../drizzle-orm/dist/pg-core/columns/index.js
|
21074
21077
|
var init_columns = __esm({
|
21075
|
-
"../
|
21078
|
+
"../drizzle-orm/dist/pg-core/columns/index.js"() {
|
21076
21079
|
"use strict";
|
21077
21080
|
init_bigint();
|
21078
21081
|
init_bigserial();
|
@@ -21111,10 +21114,10 @@ var init_columns = __esm({
|
|
21111
21114
|
}
|
21112
21115
|
});
|
21113
21116
|
|
21114
|
-
// ../
|
21117
|
+
// ../drizzle-orm/dist/pg-core/query-builders/delete.js
|
21115
21118
|
var _a124, _b97, PgDeleteBase;
|
21116
21119
|
var init_delete = __esm({
|
21117
|
-
"../
|
21120
|
+
"../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
|
21118
21121
|
"use strict";
|
21119
21122
|
init_entity();
|
21120
21123
|
init_query_promise();
|
@@ -21196,10 +21199,10 @@ var init_delete = __esm({
|
|
21196
21199
|
}
|
21197
21200
|
});
|
21198
21201
|
|
21199
|
-
// ../
|
21202
|
+
// ../drizzle-orm/dist/pg-core/query-builders/insert.js
|
21200
21203
|
var _a125, PgInsertBuilder, _a126, _b98, PgInsertBase;
|
21201
21204
|
var init_insert = __esm({
|
21202
|
-
"../
|
21205
|
+
"../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
|
21203
21206
|
"use strict";
|
21204
21207
|
init_entity();
|
21205
21208
|
init_query_promise();
|
@@ -21352,10 +21355,10 @@ var init_insert = __esm({
|
|
21352
21355
|
}
|
21353
21356
|
});
|
21354
21357
|
|
21355
|
-
// ../
|
21358
|
+
// ../drizzle-orm/dist/pg-core/view-base.js
|
21356
21359
|
var _a127, _b99, PgViewBase;
|
21357
21360
|
var init_view_base = __esm({
|
21358
|
-
"../
|
21361
|
+
"../drizzle-orm/dist/pg-core/view-base.js"() {
|
21359
21362
|
"use strict";
|
21360
21363
|
init_entity();
|
21361
21364
|
init_sql();
|
@@ -21365,10 +21368,10 @@ var init_view_base = __esm({
|
|
21365
21368
|
}
|
21366
21369
|
});
|
21367
21370
|
|
21368
|
-
// ../
|
21371
|
+
// ../drizzle-orm/dist/pg-core/dialect.js
|
21369
21372
|
var _a128, PgDialect;
|
21370
21373
|
var init_dialect = __esm({
|
21371
|
-
"../
|
21374
|
+
"../drizzle-orm/dist/pg-core/dialect.js"() {
|
21372
21375
|
"use strict";
|
21373
21376
|
init_alias();
|
21374
21377
|
init_column();
|
@@ -22448,10 +22451,10 @@ var init_dialect = __esm({
|
|
22448
22451
|
}
|
22449
22452
|
});
|
22450
22453
|
|
22451
|
-
// ../
|
22454
|
+
// ../drizzle-orm/dist/selection-proxy.js
|
22452
22455
|
var _a129, _SelectionProxyHandler, SelectionProxyHandler;
|
22453
22456
|
var init_selection_proxy = __esm({
|
22454
|
-
"../
|
22457
|
+
"../drizzle-orm/dist/selection-proxy.js"() {
|
22455
22458
|
"use strict";
|
22456
22459
|
init_alias();
|
22457
22460
|
init_column();
|
@@ -22530,10 +22533,10 @@ var init_selection_proxy = __esm({
|
|
22530
22533
|
}
|
22531
22534
|
});
|
22532
22535
|
|
22533
|
-
// ../
|
22536
|
+
// ../drizzle-orm/dist/query-builders/query-builder.js
|
22534
22537
|
var _a130, TypedQueryBuilder;
|
22535
22538
|
var init_query_builder = __esm({
|
22536
|
-
"../
|
22539
|
+
"../drizzle-orm/dist/query-builders/query-builder.js"() {
|
22537
22540
|
"use strict";
|
22538
22541
|
init_entity();
|
22539
22542
|
_a130 = entityKind;
|
@@ -22547,7 +22550,7 @@ var init_query_builder = __esm({
|
|
22547
22550
|
}
|
22548
22551
|
});
|
22549
22552
|
|
22550
|
-
// ../
|
22553
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.js
|
22551
22554
|
function createSetOperator(type, isAll) {
|
22552
22555
|
return (leftSelect, rightSelect, ...restSelects) => {
|
22553
22556
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -22567,7 +22570,7 @@ function createSetOperator(type, isAll) {
|
|
22567
22570
|
}
|
22568
22571
|
var _a131, PgSelectBuilder, _a132, _b100, PgSelectQueryBuilderBase, _a133, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
|
22569
22572
|
var init_select2 = __esm({
|
22570
|
-
"../
|
22573
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.js"() {
|
22571
22574
|
"use strict";
|
22572
22575
|
init_entity();
|
22573
22576
|
init_view_base();
|
@@ -23284,10 +23287,10 @@ var init_select2 = __esm({
|
|
23284
23287
|
}
|
23285
23288
|
});
|
23286
23289
|
|
23287
|
-
// ../
|
23290
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
|
23288
23291
|
var _a134, QueryBuilder;
|
23289
23292
|
var init_query_builder2 = __esm({
|
23290
|
-
"../
|
23293
|
+
"../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
|
23291
23294
|
"use strict";
|
23292
23295
|
init_entity();
|
23293
23296
|
init_dialect();
|
@@ -23376,10 +23379,10 @@ var init_query_builder2 = __esm({
|
|
23376
23379
|
}
|
23377
23380
|
});
|
23378
23381
|
|
23379
|
-
// ../
|
23382
|
+
// ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
|
23380
23383
|
var _a135, _b102, PgRefreshMaterializedView;
|
23381
23384
|
var init_refresh_materialized_view = __esm({
|
23382
|
-
"../
|
23385
|
+
"../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
|
23383
23386
|
"use strict";
|
23384
23387
|
init_entity();
|
23385
23388
|
init_query_promise();
|
@@ -23433,17 +23436,17 @@ var init_refresh_materialized_view = __esm({
|
|
23433
23436
|
}
|
23434
23437
|
});
|
23435
23438
|
|
23436
|
-
// ../
|
23439
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.types.js
|
23437
23440
|
var init_select_types = __esm({
|
23438
|
-
"../
|
23441
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.types.js"() {
|
23439
23442
|
"use strict";
|
23440
23443
|
}
|
23441
23444
|
});
|
23442
23445
|
|
23443
|
-
// ../
|
23446
|
+
// ../drizzle-orm/dist/pg-core/query-builders/update.js
|
23444
23447
|
var _a136, PgUpdateBuilder, _a137, _b103, PgUpdateBase;
|
23445
23448
|
var init_update = __esm({
|
23446
|
-
"../
|
23449
|
+
"../drizzle-orm/dist/pg-core/query-builders/update.js"() {
|
23447
23450
|
"use strict";
|
23448
23451
|
init_entity();
|
23449
23452
|
init_query_promise();
|
@@ -23543,9 +23546,9 @@ var init_update = __esm({
|
|
23543
23546
|
}
|
23544
23547
|
});
|
23545
23548
|
|
23546
|
-
// ../
|
23549
|
+
// ../drizzle-orm/dist/pg-core/query-builders/index.js
|
23547
23550
|
var init_query_builders = __esm({
|
23548
|
-
"../
|
23551
|
+
"../drizzle-orm/dist/pg-core/query-builders/index.js"() {
|
23549
23552
|
"use strict";
|
23550
23553
|
init_delete();
|
23551
23554
|
init_insert();
|
@@ -23557,10 +23560,10 @@ var init_query_builders = __esm({
|
|
23557
23560
|
}
|
23558
23561
|
});
|
23559
23562
|
|
23560
|
-
// ../
|
23563
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query.js
|
23561
23564
|
var _a138, RelationalQueryBuilder, _a139, _b104, PgRelationalQuery;
|
23562
23565
|
var init_query = __esm({
|
23563
|
-
"../
|
23566
|
+
"../drizzle-orm/dist/pg-core/query-builders/query.js"() {
|
23564
23567
|
"use strict";
|
23565
23568
|
init_entity();
|
23566
23569
|
init_query_promise();
|
@@ -23675,10 +23678,10 @@ var init_query = __esm({
|
|
23675
23678
|
}
|
23676
23679
|
});
|
23677
23680
|
|
23678
|
-
// ../
|
23681
|
+
// ../drizzle-orm/dist/pg-core/query-builders/raw.js
|
23679
23682
|
var _a140, _b105, PgRaw;
|
23680
23683
|
var init_raw = __esm({
|
23681
|
-
"../
|
23684
|
+
"../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
|
23682
23685
|
"use strict";
|
23683
23686
|
init_entity();
|
23684
23687
|
init_query_promise();
|
@@ -23712,10 +23715,10 @@ var init_raw = __esm({
|
|
23712
23715
|
}
|
23713
23716
|
});
|
23714
23717
|
|
23715
|
-
// ../
|
23718
|
+
// ../drizzle-orm/dist/pg-core/db.js
|
23716
23719
|
var _a141, PgDatabase;
|
23717
23720
|
var init_db = __esm({
|
23718
|
-
"../
|
23721
|
+
"../drizzle-orm/dist/pg-core/db.js"() {
|
23719
23722
|
"use strict";
|
23720
23723
|
init_entity();
|
23721
23724
|
init_query_builders();
|
@@ -23993,10 +23996,10 @@ var init_db = __esm({
|
|
23993
23996
|
}
|
23994
23997
|
});
|
23995
23998
|
|
23996
|
-
// ../
|
23999
|
+
// ../drizzle-orm/dist/pg-core/indexes.js
|
23997
24000
|
var _a142, IndexBuilderOn, _a143, IndexBuilder, _a144, Index2;
|
23998
24001
|
var init_indexes = __esm({
|
23999
|
-
"../
|
24002
|
+
"../drizzle-orm/dist/pg-core/indexes.js"() {
|
24000
24003
|
"use strict";
|
24001
24004
|
init_sql();
|
24002
24005
|
init_entity();
|
@@ -24111,7 +24114,7 @@ var init_indexes = __esm({
|
|
24111
24114
|
}
|
24112
24115
|
});
|
24113
24116
|
|
24114
|
-
// ../
|
24117
|
+
// ../drizzle-orm/dist/pg-core/sequence.js
|
24115
24118
|
function pgSequenceWithSchema(name2, options, schema4) {
|
24116
24119
|
return new PgSequence(name2, options, schema4);
|
24117
24120
|
}
|
@@ -24120,7 +24123,7 @@ function isPgSequence(obj) {
|
|
24120
24123
|
}
|
24121
24124
|
var _a145, PgSequence;
|
24122
24125
|
var init_sequence = __esm({
|
24123
|
-
"../
|
24126
|
+
"../drizzle-orm/dist/pg-core/sequence.js"() {
|
24124
24127
|
"use strict";
|
24125
24128
|
init_entity();
|
24126
24129
|
_a145 = entityKind;
|
@@ -24135,16 +24138,16 @@ var init_sequence = __esm({
|
|
24135
24138
|
}
|
24136
24139
|
});
|
24137
24140
|
|
24138
|
-
// ../
|
24141
|
+
// ../drizzle-orm/dist/pg-core/view-common.js
|
24139
24142
|
var PgViewConfig;
|
24140
24143
|
var init_view_common2 = __esm({
|
24141
|
-
"../
|
24144
|
+
"../drizzle-orm/dist/pg-core/view-common.js"() {
|
24142
24145
|
"use strict";
|
24143
24146
|
PgViewConfig = Symbol.for("drizzle:PgViewConfig");
|
24144
24147
|
}
|
24145
24148
|
});
|
24146
24149
|
|
24147
|
-
// ../
|
24150
|
+
// ../drizzle-orm/dist/pg-core/view.js
|
24148
24151
|
function pgViewWithSchema(name2, selection, schema4) {
|
24149
24152
|
if (selection) {
|
24150
24153
|
return new ManualViewBuilder(name2, selection, schema4);
|
@@ -24159,7 +24162,7 @@ function pgMaterializedViewWithSchema(name2, selection, schema4) {
|
|
24159
24162
|
}
|
24160
24163
|
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;
|
24161
24164
|
var init_view = __esm({
|
24162
|
-
"../
|
24165
|
+
"../drizzle-orm/dist/pg-core/view.js"() {
|
24163
24166
|
"use strict";
|
24164
24167
|
init_entity();
|
24165
24168
|
init_selection_proxy();
|
@@ -24386,10 +24389,10 @@ var init_view = __esm({
|
|
24386
24389
|
}
|
24387
24390
|
});
|
24388
24391
|
|
24389
|
-
// ../
|
24392
|
+
// ../drizzle-orm/dist/pg-core/schema.js
|
24390
24393
|
var _a154, PgSchema5;
|
24391
24394
|
var init_schema = __esm({
|
24392
|
-
"../
|
24395
|
+
"../drizzle-orm/dist/pg-core/schema.js"() {
|
24393
24396
|
"use strict";
|
24394
24397
|
init_entity();
|
24395
24398
|
init_sql();
|
@@ -24428,10 +24431,10 @@ var init_schema = __esm({
|
|
24428
24431
|
}
|
24429
24432
|
});
|
24430
24433
|
|
24431
|
-
// ../
|
24434
|
+
// ../drizzle-orm/dist/pg-core/session.js
|
24432
24435
|
var _a155, PgPreparedQuery, _a156, PgSession, _a157, _b112, PgTransaction;
|
24433
24436
|
var init_session = __esm({
|
24434
|
-
"../
|
24437
|
+
"../drizzle-orm/dist/pg-core/session.js"() {
|
24435
24438
|
"use strict";
|
24436
24439
|
init_entity();
|
24437
24440
|
init_errors();
|
@@ -24512,14 +24515,14 @@ var init_session = __esm({
|
|
24512
24515
|
}
|
24513
24516
|
});
|
24514
24517
|
|
24515
|
-
// ../
|
24518
|
+
// ../drizzle-orm/dist/pg-core/subquery.js
|
24516
24519
|
var init_subquery2 = __esm({
|
24517
|
-
"../
|
24520
|
+
"../drizzle-orm/dist/pg-core/subquery.js"() {
|
24518
24521
|
"use strict";
|
24519
24522
|
}
|
24520
24523
|
});
|
24521
24524
|
|
24522
|
-
// ../
|
24525
|
+
// ../drizzle-orm/dist/pg-core/utils.js
|
24523
24526
|
function getTableConfig(table4) {
|
24524
24527
|
const columns = Object.values(table4[Table2.Symbol.Columns]);
|
24525
24528
|
const indexes = [];
|
@@ -24558,7 +24561,7 @@ function getTableConfig(table4) {
|
|
24558
24561
|
};
|
24559
24562
|
}
|
24560
24563
|
var init_utils4 = __esm({
|
24561
|
-
"../
|
24564
|
+
"../drizzle-orm/dist/pg-core/utils.js"() {
|
24562
24565
|
"use strict";
|
24563
24566
|
init_entity();
|
24564
24567
|
init_table2();
|
@@ -24571,17 +24574,17 @@ var init_utils4 = __esm({
|
|
24571
24574
|
}
|
24572
24575
|
});
|
24573
24576
|
|
24574
|
-
// ../
|
24577
|
+
// ../drizzle-orm/dist/pg-core/utils/index.js
|
24575
24578
|
var init_utils5 = __esm({
|
24576
|
-
"../
|
24579
|
+
"../drizzle-orm/dist/pg-core/utils/index.js"() {
|
24577
24580
|
"use strict";
|
24578
24581
|
init_array();
|
24579
24582
|
}
|
24580
24583
|
});
|
24581
24584
|
|
24582
|
-
// ../
|
24585
|
+
// ../drizzle-orm/dist/pg-core/index.js
|
24583
24586
|
var init_pg_core = __esm({
|
24584
|
-
"../
|
24587
|
+
"../drizzle-orm/dist/pg-core/index.js"() {
|
24585
24588
|
"use strict";
|
24586
24589
|
init_alias2();
|
24587
24590
|
init_checks();
|
@@ -24636,16 +24639,41 @@ function minRangeForIdentityBasedOn(columnType) {
|
|
24636
24639
|
function stringFromDatabaseIdentityProperty(field) {
|
24637
24640
|
return typeof field === "string" ? field : typeof field === "undefined" ? void 0 : typeof field === "bigint" ? field.toString() : String(field);
|
24638
24641
|
}
|
24642
|
+
function buildArrayString(array, sqlType) {
|
24643
|
+
sqlType = sqlType.split("[")[0];
|
24644
|
+
const values = array.map((value) => {
|
24645
|
+
if (typeof value === "number" || typeof value === "bigint") {
|
24646
|
+
return value.toString();
|
24647
|
+
} else if (typeof value === "boolean") {
|
24648
|
+
return value ? "true" : "false";
|
24649
|
+
} else if (Array.isArray(value)) {
|
24650
|
+
return buildArrayString(value, sqlType);
|
24651
|
+
} else if (value instanceof Date) {
|
24652
|
+
if (sqlType === "date") {
|
24653
|
+
return `"${value.toISOString().split("T")[0]}"`;
|
24654
|
+
} else if (sqlType === "timestamp") {
|
24655
|
+
return `"${value.toISOString().replace("T", " ").slice(0, 23)}"`;
|
24656
|
+
} else {
|
24657
|
+
return `"${value.toISOString()}"`;
|
24658
|
+
}
|
24659
|
+
} else if (typeof value === "object") {
|
24660
|
+
return `"${JSON.stringify(value).replaceAll('"', '\\"')}"`;
|
24661
|
+
}
|
24662
|
+
return `"${value}"`;
|
24663
|
+
}).join(",");
|
24664
|
+
return `{${values}}`;
|
24665
|
+
}
|
24639
24666
|
var dialect4, indexName, generatePgSnapshot, trimChar, fromDatabase, columnToDefault, defaultForColumn;
|
24640
24667
|
var init_pgSerializer = __esm({
|
24641
24668
|
"src/serializer/pgSerializer.ts"() {
|
24642
24669
|
"use strict";
|
24643
24670
|
init_source();
|
24644
|
-
|
24671
|
+
init_dist();
|
24645
24672
|
init_pg_core();
|
24646
24673
|
init_pg_core();
|
24647
24674
|
init_vector3();
|
24648
24675
|
init_outputs();
|
24676
|
+
init_utils();
|
24649
24677
|
init_serializer();
|
24650
24678
|
dialect4 = new PgDialect();
|
24651
24679
|
indexName = (tableName, columns) => {
|
@@ -24752,6 +24780,11 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
|
|
24752
24780
|
} else {
|
24753
24781
|
columnToSet.default = `'${column4.default.toISOString()}'`;
|
24754
24782
|
}
|
24783
|
+
} else if (isPgArrayType(sqlTypeLowered) && Array.isArray(column4.default)) {
|
24784
|
+
columnToSet.default = `'${buildArrayString(
|
24785
|
+
column4.default,
|
24786
|
+
sqlTypeLowered
|
24787
|
+
)}'::${sqlTypeLowered}`;
|
24755
24788
|
} else {
|
24756
24789
|
columnToSet.default = column4.default;
|
24757
24790
|
}
|
@@ -25550,17 +25583,17 @@ var init_selector_ui = __esm({
|
|
25550
25583
|
}
|
25551
25584
|
});
|
25552
25585
|
|
25553
|
-
// ../
|
25586
|
+
// ../drizzle-orm/dist/sqlite-core/alias.js
|
25554
25587
|
var init_alias3 = __esm({
|
25555
|
-
"../
|
25588
|
+
"../drizzle-orm/dist/sqlite-core/alias.js"() {
|
25556
25589
|
"use strict";
|
25557
25590
|
}
|
25558
25591
|
});
|
25559
25592
|
|
25560
|
-
// ../
|
25593
|
+
// ../drizzle-orm/dist/sqlite-core/checks.js
|
25561
25594
|
var _a158, CheckBuilder2, _a159, Check2;
|
25562
25595
|
var init_checks2 = __esm({
|
25563
|
-
"../
|
25596
|
+
"../drizzle-orm/dist/sqlite-core/checks.js"() {
|
25564
25597
|
"use strict";
|
25565
25598
|
init_entity();
|
25566
25599
|
_a158 = entityKind;
|
@@ -25589,7 +25622,7 @@ var init_checks2 = __esm({
|
|
25589
25622
|
}
|
25590
25623
|
});
|
25591
25624
|
|
25592
|
-
// ../
|
25625
|
+
// ../drizzle-orm/dist/sqlite-core/table.js
|
25593
25626
|
function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2) {
|
25594
25627
|
const rawTable = new SQLiteTable(name2, schema4, baseName);
|
25595
25628
|
const builtColumns = Object.fromEntries(
|
@@ -25610,7 +25643,7 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
|
|
25610
25643
|
}
|
25611
25644
|
var InlineForeignKeys2, _a160, _b113, _c5, _d3, _e2, SQLiteTable, sqliteTable;
|
25612
25645
|
var init_table3 = __esm({
|
25613
|
-
"../
|
25646
|
+
"../drizzle-orm/dist/sqlite-core/table.js"() {
|
25614
25647
|
"use strict";
|
25615
25648
|
init_entity();
|
25616
25649
|
init_table();
|
@@ -25637,10 +25670,10 @@ var init_table3 = __esm({
|
|
25637
25670
|
}
|
25638
25671
|
});
|
25639
25672
|
|
25640
|
-
// ../
|
25673
|
+
// ../drizzle-orm/dist/sqlite-core/foreign-keys.js
|
25641
25674
|
var _a161, ForeignKeyBuilder2, _a162, ForeignKey2;
|
25642
25675
|
var init_foreign_keys2 = __esm({
|
25643
|
-
"../
|
25676
|
+
"../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
|
25644
25677
|
"use strict";
|
25645
25678
|
init_entity();
|
25646
25679
|
init_table3();
|
@@ -25704,13 +25737,13 @@ var init_foreign_keys2 = __esm({
|
|
25704
25737
|
}
|
25705
25738
|
});
|
25706
25739
|
|
25707
|
-
// ../
|
25740
|
+
// ../drizzle-orm/dist/sqlite-core/unique-constraint.js
|
25708
25741
|
function uniqueKeyName2(table4, columns) {
|
25709
25742
|
return `${table4[SQLiteTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
25710
25743
|
}
|
25711
25744
|
var _a163, UniqueConstraintBuilder2, _a164, UniqueOnConstraintBuilder2, _a165, UniqueConstraint2;
|
25712
25745
|
var init_unique_constraint2 = __esm({
|
25713
|
-
"../
|
25746
|
+
"../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
|
25714
25747
|
"use strict";
|
25715
25748
|
init_entity();
|
25716
25749
|
init_table3();
|
@@ -25757,10 +25790,10 @@ var init_unique_constraint2 = __esm({
|
|
25757
25790
|
}
|
25758
25791
|
});
|
25759
25792
|
|
25760
|
-
// ../
|
25793
|
+
// ../drizzle-orm/dist/sqlite-core/columns/common.js
|
25761
25794
|
var _a166, _b114, SQLiteColumnBuilder, _a167, _b115, SQLiteColumn;
|
25762
25795
|
var init_common3 = __esm({
|
25763
|
-
"../
|
25796
|
+
"../drizzle-orm/dist/sqlite-core/columns/common.js"() {
|
25764
25797
|
"use strict";
|
25765
25798
|
init_column_builder();
|
25766
25799
|
init_column();
|
@@ -25822,10 +25855,10 @@ var init_common3 = __esm({
|
|
25822
25855
|
}
|
25823
25856
|
});
|
25824
25857
|
|
25825
|
-
// ../
|
25858
|
+
// ../drizzle-orm/dist/sqlite-core/columns/blob.js
|
25826
25859
|
var _a168, _b116, SQLiteBigIntBuilder, _a169, _b117, SQLiteBigInt, _a170, _b118, SQLiteBlobJsonBuilder, _a171, _b119, SQLiteBlobJson, _a172, _b120, SQLiteBlobBufferBuilder, _a173, _b121, SQLiteBlobBuffer;
|
25827
25860
|
var init_blob = __esm({
|
25828
|
-
"../
|
25861
|
+
"../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
|
25829
25862
|
"use strict";
|
25830
25863
|
init_entity();
|
25831
25864
|
init_common3();
|
@@ -25895,10 +25928,10 @@ var init_blob = __esm({
|
|
25895
25928
|
}
|
25896
25929
|
});
|
25897
25930
|
|
25898
|
-
// ../
|
25931
|
+
// ../drizzle-orm/dist/sqlite-core/columns/custom.js
|
25899
25932
|
var _a174, _b122, SQLiteCustomColumnBuilder, _a175, _b123, SQLiteCustomColumn;
|
25900
25933
|
var init_custom2 = __esm({
|
25901
|
-
"../
|
25934
|
+
"../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
|
25902
25935
|
"use strict";
|
25903
25936
|
init_entity();
|
25904
25937
|
init_common3();
|
@@ -25941,10 +25974,10 @@ var init_custom2 = __esm({
|
|
25941
25974
|
}
|
25942
25975
|
});
|
25943
25976
|
|
25944
|
-
// ../
|
25977
|
+
// ../drizzle-orm/dist/sqlite-core/columns/integer.js
|
25945
25978
|
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;
|
25946
25979
|
var init_integer2 = __esm({
|
25947
|
-
"../
|
25980
|
+
"../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
|
25948
25981
|
"use strict";
|
25949
25982
|
init_entity();
|
25950
25983
|
init_sql();
|
@@ -26058,10 +26091,10 @@ var init_integer2 = __esm({
|
|
26058
26091
|
}
|
26059
26092
|
});
|
26060
26093
|
|
26061
|
-
// ../
|
26094
|
+
// ../drizzle-orm/dist/sqlite-core/columns/numeric.js
|
26062
26095
|
var _a184, _b132, SQLiteNumericBuilder, _a185, _b133, SQLiteNumeric;
|
26063
26096
|
var init_numeric2 = __esm({
|
26064
|
-
"../
|
26097
|
+
"../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
|
26065
26098
|
"use strict";
|
26066
26099
|
init_entity();
|
26067
26100
|
init_common3();
|
@@ -26087,10 +26120,10 @@ var init_numeric2 = __esm({
|
|
26087
26120
|
}
|
26088
26121
|
});
|
26089
26122
|
|
26090
|
-
// ../
|
26123
|
+
// ../drizzle-orm/dist/sqlite-core/columns/real.js
|
26091
26124
|
var _a186, _b134, SQLiteRealBuilder, _a187, _b135, SQLiteReal;
|
26092
26125
|
var init_real2 = __esm({
|
26093
|
-
"../
|
26126
|
+
"../drizzle-orm/dist/sqlite-core/columns/real.js"() {
|
26094
26127
|
"use strict";
|
26095
26128
|
init_entity();
|
26096
26129
|
init_common3();
|
@@ -26113,10 +26146,10 @@ var init_real2 = __esm({
|
|
26113
26146
|
}
|
26114
26147
|
});
|
26115
26148
|
|
26116
|
-
// ../
|
26149
|
+
// ../drizzle-orm/dist/sqlite-core/columns/text.js
|
26117
26150
|
var _a188, _b136, SQLiteTextBuilder, _a189, _b137, SQLiteText, _a190, _b138, SQLiteTextJsonBuilder, _a191, _b139, SQLiteTextJson;
|
26118
26151
|
var init_text2 = __esm({
|
26119
|
-
"../
|
26152
|
+
"../drizzle-orm/dist/sqlite-core/columns/text.js"() {
|
26120
26153
|
"use strict";
|
26121
26154
|
init_entity();
|
26122
26155
|
init_common3();
|
@@ -26171,9 +26204,9 @@ var init_text2 = __esm({
|
|
26171
26204
|
}
|
26172
26205
|
});
|
26173
26206
|
|
26174
|
-
// ../
|
26207
|
+
// ../drizzle-orm/dist/sqlite-core/columns/index.js
|
26175
26208
|
var init_columns2 = __esm({
|
26176
|
-
"../
|
26209
|
+
"../drizzle-orm/dist/sqlite-core/columns/index.js"() {
|
26177
26210
|
"use strict";
|
26178
26211
|
init_blob();
|
26179
26212
|
init_common3();
|
@@ -26185,10 +26218,10 @@ var init_columns2 = __esm({
|
|
26185
26218
|
}
|
26186
26219
|
});
|
26187
26220
|
|
26188
|
-
// ../
|
26221
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
|
26189
26222
|
var _a192, _b140, SQLiteDeleteBase;
|
26190
26223
|
var init_delete2 = __esm({
|
26191
|
-
"../
|
26224
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
|
26192
26225
|
"use strict";
|
26193
26226
|
init_entity();
|
26194
26227
|
init_query_promise();
|
@@ -26284,10 +26317,10 @@ var init_delete2 = __esm({
|
|
26284
26317
|
}
|
26285
26318
|
});
|
26286
26319
|
|
26287
|
-
// ../
|
26320
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
|
26288
26321
|
var _a193, SQLiteInsertBuilder, _a194, _b141, SQLiteInsertBase;
|
26289
26322
|
var init_insert2 = __esm({
|
26290
|
-
"../
|
26323
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
|
26291
26324
|
"use strict";
|
26292
26325
|
init_entity();
|
26293
26326
|
init_query_promise();
|
@@ -26452,10 +26485,10 @@ var init_insert2 = __esm({
|
|
26452
26485
|
}
|
26453
26486
|
});
|
26454
26487
|
|
26455
|
-
// ../
|
26488
|
+
// ../drizzle-orm/dist/sqlite-core/view-base.js
|
26456
26489
|
var _a195, _b142, SQLiteViewBase;
|
26457
26490
|
var init_view_base2 = __esm({
|
26458
|
-
"../
|
26491
|
+
"../drizzle-orm/dist/sqlite-core/view-base.js"() {
|
26459
26492
|
"use strict";
|
26460
26493
|
init_entity();
|
26461
26494
|
init_sql();
|
@@ -26465,10 +26498,10 @@ var init_view_base2 = __esm({
|
|
26465
26498
|
}
|
26466
26499
|
});
|
26467
26500
|
|
26468
|
-
// ../
|
26501
|
+
// ../drizzle-orm/dist/sqlite-core/dialect.js
|
26469
26502
|
var _a196, SQLiteDialect, _a197, _b143, SQLiteSyncDialect, _a198, _b144, SQLiteAsyncDialect;
|
26470
26503
|
var init_dialect2 = __esm({
|
26471
|
-
"../
|
26504
|
+
"../drizzle-orm/dist/sqlite-core/dialect.js"() {
|
26472
26505
|
"use strict";
|
26473
26506
|
init_alias();
|
26474
26507
|
init_column();
|
@@ -27060,7 +27093,7 @@ var init_dialect2 = __esm({
|
|
27060
27093
|
}
|
27061
27094
|
});
|
27062
27095
|
|
27063
|
-
// ../
|
27096
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.js
|
27064
27097
|
function createSetOperator2(type, isAll) {
|
27065
27098
|
return (leftSelect, rightSelect, ...restSelects) => {
|
27066
27099
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -27080,7 +27113,7 @@ function createSetOperator2(type, isAll) {
|
|
27080
27113
|
}
|
27081
27114
|
var _a199, SQLiteSelectBuilder, _a200, _b145, SQLiteSelectQueryBuilderBase, _a201, _b146, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
|
27082
27115
|
var init_select3 = __esm({
|
27083
|
-
"../
|
27116
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
|
27084
27117
|
"use strict";
|
27085
27118
|
init_entity();
|
27086
27119
|
init_query_builder();
|
@@ -27693,10 +27726,10 @@ var init_select3 = __esm({
|
|
27693
27726
|
}
|
27694
27727
|
});
|
27695
27728
|
|
27696
|
-
// ../
|
27729
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
|
27697
27730
|
var _a202, QueryBuilder2;
|
27698
27731
|
var init_query_builder3 = __esm({
|
27699
|
-
"../
|
27732
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
|
27700
27733
|
"use strict";
|
27701
27734
|
init_entity();
|
27702
27735
|
init_selection_proxy();
|
@@ -27766,17 +27799,17 @@ var init_query_builder3 = __esm({
|
|
27766
27799
|
}
|
27767
27800
|
});
|
27768
27801
|
|
27769
|
-
// ../
|
27802
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.types.js
|
27770
27803
|
var init_select_types2 = __esm({
|
27771
|
-
"../
|
27804
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.types.js"() {
|
27772
27805
|
"use strict";
|
27773
27806
|
}
|
27774
27807
|
});
|
27775
27808
|
|
27776
|
-
// ../
|
27809
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/update.js
|
27777
27810
|
var _a203, SQLiteUpdateBuilder, _a204, _b147, SQLiteUpdateBase;
|
27778
27811
|
var init_update2 = __esm({
|
27779
|
-
"../
|
27812
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
|
27780
27813
|
"use strict";
|
27781
27814
|
init_entity();
|
27782
27815
|
init_query_promise();
|
@@ -27894,9 +27927,9 @@ var init_update2 = __esm({
|
|
27894
27927
|
}
|
27895
27928
|
});
|
27896
27929
|
|
27897
|
-
// ../
|
27930
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/index.js
|
27898
27931
|
var init_query_builders2 = __esm({
|
27899
|
-
"../
|
27932
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/index.js"() {
|
27900
27933
|
"use strict";
|
27901
27934
|
init_delete2();
|
27902
27935
|
init_insert2();
|
@@ -27907,10 +27940,10 @@ var init_query_builders2 = __esm({
|
|
27907
27940
|
}
|
27908
27941
|
});
|
27909
27942
|
|
27910
|
-
// ../
|
27943
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query.js
|
27911
27944
|
var _a205, RelationalQueryBuilder2, _a206, _b148, SQLiteRelationalQuery, _a207, _b149, SQLiteSyncRelationalQuery;
|
27912
27945
|
var init_query2 = __esm({
|
27913
|
-
"../
|
27946
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
|
27914
27947
|
"use strict";
|
27915
27948
|
init_entity();
|
27916
27949
|
init_query_promise();
|
@@ -28061,10 +28094,10 @@ var init_query2 = __esm({
|
|
28061
28094
|
}
|
28062
28095
|
});
|
28063
28096
|
|
28064
|
-
// ../
|
28097
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
|
28065
28098
|
var _a208, _b150, SQLiteRaw;
|
28066
28099
|
var init_raw2 = __esm({
|
28067
|
-
"../
|
28100
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
|
28068
28101
|
"use strict";
|
28069
28102
|
init_entity();
|
28070
28103
|
init_query_promise();
|
@@ -28097,10 +28130,10 @@ var init_raw2 = __esm({
|
|
28097
28130
|
}
|
28098
28131
|
});
|
28099
28132
|
|
28100
|
-
// ../
|
28133
|
+
// ../drizzle-orm/dist/sqlite-core/db.js
|
28101
28134
|
var _a209, BaseSQLiteDatabase;
|
28102
28135
|
var init_db2 = __esm({
|
28103
|
-
"../
|
28136
|
+
"../drizzle-orm/dist/sqlite-core/db.js"() {
|
28104
28137
|
"use strict";
|
28105
28138
|
init_entity();
|
28106
28139
|
init_selection_proxy();
|
@@ -28390,10 +28423,10 @@ var init_db2 = __esm({
|
|
28390
28423
|
}
|
28391
28424
|
});
|
28392
28425
|
|
28393
|
-
// ../
|
28426
|
+
// ../drizzle-orm/dist/sqlite-core/indexes.js
|
28394
28427
|
var _a210, IndexBuilderOn2, _a211, IndexBuilder2, _a212, Index4;
|
28395
28428
|
var init_indexes2 = __esm({
|
28396
|
-
"../
|
28429
|
+
"../drizzle-orm/dist/sqlite-core/indexes.js"() {
|
28397
28430
|
"use strict";
|
28398
28431
|
init_entity();
|
28399
28432
|
_a210 = entityKind;
|
@@ -28443,10 +28476,10 @@ var init_indexes2 = __esm({
|
|
28443
28476
|
}
|
28444
28477
|
});
|
28445
28478
|
|
28446
|
-
// ../
|
28479
|
+
// ../drizzle-orm/dist/sqlite-core/primary-keys.js
|
28447
28480
|
var _a213, PrimaryKeyBuilder2, _a214, PrimaryKey2;
|
28448
28481
|
var init_primary_keys2 = __esm({
|
28449
|
-
"../
|
28482
|
+
"../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
|
28450
28483
|
"use strict";
|
28451
28484
|
init_entity();
|
28452
28485
|
init_table3();
|
@@ -28483,10 +28516,10 @@ var init_primary_keys2 = __esm({
|
|
28483
28516
|
}
|
28484
28517
|
});
|
28485
28518
|
|
28486
|
-
// ../
|
28519
|
+
// ../drizzle-orm/dist/sqlite-core/session.js
|
28487
28520
|
var _a215, _b151, ExecuteResultSync, _a216, SQLitePreparedQuery, _a217, SQLiteSession, _a218, _b152, SQLiteTransaction;
|
28488
28521
|
var init_session2 = __esm({
|
28489
|
-
"../
|
28522
|
+
"../drizzle-orm/dist/sqlite-core/session.js"() {
|
28490
28523
|
"use strict";
|
28491
28524
|
init_entity();
|
28492
28525
|
init_errors();
|
@@ -28604,23 +28637,23 @@ var init_session2 = __esm({
|
|
28604
28637
|
}
|
28605
28638
|
});
|
28606
28639
|
|
28607
|
-
// ../
|
28640
|
+
// ../drizzle-orm/dist/sqlite-core/subquery.js
|
28608
28641
|
var init_subquery3 = __esm({
|
28609
|
-
"../
|
28642
|
+
"../drizzle-orm/dist/sqlite-core/subquery.js"() {
|
28610
28643
|
"use strict";
|
28611
28644
|
}
|
28612
28645
|
});
|
28613
28646
|
|
28614
|
-
// ../
|
28647
|
+
// ../drizzle-orm/dist/sqlite-core/view-common.js
|
28615
28648
|
var SQLiteViewConfig;
|
28616
28649
|
var init_view_common3 = __esm({
|
28617
|
-
"../
|
28650
|
+
"../drizzle-orm/dist/sqlite-core/view-common.js"() {
|
28618
28651
|
"use strict";
|
28619
28652
|
SQLiteViewConfig = Symbol.for("drizzle:SQLiteViewConfig");
|
28620
28653
|
}
|
28621
28654
|
});
|
28622
28655
|
|
28623
|
-
// ../
|
28656
|
+
// ../drizzle-orm/dist/sqlite-core/utils.js
|
28624
28657
|
function getTableConfig2(table4) {
|
28625
28658
|
const columns = Object.values(table4[SQLiteTable.Symbol.Columns]);
|
28626
28659
|
const indexes = [];
|
@@ -28657,7 +28690,7 @@ function getTableConfig2(table4) {
|
|
28657
28690
|
};
|
28658
28691
|
}
|
28659
28692
|
var init_utils6 = __esm({
|
28660
|
-
"../
|
28693
|
+
"../drizzle-orm/dist/sqlite-core/utils.js"() {
|
28661
28694
|
"use strict";
|
28662
28695
|
init_entity();
|
28663
28696
|
init_table();
|
@@ -28670,10 +28703,10 @@ var init_utils6 = __esm({
|
|
28670
28703
|
}
|
28671
28704
|
});
|
28672
28705
|
|
28673
|
-
// ../
|
28706
|
+
// ../drizzle-orm/dist/sqlite-core/view.js
|
28674
28707
|
var _a219, ViewBuilderCore, _a220, _b153, ViewBuilder2, _a221, _b154, ManualViewBuilder2, _a222, _b155, _c6, SQLiteView;
|
28675
28708
|
var init_view2 = __esm({
|
28676
|
-
"../
|
28709
|
+
"../drizzle-orm/dist/sqlite-core/view.js"() {
|
28677
28710
|
"use strict";
|
28678
28711
|
init_entity();
|
28679
28712
|
init_selection_proxy();
|
@@ -28775,9 +28808,9 @@ var init_view2 = __esm({
|
|
28775
28808
|
}
|
28776
28809
|
});
|
28777
28810
|
|
28778
|
-
// ../
|
28811
|
+
// ../drizzle-orm/dist/sqlite-core/index.js
|
28779
28812
|
var init_sqlite_core = __esm({
|
28780
|
-
"../
|
28813
|
+
"../drizzle-orm/dist/sqlite-core/index.js"() {
|
28781
28814
|
"use strict";
|
28782
28815
|
init_alias3();
|
28783
28816
|
init_checks2();
|
@@ -28864,7 +28897,7 @@ var init_sqliteSerializer = __esm({
|
|
28864
28897
|
"src/serializer/sqliteSerializer.ts"() {
|
28865
28898
|
"use strict";
|
28866
28899
|
init_source();
|
28867
|
-
|
28900
|
+
init_dist();
|
28868
28901
|
init_sqlite_core();
|
28869
28902
|
init_outputs();
|
28870
28903
|
init_serializer();
|
@@ -29277,17 +29310,17 @@ WHERE
|
|
29277
29310
|
}
|
29278
29311
|
});
|
29279
29312
|
|
29280
|
-
// ../
|
29313
|
+
// ../drizzle-orm/dist/mysql-core/alias.js
|
29281
29314
|
var init_alias4 = __esm({
|
29282
|
-
"../
|
29315
|
+
"../drizzle-orm/dist/mysql-core/alias.js"() {
|
29283
29316
|
"use strict";
|
29284
29317
|
}
|
29285
29318
|
});
|
29286
29319
|
|
29287
|
-
// ../
|
29320
|
+
// ../drizzle-orm/dist/mysql-core/checks.js
|
29288
29321
|
var _a223, CheckBuilder3, _a224, Check3;
|
29289
29322
|
var init_checks3 = __esm({
|
29290
|
-
"../
|
29323
|
+
"../drizzle-orm/dist/mysql-core/checks.js"() {
|
29291
29324
|
"use strict";
|
29292
29325
|
init_entity();
|
29293
29326
|
_a223 = entityKind;
|
@@ -29317,7 +29350,7 @@ var init_checks3 = __esm({
|
|
29317
29350
|
}
|
29318
29351
|
});
|
29319
29352
|
|
29320
|
-
// ../
|
29353
|
+
// ../drizzle-orm/dist/mysql-core/table.js
|
29321
29354
|
function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
29322
29355
|
const rawTable = new MySqlTable(name2, schema4, baseName);
|
29323
29356
|
const builtColumns = Object.fromEntries(
|
@@ -29338,7 +29371,7 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
|
|
29338
29371
|
}
|
29339
29372
|
var InlineForeignKeys3, _a225, _b156, _c7, _d4, _e3, MySqlTable, mysqlTable;
|
29340
29373
|
var init_table4 = __esm({
|
29341
|
-
"../
|
29374
|
+
"../drizzle-orm/dist/mysql-core/table.js"() {
|
29342
29375
|
"use strict";
|
29343
29376
|
init_entity();
|
29344
29377
|
init_table();
|
@@ -29365,10 +29398,10 @@ var init_table4 = __esm({
|
|
29365
29398
|
}
|
29366
29399
|
});
|
29367
29400
|
|
29368
|
-
// ../
|
29401
|
+
// ../drizzle-orm/dist/mysql-core/foreign-keys.js
|
29369
29402
|
var _a226, ForeignKeyBuilder3, _a227, ForeignKey3;
|
29370
29403
|
var init_foreign_keys3 = __esm({
|
29371
|
-
"../
|
29404
|
+
"../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
|
29372
29405
|
"use strict";
|
29373
29406
|
init_entity();
|
29374
29407
|
init_table4();
|
@@ -29432,13 +29465,13 @@ var init_foreign_keys3 = __esm({
|
|
29432
29465
|
}
|
29433
29466
|
});
|
29434
29467
|
|
29435
|
-
// ../
|
29468
|
+
// ../drizzle-orm/dist/mysql-core/unique-constraint.js
|
29436
29469
|
function uniqueKeyName3(table4, columns) {
|
29437
29470
|
return `${table4[MySqlTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
29438
29471
|
}
|
29439
29472
|
var _a228, UniqueConstraintBuilder3, _a229, UniqueOnConstraintBuilder3, _a230, UniqueConstraint3;
|
29440
29473
|
var init_unique_constraint3 = __esm({
|
29441
|
-
"../
|
29474
|
+
"../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
|
29442
29475
|
"use strict";
|
29443
29476
|
init_entity();
|
29444
29477
|
init_table4();
|
@@ -29486,10 +29519,10 @@ var init_unique_constraint3 = __esm({
|
|
29486
29519
|
}
|
29487
29520
|
});
|
29488
29521
|
|
29489
|
-
// ../
|
29522
|
+
// ../drizzle-orm/dist/mysql-core/columns/common.js
|
29490
29523
|
var _a231, _b157, MySqlColumnBuilder, _a232, _b158, MySqlColumn, _a233, _b159, MySqlColumnBuilderWithAutoIncrement, _a234, _b160, MySqlColumnWithAutoIncrement;
|
29491
29524
|
var init_common4 = __esm({
|
29492
|
-
"../
|
29525
|
+
"../drizzle-orm/dist/mysql-core/columns/common.js"() {
|
29493
29526
|
"use strict";
|
29494
29527
|
init_column_builder();
|
29495
29528
|
init_column();
|
@@ -29570,10 +29603,10 @@ var init_common4 = __esm({
|
|
29570
29603
|
}
|
29571
29604
|
});
|
29572
29605
|
|
29573
|
-
// ../
|
29606
|
+
// ../drizzle-orm/dist/mysql-core/columns/bigint.js
|
29574
29607
|
var _a235, _b161, MySqlBigInt53Builder, _a236, _b162, MySqlBigInt53, _a237, _b163, MySqlBigInt64Builder, _a238, _b164, MySqlBigInt64;
|
29575
29608
|
var init_bigint2 = __esm({
|
29576
|
-
"../
|
29609
|
+
"../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
|
29577
29610
|
"use strict";
|
29578
29611
|
init_entity();
|
29579
29612
|
init_common4();
|
@@ -29630,10 +29663,10 @@ var init_bigint2 = __esm({
|
|
29630
29663
|
}
|
29631
29664
|
});
|
29632
29665
|
|
29633
|
-
// ../
|
29666
|
+
// ../drizzle-orm/dist/mysql-core/columns/binary.js
|
29634
29667
|
var _a239, _b165, MySqlBinaryBuilder, _a240, _b166, MySqlBinary;
|
29635
29668
|
var init_binary = __esm({
|
29636
|
-
"../
|
29669
|
+
"../drizzle-orm/dist/mysql-core/columns/binary.js"() {
|
29637
29670
|
"use strict";
|
29638
29671
|
init_entity();
|
29639
29672
|
init_common4();
|
@@ -29661,10 +29694,10 @@ var init_binary = __esm({
|
|
29661
29694
|
}
|
29662
29695
|
});
|
29663
29696
|
|
29664
|
-
// ../
|
29697
|
+
// ../drizzle-orm/dist/mysql-core/columns/boolean.js
|
29665
29698
|
var _a241, _b167, MySqlBooleanBuilder, _a242, _b168, MySqlBoolean;
|
29666
29699
|
var init_boolean2 = __esm({
|
29667
|
-
"../
|
29700
|
+
"../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
|
29668
29701
|
"use strict";
|
29669
29702
|
init_entity();
|
29670
29703
|
init_common4();
|
@@ -29696,10 +29729,10 @@ var init_boolean2 = __esm({
|
|
29696
29729
|
}
|
29697
29730
|
});
|
29698
29731
|
|
29699
|
-
// ../
|
29732
|
+
// ../drizzle-orm/dist/mysql-core/columns/char.js
|
29700
29733
|
var _a243, _b169, MySqlCharBuilder, _a244, _b170, MySqlChar;
|
29701
29734
|
var init_char2 = __esm({
|
29702
|
-
"../
|
29735
|
+
"../drizzle-orm/dist/mysql-core/columns/char.js"() {
|
29703
29736
|
"use strict";
|
29704
29737
|
init_entity();
|
29705
29738
|
init_common4();
|
@@ -29732,10 +29765,10 @@ var init_char2 = __esm({
|
|
29732
29765
|
}
|
29733
29766
|
});
|
29734
29767
|
|
29735
|
-
// ../
|
29768
|
+
// ../drizzle-orm/dist/mysql-core/columns/custom.js
|
29736
29769
|
var _a245, _b171, MySqlCustomColumnBuilder, _a246, _b172, MySqlCustomColumn;
|
29737
29770
|
var init_custom3 = __esm({
|
29738
|
-
"../
|
29771
|
+
"../drizzle-orm/dist/mysql-core/columns/custom.js"() {
|
29739
29772
|
"use strict";
|
29740
29773
|
init_entity();
|
29741
29774
|
init_common4();
|
@@ -29778,10 +29811,10 @@ var init_custom3 = __esm({
|
|
29778
29811
|
}
|
29779
29812
|
});
|
29780
29813
|
|
29781
|
-
// ../
|
29814
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.js
|
29782
29815
|
var _a247, _b173, MySqlDateBuilder, _a248, _b174, MySqlDate, _a249, _b175, MySqlDateStringBuilder, _a250, _b176, MySqlDateString;
|
29783
29816
|
var init_date2 = __esm({
|
29784
|
-
"../
|
29817
|
+
"../drizzle-orm/dist/mysql-core/columns/date.js"() {
|
29785
29818
|
"use strict";
|
29786
29819
|
init_entity();
|
29787
29820
|
init_common4();
|
@@ -29832,10 +29865,10 @@ var init_date2 = __esm({
|
|
29832
29865
|
}
|
29833
29866
|
});
|
29834
29867
|
|
29835
|
-
// ../
|
29868
|
+
// ../drizzle-orm/dist/mysql-core/columns/datetime.js
|
29836
29869
|
var _a251, _b177, MySqlDateTimeBuilder, _a252, _b178, MySqlDateTime, _a253, _b179, MySqlDateTimeStringBuilder, _a254, _b180, MySqlDateTimeString;
|
29837
29870
|
var init_datetime = __esm({
|
29838
|
-
"../
|
29871
|
+
"../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
|
29839
29872
|
"use strict";
|
29840
29873
|
init_entity();
|
29841
29874
|
init_common4();
|
@@ -29900,10 +29933,10 @@ var init_datetime = __esm({
|
|
29900
29933
|
}
|
29901
29934
|
});
|
29902
29935
|
|
29903
|
-
// ../
|
29936
|
+
// ../drizzle-orm/dist/mysql-core/columns/decimal.js
|
29904
29937
|
var _a255, _b181, MySqlDecimalBuilder, _a256, _b182, MySqlDecimal;
|
29905
29938
|
var init_decimal = __esm({
|
29906
|
-
"../
|
29939
|
+
"../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
|
29907
29940
|
"use strict";
|
29908
29941
|
init_entity();
|
29909
29942
|
init_common4();
|
@@ -29942,10 +29975,10 @@ var init_decimal = __esm({
|
|
29942
29975
|
}
|
29943
29976
|
});
|
29944
29977
|
|
29945
|
-
// ../
|
29978
|
+
// ../drizzle-orm/dist/mysql-core/columns/double.js
|
29946
29979
|
var _a257, _b183, MySqlDoubleBuilder, _a258, _b184, MySqlDouble;
|
29947
29980
|
var init_double = __esm({
|
29948
|
-
"../
|
29981
|
+
"../drizzle-orm/dist/mysql-core/columns/double.js"() {
|
29949
29982
|
"use strict";
|
29950
29983
|
init_entity();
|
29951
29984
|
init_common4();
|
@@ -29981,10 +30014,10 @@ var init_double = __esm({
|
|
29981
30014
|
}
|
29982
30015
|
});
|
29983
30016
|
|
29984
|
-
// ../
|
30017
|
+
// ../drizzle-orm/dist/mysql-core/columns/enum.js
|
29985
30018
|
var _a259, _b185, MySqlEnumColumnBuilder, _a260, _b186, MySqlEnumColumn;
|
29986
30019
|
var init_enum2 = __esm({
|
29987
|
-
"../
|
30020
|
+
"../drizzle-orm/dist/mysql-core/columns/enum.js"() {
|
29988
30021
|
"use strict";
|
29989
30022
|
init_entity();
|
29990
30023
|
init_common4();
|
@@ -30015,10 +30048,10 @@ var init_enum2 = __esm({
|
|
30015
30048
|
}
|
30016
30049
|
});
|
30017
30050
|
|
30018
|
-
// ../
|
30051
|
+
// ../drizzle-orm/dist/mysql-core/columns/float.js
|
30019
30052
|
var _a261, _b187, MySqlFloatBuilder, _a262, _b188, MySqlFloat;
|
30020
30053
|
var init_float = __esm({
|
30021
|
-
"../
|
30054
|
+
"../drizzle-orm/dist/mysql-core/columns/float.js"() {
|
30022
30055
|
"use strict";
|
30023
30056
|
init_entity();
|
30024
30057
|
init_common4();
|
@@ -30041,10 +30074,10 @@ var init_float = __esm({
|
|
30041
30074
|
}
|
30042
30075
|
});
|
30043
30076
|
|
30044
|
-
// ../
|
30077
|
+
// ../drizzle-orm/dist/mysql-core/columns/int.js
|
30045
30078
|
var _a263, _b189, MySqlIntBuilder, _a264, _b190, MySqlInt;
|
30046
30079
|
var init_int = __esm({
|
30047
|
-
"../
|
30080
|
+
"../drizzle-orm/dist/mysql-core/columns/int.js"() {
|
30048
30081
|
"use strict";
|
30049
30082
|
init_entity();
|
30050
30083
|
init_common4();
|
@@ -30074,10 +30107,10 @@ var init_int = __esm({
|
|
30074
30107
|
}
|
30075
30108
|
});
|
30076
30109
|
|
30077
|
-
// ../
|
30110
|
+
// ../drizzle-orm/dist/mysql-core/columns/json.js
|
30078
30111
|
var _a265, _b191, MySqlJsonBuilder, _a266, _b192, MySqlJson;
|
30079
30112
|
var init_json2 = __esm({
|
30080
|
-
"../
|
30113
|
+
"../drizzle-orm/dist/mysql-core/columns/json.js"() {
|
30081
30114
|
"use strict";
|
30082
30115
|
init_entity();
|
30083
30116
|
init_common4();
|
@@ -30103,10 +30136,10 @@ var init_json2 = __esm({
|
|
30103
30136
|
}
|
30104
30137
|
});
|
30105
30138
|
|
30106
|
-
// ../
|
30139
|
+
// ../drizzle-orm/dist/mysql-core/columns/mediumint.js
|
30107
30140
|
var _a267, _b193, MySqlMediumIntBuilder, _a268, _b194, MySqlMediumInt;
|
30108
30141
|
var init_mediumint = __esm({
|
30109
|
-
"../
|
30142
|
+
"../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
|
30110
30143
|
"use strict";
|
30111
30144
|
init_entity();
|
30112
30145
|
init_common4();
|
@@ -30139,10 +30172,10 @@ var init_mediumint = __esm({
|
|
30139
30172
|
}
|
30140
30173
|
});
|
30141
30174
|
|
30142
|
-
// ../
|
30175
|
+
// ../drizzle-orm/dist/mysql-core/columns/real.js
|
30143
30176
|
var _a269, _b195, MySqlRealBuilder, _a270, _b196, MySqlReal;
|
30144
30177
|
var init_real3 = __esm({
|
30145
|
-
"../
|
30178
|
+
"../drizzle-orm/dist/mysql-core/columns/real.js"() {
|
30146
30179
|
"use strict";
|
30147
30180
|
init_entity();
|
30148
30181
|
init_common4();
|
@@ -30178,10 +30211,10 @@ var init_real3 = __esm({
|
|
30178
30211
|
}
|
30179
30212
|
});
|
30180
30213
|
|
30181
|
-
// ../
|
30214
|
+
// ../drizzle-orm/dist/mysql-core/columns/serial.js
|
30182
30215
|
var _a271, _b197, MySqlSerialBuilder, _a272, _b198, MySqlSerial;
|
30183
30216
|
var init_serial2 = __esm({
|
30184
|
-
"../
|
30217
|
+
"../drizzle-orm/dist/mysql-core/columns/serial.js"() {
|
30185
30218
|
"use strict";
|
30186
30219
|
init_entity();
|
30187
30220
|
init_common4();
|
@@ -30212,10 +30245,10 @@ var init_serial2 = __esm({
|
|
30212
30245
|
}
|
30213
30246
|
});
|
30214
30247
|
|
30215
|
-
// ../
|
30248
|
+
// ../drizzle-orm/dist/mysql-core/columns/smallint.js
|
30216
30249
|
var _a273, _b199, MySqlSmallIntBuilder, _a274, _b200, MySqlSmallInt;
|
30217
30250
|
var init_smallint2 = __esm({
|
30218
|
-
"../
|
30251
|
+
"../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
|
30219
30252
|
"use strict";
|
30220
30253
|
init_entity();
|
30221
30254
|
init_common4();
|
@@ -30248,10 +30281,10 @@ var init_smallint2 = __esm({
|
|
30248
30281
|
}
|
30249
30282
|
});
|
30250
30283
|
|
30251
|
-
// ../
|
30284
|
+
// ../drizzle-orm/dist/mysql-core/columns/text.js
|
30252
30285
|
var _a275, _b201, MySqlTextBuilder, _a276, _b202, MySqlText;
|
30253
30286
|
var init_text3 = __esm({
|
30254
|
-
"../
|
30287
|
+
"../drizzle-orm/dist/mysql-core/columns/text.js"() {
|
30255
30288
|
"use strict";
|
30256
30289
|
init_entity();
|
30257
30290
|
init_common4();
|
@@ -30281,10 +30314,10 @@ var init_text3 = __esm({
|
|
30281
30314
|
}
|
30282
30315
|
});
|
30283
30316
|
|
30284
|
-
// ../
|
30317
|
+
// ../drizzle-orm/dist/mysql-core/columns/time.js
|
30285
30318
|
var _a277, _b203, MySqlTimeBuilder, _a278, _b204, MySqlTime;
|
30286
30319
|
var init_time2 = __esm({
|
30287
|
-
"../
|
30320
|
+
"../drizzle-orm/dist/mysql-core/columns/time.js"() {
|
30288
30321
|
"use strict";
|
30289
30322
|
init_entity();
|
30290
30323
|
init_common4();
|
@@ -30313,10 +30346,10 @@ var init_time2 = __esm({
|
|
30313
30346
|
}
|
30314
30347
|
});
|
30315
30348
|
|
30316
|
-
// ../
|
30349
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.common.js
|
30317
30350
|
var _a279, _b205, MySqlDateColumnBaseBuilder, _a280, _b206, MySqlDateBaseColumn;
|
30318
30351
|
var init_date_common2 = __esm({
|
30319
|
-
"../
|
30352
|
+
"../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
|
30320
30353
|
"use strict";
|
30321
30354
|
init_entity();
|
30322
30355
|
init_sql();
|
@@ -30343,10 +30376,10 @@ var init_date_common2 = __esm({
|
|
30343
30376
|
}
|
30344
30377
|
});
|
30345
30378
|
|
30346
|
-
// ../
|
30379
|
+
// ../drizzle-orm/dist/mysql-core/columns/timestamp.js
|
30347
30380
|
var _a281, _b207, MySqlTimestampBuilder, _a282, _b208, MySqlTimestamp, _a283, _b209, MySqlTimestampStringBuilder, _a284, _b210, MySqlTimestampString;
|
30348
30381
|
var init_timestamp2 = __esm({
|
30349
|
-
"../
|
30382
|
+
"../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
|
30350
30383
|
"use strict";
|
30351
30384
|
init_entity();
|
30352
30385
|
init_date_common2();
|
@@ -30409,10 +30442,10 @@ var init_timestamp2 = __esm({
|
|
30409
30442
|
}
|
30410
30443
|
});
|
30411
30444
|
|
30412
|
-
// ../
|
30445
|
+
// ../drizzle-orm/dist/mysql-core/columns/tinyint.js
|
30413
30446
|
var _a285, _b211, MySqlTinyIntBuilder, _a286, _b212, MySqlTinyInt;
|
30414
30447
|
var init_tinyint = __esm({
|
30415
|
-
"../
|
30448
|
+
"../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
|
30416
30449
|
"use strict";
|
30417
30450
|
init_entity();
|
30418
30451
|
init_common4();
|
@@ -30445,10 +30478,10 @@ var init_tinyint = __esm({
|
|
30445
30478
|
}
|
30446
30479
|
});
|
30447
30480
|
|
30448
|
-
// ../
|
30481
|
+
// ../drizzle-orm/dist/mysql-core/columns/varbinary.js
|
30449
30482
|
var _a287, _b213, MySqlVarBinaryBuilder, _a288, _b214, MySqlVarBinary;
|
30450
30483
|
var init_varbinary = __esm({
|
30451
|
-
"../
|
30484
|
+
"../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
|
30452
30485
|
"use strict";
|
30453
30486
|
init_entity();
|
30454
30487
|
init_common4();
|
@@ -30480,10 +30513,10 @@ var init_varbinary = __esm({
|
|
30480
30513
|
}
|
30481
30514
|
});
|
30482
30515
|
|
30483
|
-
// ../
|
30516
|
+
// ../drizzle-orm/dist/mysql-core/columns/varchar.js
|
30484
30517
|
var _a289, _b215, MySqlVarCharBuilder, _a290, _b216, MySqlVarChar;
|
30485
30518
|
var init_varchar2 = __esm({
|
30486
|
-
"../
|
30519
|
+
"../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
|
30487
30520
|
"use strict";
|
30488
30521
|
init_entity();
|
30489
30522
|
init_common4();
|
@@ -30517,10 +30550,10 @@ var init_varchar2 = __esm({
|
|
30517
30550
|
}
|
30518
30551
|
});
|
30519
30552
|
|
30520
|
-
// ../
|
30553
|
+
// ../drizzle-orm/dist/mysql-core/columns/year.js
|
30521
30554
|
var _a291, _b217, MySqlYearBuilder, _a292, _b218, MySqlYear;
|
30522
30555
|
var init_year = __esm({
|
30523
|
-
"../
|
30556
|
+
"../drizzle-orm/dist/mysql-core/columns/year.js"() {
|
30524
30557
|
"use strict";
|
30525
30558
|
init_entity();
|
30526
30559
|
init_common4();
|
@@ -30543,9 +30576,9 @@ var init_year = __esm({
|
|
30543
30576
|
}
|
30544
30577
|
});
|
30545
30578
|
|
30546
|
-
// ../
|
30579
|
+
// ../drizzle-orm/dist/mysql-core/columns/index.js
|
30547
30580
|
var init_columns3 = __esm({
|
30548
|
-
"../
|
30581
|
+
"../drizzle-orm/dist/mysql-core/columns/index.js"() {
|
30549
30582
|
"use strict";
|
30550
30583
|
init_bigint2();
|
30551
30584
|
init_binary();
|
@@ -30575,10 +30608,10 @@ var init_columns3 = __esm({
|
|
30575
30608
|
}
|
30576
30609
|
});
|
30577
30610
|
|
30578
|
-
// ../
|
30611
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/delete.js
|
30579
30612
|
var _a293, _b219, MySqlDeleteBase;
|
30580
30613
|
var init_delete3 = __esm({
|
30581
|
-
"../
|
30614
|
+
"../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
|
30582
30615
|
"use strict";
|
30583
30616
|
init_entity();
|
30584
30617
|
init_query_promise();
|
@@ -30656,10 +30689,10 @@ var init_delete3 = __esm({
|
|
30656
30689
|
}
|
30657
30690
|
});
|
30658
30691
|
|
30659
|
-
// ../
|
30692
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/insert.js
|
30660
30693
|
var _a294, MySqlInsertBuilder, _a295, _b220, MySqlInsertBase;
|
30661
30694
|
var init_insert3 = __esm({
|
30662
|
-
"../
|
30695
|
+
"../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
|
30663
30696
|
"use strict";
|
30664
30697
|
init_entity();
|
30665
30698
|
init_query_promise();
|
@@ -30781,10 +30814,10 @@ var init_insert3 = __esm({
|
|
30781
30814
|
}
|
30782
30815
|
});
|
30783
30816
|
|
30784
|
-
// ../
|
30817
|
+
// ../drizzle-orm/dist/mysql-core/view-base.js
|
30785
30818
|
var _a296, _b221, MySqlViewBase;
|
30786
30819
|
var init_view_base3 = __esm({
|
30787
|
-
"../
|
30820
|
+
"../drizzle-orm/dist/mysql-core/view-base.js"() {
|
30788
30821
|
"use strict";
|
30789
30822
|
init_entity();
|
30790
30823
|
init_sql();
|
@@ -30794,10 +30827,10 @@ var init_view_base3 = __esm({
|
|
30794
30827
|
}
|
30795
30828
|
});
|
30796
30829
|
|
30797
|
-
// ../
|
30830
|
+
// ../drizzle-orm/dist/mysql-core/dialect.js
|
30798
30831
|
var _a297, MySqlDialect;
|
30799
30832
|
var init_dialect3 = __esm({
|
30800
|
-
"../
|
30833
|
+
"../drizzle-orm/dist/mysql-core/dialect.js"() {
|
30801
30834
|
"use strict";
|
30802
30835
|
init_alias();
|
30803
30836
|
init_column();
|
@@ -31593,7 +31626,7 @@ var init_dialect3 = __esm({
|
|
31593
31626
|
}
|
31594
31627
|
});
|
31595
31628
|
|
31596
|
-
// ../
|
31629
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.js
|
31597
31630
|
function createSetOperator3(type, isAll) {
|
31598
31631
|
return (leftSelect, rightSelect, ...restSelects) => {
|
31599
31632
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -31613,7 +31646,7 @@ function createSetOperator3(type, isAll) {
|
|
31613
31646
|
}
|
31614
31647
|
var _a298, MySqlSelectBuilder, _a299, _b222, MySqlSelectQueryBuilderBase, _a300, _b223, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
|
31615
31648
|
var init_select4 = __esm({
|
31616
|
-
"../
|
31649
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
|
31617
31650
|
"use strict";
|
31618
31651
|
init_entity();
|
31619
31652
|
init_query_builder();
|
@@ -32317,10 +32350,10 @@ var init_select4 = __esm({
|
|
32317
32350
|
}
|
32318
32351
|
});
|
32319
32352
|
|
32320
|
-
// ../
|
32353
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
|
32321
32354
|
var _a301, QueryBuilder3;
|
32322
32355
|
var init_query_builder4 = __esm({
|
32323
|
-
"../
|
32356
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
|
32324
32357
|
"use strict";
|
32325
32358
|
init_entity();
|
32326
32359
|
init_dialect3();
|
@@ -32390,17 +32423,17 @@ var init_query_builder4 = __esm({
|
|
32390
32423
|
}
|
32391
32424
|
});
|
32392
32425
|
|
32393
|
-
// ../
|
32426
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.types.js
|
32394
32427
|
var init_select_types3 = __esm({
|
32395
|
-
"../
|
32428
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.types.js"() {
|
32396
32429
|
"use strict";
|
32397
32430
|
}
|
32398
32431
|
});
|
32399
32432
|
|
32400
|
-
// ../
|
32433
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/update.js
|
32401
32434
|
var _a302, MySqlUpdateBuilder, _a303, _b224, MySqlUpdateBase;
|
32402
32435
|
var init_update3 = __esm({
|
32403
|
-
"../
|
32436
|
+
"../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
|
32404
32437
|
"use strict";
|
32405
32438
|
init_entity();
|
32406
32439
|
init_query_promise();
|
@@ -32495,9 +32528,9 @@ var init_update3 = __esm({
|
|
32495
32528
|
}
|
32496
32529
|
});
|
32497
32530
|
|
32498
|
-
// ../
|
32531
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/index.js
|
32499
32532
|
var init_query_builders3 = __esm({
|
32500
|
-
"../
|
32533
|
+
"../drizzle-orm/dist/mysql-core/query-builders/index.js"() {
|
32501
32534
|
"use strict";
|
32502
32535
|
init_delete3();
|
32503
32536
|
init_insert3();
|
@@ -32508,10 +32541,10 @@ var init_query_builders3 = __esm({
|
|
32508
32541
|
}
|
32509
32542
|
});
|
32510
32543
|
|
32511
|
-
// ../
|
32544
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query.js
|
32512
32545
|
var _a304, RelationalQueryBuilder3, _a305, _b225, MySqlRelationalQuery;
|
32513
32546
|
var init_query3 = __esm({
|
32514
|
-
"../
|
32547
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
|
32515
32548
|
"use strict";
|
32516
32549
|
init_entity();
|
32517
32550
|
init_query_promise();
|
@@ -32626,10 +32659,10 @@ var init_query3 = __esm({
|
|
32626
32659
|
}
|
32627
32660
|
});
|
32628
32661
|
|
32629
|
-
// ../
|
32662
|
+
// ../drizzle-orm/dist/mysql-core/db.js
|
32630
32663
|
var _a306, MySqlDatabase;
|
32631
32664
|
var init_db3 = __esm({
|
32632
|
-
"../
|
32665
|
+
"../drizzle-orm/dist/mysql-core/db.js"() {
|
32633
32666
|
"use strict";
|
32634
32667
|
init_entity();
|
32635
32668
|
init_selection_proxy();
|
@@ -32849,10 +32882,10 @@ var init_db3 = __esm({
|
|
32849
32882
|
}
|
32850
32883
|
});
|
32851
32884
|
|
32852
|
-
// ../
|
32885
|
+
// ../drizzle-orm/dist/mysql-core/indexes.js
|
32853
32886
|
var _a307, IndexBuilderOn3, _a308, IndexBuilder3, _a309, Index5;
|
32854
32887
|
var init_indexes3 = __esm({
|
32855
|
-
"../
|
32888
|
+
"../drizzle-orm/dist/mysql-core/indexes.js"() {
|
32856
32889
|
"use strict";
|
32857
32890
|
init_entity();
|
32858
32891
|
_a307 = entityKind;
|
@@ -32906,10 +32939,10 @@ var init_indexes3 = __esm({
|
|
32906
32939
|
}
|
32907
32940
|
});
|
32908
32941
|
|
32909
|
-
// ../
|
32942
|
+
// ../drizzle-orm/dist/mysql-core/primary-keys.js
|
32910
32943
|
var _a310, PrimaryKeyBuilder3, _a311, PrimaryKey3;
|
32911
32944
|
var init_primary_keys3 = __esm({
|
32912
|
-
"../
|
32945
|
+
"../drizzle-orm/dist/mysql-core/primary-keys.js"() {
|
32913
32946
|
"use strict";
|
32914
32947
|
init_entity();
|
32915
32948
|
init_table4();
|
@@ -32946,16 +32979,16 @@ var init_primary_keys3 = __esm({
|
|
32946
32979
|
}
|
32947
32980
|
});
|
32948
32981
|
|
32949
|
-
// ../
|
32982
|
+
// ../drizzle-orm/dist/mysql-core/view-common.js
|
32950
32983
|
var MySqlViewConfig;
|
32951
32984
|
var init_view_common4 = __esm({
|
32952
|
-
"../
|
32985
|
+
"../drizzle-orm/dist/mysql-core/view-common.js"() {
|
32953
32986
|
"use strict";
|
32954
32987
|
MySqlViewConfig = Symbol.for("drizzle:MySqlViewConfig");
|
32955
32988
|
}
|
32956
32989
|
});
|
32957
32990
|
|
32958
|
-
// ../
|
32991
|
+
// ../drizzle-orm/dist/mysql-core/view.js
|
32959
32992
|
function mysqlViewWithSchema(name2, selection, schema4) {
|
32960
32993
|
if (selection) {
|
32961
32994
|
return new ManualViewBuilder3(name2, selection, schema4);
|
@@ -32964,7 +32997,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
|
|
32964
32997
|
}
|
32965
32998
|
var _a312, ViewBuilderCore2, _a313, _b226, ViewBuilder3, _a314, _b227, ManualViewBuilder3, _a315, _b228, _c8, MySqlView;
|
32966
32999
|
var init_view3 = __esm({
|
32967
|
-
"../
|
33000
|
+
"../drizzle-orm/dist/mysql-core/view.js"() {
|
32968
33001
|
"use strict";
|
32969
33002
|
init_entity();
|
32970
33003
|
init_selection_proxy();
|
@@ -33082,10 +33115,10 @@ var init_view3 = __esm({
|
|
33082
33115
|
}
|
33083
33116
|
});
|
33084
33117
|
|
33085
|
-
// ../
|
33118
|
+
// ../drizzle-orm/dist/mysql-core/schema.js
|
33086
33119
|
var _a316, MySqlSchema5;
|
33087
33120
|
var init_schema2 = __esm({
|
33088
|
-
"../
|
33121
|
+
"../drizzle-orm/dist/mysql-core/schema.js"() {
|
33089
33122
|
"use strict";
|
33090
33123
|
init_entity();
|
33091
33124
|
init_table4();
|
@@ -33106,10 +33139,10 @@ var init_schema2 = __esm({
|
|
33106
33139
|
}
|
33107
33140
|
});
|
33108
33141
|
|
33109
|
-
// ../
|
33142
|
+
// ../drizzle-orm/dist/mysql-core/session.js
|
33110
33143
|
var _a317, MySqlPreparedQuery, _a318, MySqlSession, _a319, _b229, MySqlTransaction;
|
33111
33144
|
var init_session3 = __esm({
|
33112
|
-
"../
|
33145
|
+
"../drizzle-orm/dist/mysql-core/session.js"() {
|
33113
33146
|
"use strict";
|
33114
33147
|
init_entity();
|
33115
33148
|
init_errors();
|
@@ -33139,7 +33172,7 @@ var init_session3 = __esm({
|
|
33139
33172
|
if (config.isolationLevel) {
|
33140
33173
|
parts.push(`isolation level ${config.isolationLevel}`);
|
33141
33174
|
}
|
33142
|
-
return parts.length ? sql
|
33175
|
+
return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33143
33176
|
}
|
33144
33177
|
getStartTransactionSQL(config) {
|
33145
33178
|
const parts = [];
|
@@ -33149,7 +33182,7 @@ var init_session3 = __esm({
|
|
33149
33182
|
if (config.accessMode) {
|
33150
33183
|
parts.push(config.accessMode);
|
33151
33184
|
}
|
33152
|
-
return parts.length ? sql
|
33185
|
+
return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33153
33186
|
}
|
33154
33187
|
};
|
33155
33188
|
__publicField(MySqlSession, _a318, "MySqlSession");
|
@@ -33167,14 +33200,14 @@ var init_session3 = __esm({
|
|
33167
33200
|
}
|
33168
33201
|
});
|
33169
33202
|
|
33170
|
-
// ../
|
33203
|
+
// ../drizzle-orm/dist/mysql-core/subquery.js
|
33171
33204
|
var init_subquery4 = __esm({
|
33172
|
-
"../
|
33205
|
+
"../drizzle-orm/dist/mysql-core/subquery.js"() {
|
33173
33206
|
"use strict";
|
33174
33207
|
}
|
33175
33208
|
});
|
33176
33209
|
|
33177
|
-
// ../
|
33210
|
+
// ../drizzle-orm/dist/mysql-core/utils.js
|
33178
33211
|
function getTableConfig3(table4) {
|
33179
33212
|
const columns = Object.values(table4[MySqlTable.Symbol.Columns]);
|
33180
33213
|
const indexes = [];
|
@@ -33215,7 +33248,7 @@ function getTableConfig3(table4) {
|
|
33215
33248
|
};
|
33216
33249
|
}
|
33217
33250
|
var init_utils7 = __esm({
|
33218
|
-
"../
|
33251
|
+
"../drizzle-orm/dist/mysql-core/utils.js"() {
|
33219
33252
|
"use strict";
|
33220
33253
|
init_entity();
|
33221
33254
|
init_table();
|
@@ -33228,9 +33261,9 @@ var init_utils7 = __esm({
|
|
33228
33261
|
}
|
33229
33262
|
});
|
33230
33263
|
|
33231
|
-
// ../
|
33264
|
+
// ../drizzle-orm/dist/mysql-core/index.js
|
33232
33265
|
var init_mysql_core = __esm({
|
33233
|
-
"../
|
33266
|
+
"../drizzle-orm/dist/mysql-core/index.js"() {
|
33234
33267
|
"use strict";
|
33235
33268
|
init_alias4();
|
33236
33269
|
init_checks3();
|
@@ -33275,8 +33308,8 @@ var init_mysqlSerializer = __esm({
|
|
33275
33308
|
"src/serializer/mysqlSerializer.ts"() {
|
33276
33309
|
"use strict";
|
33277
33310
|
init_source();
|
33278
|
-
|
33279
|
-
|
33311
|
+
init_dist();
|
33312
|
+
init_dist();
|
33280
33313
|
init_mysql_core();
|
33281
33314
|
init_mysql_core();
|
33282
33315
|
init_outputs();
|
@@ -34078,7 +34111,7 @@ var prepareFromExports;
|
|
34078
34111
|
var init_pgImports = __esm({
|
34079
34112
|
"src/serializer/pgImports.ts"() {
|
34080
34113
|
"use strict";
|
34081
|
-
|
34114
|
+
init_dist();
|
34082
34115
|
init_pg_core();
|
34083
34116
|
init_utils8();
|
34084
34117
|
prepareFromExports = (exports2) => {
|
@@ -34117,7 +34150,7 @@ var prepareFromExports2, prepareFromSqliteImports;
|
|
34117
34150
|
var init_sqliteImports = __esm({
|
34118
34151
|
"src/serializer/sqliteImports.ts"() {
|
34119
34152
|
"use strict";
|
34120
|
-
|
34153
|
+
init_dist();
|
34121
34154
|
init_sqlite_core();
|
34122
34155
|
init_utils8();
|
34123
34156
|
prepareFromExports2 = (exports2) => {
|
@@ -34155,7 +34188,7 @@ var prepareFromExports3, prepareFromMySqlImports;
|
|
34155
34188
|
var init_mysqlImports = __esm({
|
34156
34189
|
"src/serializer/mysqlImports.ts"() {
|
34157
34190
|
"use strict";
|
34158
|
-
|
34191
|
+
init_dist();
|
34159
34192
|
init_mysql_core();
|
34160
34193
|
init_utils8();
|
34161
34194
|
prepareFromExports3 = (exports2) => {
|
@@ -35287,7 +35320,7 @@ var generateMigration = async (prev, cur) => {
|
|
35287
35320
|
};
|
35288
35321
|
var pushSchema = async (imports, drizzleInstance, schemaFilters) => {
|
35289
35322
|
const { applyPgSnapshotsDiff: applyPgSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35290
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35323
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35291
35324
|
const db = {
|
35292
35325
|
query: async (query, params) => {
|
35293
35326
|
const res = await drizzleInstance.execute(sql2.raw(query));
|
@@ -35357,7 +35390,7 @@ var generateSQLiteMigration = async (prev, cur) => {
|
|
35357
35390
|
};
|
35358
35391
|
var pushSQLiteSchema = async (imports, drizzleInstance) => {
|
35359
35392
|
const { applySqliteSnapshotsDiff: applySqliteSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35360
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35393
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35361
35394
|
const db = {
|
35362
35395
|
query: async (query, params) => {
|
35363
35396
|
const res = drizzleInstance.all(sql2.raw(query));
|
@@ -35434,7 +35467,7 @@ var pushMySQLSchema = async (imports, drizzleInstance, databaseName) => {
|
|
35434
35467
|
const { applyMysqlSnapshotsDiff: applyMysqlSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35435
35468
|
const { logSuggestionsAndReturn: logSuggestionsAndReturn3 } = await Promise.resolve().then(() => (init_mysqlPushUtils(), mysqlPushUtils_exports));
|
35436
35469
|
const { mysqlPushIntrospect: mysqlPushIntrospect2 } = await Promise.resolve().then(() => (init_mysqlIntrospect(), mysqlIntrospect_exports));
|
35437
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35470
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35438
35471
|
const db = {
|
35439
35472
|
query: async (query, params) => {
|
35440
35473
|
const res = await drizzleInstance.execute(sql2.raw(query));
|