drizzle-kit 0.26.2-18dfb56 → 0.26.2-57d2372

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/api.js +773 -516
  2. package/api.mjs +773 -516
  3. package/bin.cjs +57 -3
  4. package/package.json +1 -1
package/api.js CHANGED
@@ -3647,17 +3647,17 @@ function processCreateParams(params) {
3647
3647
  if (errorMap2)
3648
3648
  return { errorMap: errorMap2, description };
3649
3649
  const customMap = (iss, ctx) => {
3650
- var _a324, _b233;
3650
+ var _a338, _b247;
3651
3651
  const { message } = params;
3652
3652
  if (iss.code === "invalid_enum_value") {
3653
3653
  return { message: message !== null && message !== void 0 ? message : ctx.defaultError };
3654
3654
  }
3655
3655
  if (typeof ctx.data === "undefined") {
3656
- return { message: (_a324 = message !== null && message !== void 0 ? message : required_error) !== null && _a324 !== void 0 ? _a324 : ctx.defaultError };
3656
+ return { message: (_a338 = message !== null && message !== void 0 ? message : required_error) !== null && _a338 !== void 0 ? _a338 : ctx.defaultError };
3657
3657
  }
3658
3658
  if (iss.code !== "invalid_type")
3659
3659
  return { message: ctx.defaultError };
3660
- return { message: (_b233 = message !== null && message !== void 0 ? message : invalid_type_error) !== null && _b233 !== void 0 ? _b233 : ctx.defaultError };
3660
+ return { message: (_b247 = message !== null && message !== void 0 ? message : invalid_type_error) !== null && _b247 !== void 0 ? _b247 : ctx.defaultError };
3661
3661
  };
3662
3662
  return { errorMap: customMap, description };
3663
3663
  }
@@ -4319,11 +4319,11 @@ var init_lib = __esm({
4319
4319
  throw result.error;
4320
4320
  }
4321
4321
  safeParse(data, params) {
4322
- var _a324;
4322
+ var _a338;
4323
4323
  const ctx = {
4324
4324
  common: {
4325
4325
  issues: [],
4326
- async: (_a324 = params === null || params === void 0 ? void 0 : params.async) !== null && _a324 !== void 0 ? _a324 : false,
4326
+ async: (_a338 = params === null || params === void 0 ? void 0 : params.async) !== null && _a338 !== void 0 ? _a338 : false,
4327
4327
  contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap
4328
4328
  },
4329
4329
  path: (params === null || params === void 0 ? void 0 : params.path) || [],
@@ -4645,7 +4645,7 @@ var init_lib = __esm({
4645
4645
  } else if (check.kind === "url") {
4646
4646
  try {
4647
4647
  new URL(input.data);
4648
- } catch (_a324) {
4648
+ } catch (_a338) {
4649
4649
  ctx = this._getOrReturnCtx(input, ctx);
4650
4650
  addIssueToContext(ctx, {
4651
4651
  validation: "url",
@@ -4815,7 +4815,7 @@ var init_lib = __esm({
4815
4815
  return this._addCheck({ kind: "ip", ...errorUtil.errToObj(options) });
4816
4816
  }
4817
4817
  datetime(options) {
4818
- var _a324, _b233;
4818
+ var _a338, _b247;
4819
4819
  if (typeof options === "string") {
4820
4820
  return this._addCheck({
4821
4821
  kind: "datetime",
@@ -4828,8 +4828,8 @@ var init_lib = __esm({
4828
4828
  return this._addCheck({
4829
4829
  kind: "datetime",
4830
4830
  precision: typeof (options === null || options === void 0 ? void 0 : options.precision) === "undefined" ? null : options === null || options === void 0 ? void 0 : options.precision,
4831
- offset: (_a324 = options === null || options === void 0 ? void 0 : options.offset) !== null && _a324 !== void 0 ? _a324 : false,
4832
- local: (_b233 = options === null || options === void 0 ? void 0 : options.local) !== null && _b233 !== void 0 ? _b233 : false,
4831
+ offset: (_a338 = options === null || options === void 0 ? void 0 : options.offset) !== null && _a338 !== void 0 ? _a338 : false,
4832
+ local: (_b247 = options === null || options === void 0 ? void 0 : options.local) !== null && _b247 !== void 0 ? _b247 : false,
4833
4833
  ...errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message)
4834
4834
  });
4835
4835
  }
@@ -4992,11 +4992,11 @@ var init_lib = __esm({
4992
4992
  }
4993
4993
  };
4994
4994
  ZodString.create = (params) => {
4995
- var _a324;
4995
+ var _a338;
4996
4996
  return new ZodString({
4997
4997
  checks: [],
4998
4998
  typeName: ZodFirstPartyTypeKind.ZodString,
4999
- coerce: (_a324 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a324 !== void 0 ? _a324 : false,
4999
+ coerce: (_a338 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a338 !== void 0 ? _a338 : false,
5000
5000
  ...processCreateParams(params)
5001
5001
  });
5002
5002
  };
@@ -5389,11 +5389,11 @@ var init_lib = __esm({
5389
5389
  }
5390
5390
  };
5391
5391
  ZodBigInt.create = (params) => {
5392
- var _a324;
5392
+ var _a338;
5393
5393
  return new ZodBigInt({
5394
5394
  checks: [],
5395
5395
  typeName: ZodFirstPartyTypeKind.ZodBigInt,
5396
- coerce: (_a324 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a324 !== void 0 ? _a324 : false,
5396
+ coerce: (_a338 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a338 !== void 0 ? _a338 : false,
5397
5397
  ...processCreateParams(params)
5398
5398
  });
5399
5399
  };
@@ -5873,8 +5873,8 @@ var init_lib = __esm({
5873
5873
  unknownKeys: "strict",
5874
5874
  ...message !== void 0 ? {
5875
5875
  errorMap: (issue, ctx) => {
5876
- var _a324, _b233, _c11, _d5;
5877
- const defaultError = (_c11 = (_b233 = (_a324 = this._def).errorMap) === null || _b233 === void 0 ? void 0 : _b233.call(_a324, issue, ctx).message) !== null && _c11 !== void 0 ? _c11 : ctx.defaultError;
5876
+ var _a338, _b247, _c11, _d5;
5877
+ const defaultError = (_c11 = (_b247 = (_a338 = this._def).errorMap) === null || _b247 === void 0 ? void 0 : _b247.call(_a338, issue, ctx).message) !== null && _c11 !== void 0 ? _c11 : ctx.defaultError;
5878
5878
  if (issue.code === "unrecognized_keys")
5879
5879
  return {
5880
5880
  message: (_d5 = errorUtil.errToObj(message).message) !== null && _d5 !== void 0 ? _d5 : defaultError
@@ -11996,7 +11996,7 @@ var init_sqlgenerator = __esm({
11996
11996
  isPgNativeType = (it) => {
11997
11997
  if (pgNativeTypes.has(it)) return true;
11998
11998
  const toCheck = it.replace(/ /g, "");
11999
- return toCheck.startsWith("varchar(") || toCheck.startsWith("char(") || toCheck.startsWith("numeric(") || toCheck.startsWith("timestamp(") || toCheck.startsWith("doubleprecision[") || toCheck.startsWith("intervalyear(") || toCheck.startsWith("intervalmonth(") || toCheck.startsWith("intervalday(") || toCheck.startsWith("intervalhour(") || toCheck.startsWith("intervalminute(") || toCheck.startsWith("intervalsecond(") || toCheck.startsWith("intervalyeartomonth(") || toCheck.startsWith("intervaldaytohour(") || toCheck.startsWith("intervaldaytominute(") || toCheck.startsWith("intervaldaytosecond(") || toCheck.startsWith("intervalhourtominute(") || toCheck.startsWith("intervalhourtosecond(") || toCheck.startsWith("intervalminutetosecond(") || toCheck.startsWith("vector(") || toCheck.startsWith("geometry(") || /^(\w+)(\[\d*])+$/.test(it);
11999
+ return toCheck.startsWith("varchar(") || toCheck.startsWith("char(") || toCheck.startsWith("numeric(") || toCheck.startsWith("timestamp(") || toCheck.startsWith("doubleprecision[") || toCheck.startsWith("intervalyear(") || toCheck.startsWith("intervalmonth(") || toCheck.startsWith("intervalday(") || toCheck.startsWith("intervalhour(") || toCheck.startsWith("intervalminute(") || toCheck.startsWith("intervalsecond(") || toCheck.startsWith("intervalyeartomonth(") || toCheck.startsWith("intervaldaytohour(") || toCheck.startsWith("intervaldaytominute(") || toCheck.startsWith("intervaldaytosecond(") || toCheck.startsWith("intervalhourtominute(") || toCheck.startsWith("intervalhourtosecond(") || toCheck.startsWith("intervalminutetosecond(") || toCheck.startsWith("vector(") || toCheck.startsWith("geometry(") || toCheck.startsWith("geography(") || /^(\w+)(\[\d*])+$/.test(it);
12000
12000
  };
12001
12001
  Convertor = class {
12002
12002
  };
@@ -20372,7 +20372,7 @@ var version;
20372
20372
  var init_version = __esm({
20373
20373
  "../drizzle-orm/dist/version.js"() {
20374
20374
  "use strict";
20375
- version = "0.35.2";
20375
+ version = "0.35.3";
20376
20376
  }
20377
20377
  });
20378
20378
 
@@ -20773,8 +20773,8 @@ var init_sql = __esm({
20773
20773
  sql2.param = param2;
20774
20774
  })(sql || (sql = {}));
20775
20775
  ((SQL2) => {
20776
- var _a324;
20777
- _a324 = entityKind;
20776
+ var _a338;
20777
+ _a338 = entityKind;
20778
20778
  const _Aliased = class _Aliased {
20779
20779
  constructor(sql2, fieldAlias) {
20780
20780
  /** @internal */
@@ -20790,7 +20790,7 @@ var init_sql = __esm({
20790
20790
  return new _Aliased(this.sql, this.fieldAlias);
20791
20791
  }
20792
20792
  };
20793
- __publicField(_Aliased, _a324, "SQL.Aliased");
20793
+ __publicField(_Aliased, _a338, "SQL.Aliased");
20794
20794
  let Aliased = _Aliased;
20795
20795
  SQL2.Aliased = Aliased;
20796
20796
  })(SQL || (SQL = {}));
@@ -23691,6 +23691,257 @@ var init_checks = __esm({
23691
23691
  }
23692
23692
  });
23693
23693
 
23694
+ // ../drizzle-orm/dist/pg-core/columns/postgis_extension/geography.js
23695
+ var _a125, _b97, PgGeographyBuilder, _a126, _b98, PgGeography, _a127, _b99, PgGeographyObjectBuilder, _a128, _b100, PgGeographyObject;
23696
+ var init_geography = __esm({
23697
+ "../drizzle-orm/dist/pg-core/columns/postgis_extension/geography.js"() {
23698
+ "use strict";
23699
+ init_entity();
23700
+ init_common2();
23701
+ init_utils3();
23702
+ PgGeographyBuilder = class extends (_b97 = PgColumnBuilder, _a125 = entityKind, _b97) {
23703
+ constructor(name2, config) {
23704
+ super(name2, "array", "PgGeography");
23705
+ this.config.srid = config?.srid;
23706
+ this.config.type = config?.type;
23707
+ }
23708
+ /** @internal */
23709
+ build(table4) {
23710
+ return new PgGeography(
23711
+ table4,
23712
+ this.config
23713
+ );
23714
+ }
23715
+ };
23716
+ __publicField(PgGeographyBuilder, _a125, "PgGeographyBuilder");
23717
+ PgGeography = class extends (_b98 = PgColumn, _a126 = entityKind, _b98) {
23718
+ constructor() {
23719
+ super(...arguments);
23720
+ __publicField(this, "type", this.config.type);
23721
+ __publicField(this, "srid", this.config.srid);
23722
+ }
23723
+ getSQLType() {
23724
+ return `geography${this.type || this.srid ? `(${this.type ?? ""}${this.srid ? this.type ? `,${this.srid}` : this.srid : ""})` : ""}`;
23725
+ }
23726
+ mapFromDriverValue(value) {
23727
+ return parseEWKB(value);
23728
+ }
23729
+ mapToDriverValue(value) {
23730
+ return `point(${value[0]} ${value[1]})`;
23731
+ }
23732
+ };
23733
+ __publicField(PgGeography, _a126, "PgGeography");
23734
+ PgGeographyObjectBuilder = class extends (_b99 = PgColumnBuilder, _a127 = entityKind, _b99) {
23735
+ constructor(name2, config) {
23736
+ super(name2, "json", "PgGeographyObject");
23737
+ this.config.srid = config?.srid;
23738
+ this.config.type = config?.type;
23739
+ }
23740
+ /** @internal */
23741
+ build(table4) {
23742
+ return new PgGeographyObject(
23743
+ table4,
23744
+ this.config
23745
+ );
23746
+ }
23747
+ };
23748
+ __publicField(PgGeographyObjectBuilder, _a127, "PgGeographyObjectBuilder");
23749
+ PgGeographyObject = class extends (_b100 = PgColumn, _a128 = entityKind, _b100) {
23750
+ constructor() {
23751
+ super(...arguments);
23752
+ __publicField(this, "type", this.config.type);
23753
+ __publicField(this, "srid", this.config.srid);
23754
+ }
23755
+ getSQLType() {
23756
+ return `geography${this.type || this.srid ? `(${this.type ?? ""}${this.srid ? this.type ? `,${this.srid}` : this.srid : ""})` : ""}`;
23757
+ }
23758
+ mapFromDriverValue(value) {
23759
+ const parsed = parseEWKB(value);
23760
+ return { x: parsed[0], y: parsed[1] };
23761
+ }
23762
+ mapToDriverValue(value) {
23763
+ return `geography(${value.x} ${value.y})`;
23764
+ }
23765
+ };
23766
+ __publicField(PgGeographyObject, _a128, "PgGeographyObject");
23767
+ }
23768
+ });
23769
+
23770
+ // ../drizzle-orm/dist/pg-core/columns/postgres_internals/name.js
23771
+ var _a129, _b101, PgNameInternalBuilder, _a130, _b102, PgNameInternal;
23772
+ var init_name = __esm({
23773
+ "../drizzle-orm/dist/pg-core/columns/postgres_internals/name.js"() {
23774
+ "use strict";
23775
+ init_entity();
23776
+ init_common2();
23777
+ PgNameInternalBuilder = class extends (_b101 = PgColumnBuilder, _a129 = entityKind, _b101) {
23778
+ constructor(name2) {
23779
+ super(name2, "string", "PgNameInternal");
23780
+ }
23781
+ /** @internal */
23782
+ build(table4) {
23783
+ return new PgNameInternal(
23784
+ table4,
23785
+ this.config
23786
+ );
23787
+ }
23788
+ };
23789
+ __publicField(PgNameInternalBuilder, _a129, "PgNameInternalBuilder");
23790
+ PgNameInternal = class extends (_b102 = PgColumn, _a130 = entityKind, _b102) {
23791
+ getSQLType() {
23792
+ return `name`;
23793
+ }
23794
+ mapFromDriverValue(value) {
23795
+ return value;
23796
+ }
23797
+ mapToDriverValue(value) {
23798
+ return value;
23799
+ }
23800
+ };
23801
+ __publicField(PgNameInternal, _a130, "PgNameInternal");
23802
+ }
23803
+ });
23804
+
23805
+ // ../drizzle-orm/dist/pg-core/columns/postgres_internals/oid.js
23806
+ var _a131, _b103, PgOidInternalBuilder, _a132, _b104, PgOidInternal;
23807
+ var init_oid = __esm({
23808
+ "../drizzle-orm/dist/pg-core/columns/postgres_internals/oid.js"() {
23809
+ "use strict";
23810
+ init_entity();
23811
+ init_common2();
23812
+ PgOidInternalBuilder = class extends (_b103 = PgColumnBuilder, _a131 = entityKind, _b103) {
23813
+ constructor(name2) {
23814
+ super(name2, "string", "PgOidInternal");
23815
+ }
23816
+ /** @internal */
23817
+ build(table4) {
23818
+ return new PgOidInternal(
23819
+ table4,
23820
+ this.config
23821
+ );
23822
+ }
23823
+ };
23824
+ __publicField(PgOidInternalBuilder, _a131, "PgOidInternalBuilder");
23825
+ PgOidInternal = class extends (_b104 = PgColumn, _a132 = entityKind, _b104) {
23826
+ getSQLType() {
23827
+ return `oid`;
23828
+ }
23829
+ mapFromDriverValue(value) {
23830
+ return value;
23831
+ }
23832
+ mapToDriverValue(value) {
23833
+ return value;
23834
+ }
23835
+ };
23836
+ __publicField(PgOidInternal, _a132, "PgOidInternal");
23837
+ }
23838
+ });
23839
+
23840
+ // ../drizzle-orm/dist/pg-core/columns/timescale/compactstateagg.js
23841
+ var _a133, _b105, PgCompactStateAggBuilder, _a134, _b106, PgCompactStateAgg;
23842
+ var init_compactstateagg = __esm({
23843
+ "../drizzle-orm/dist/pg-core/columns/timescale/compactstateagg.js"() {
23844
+ "use strict";
23845
+ init_entity();
23846
+ init_common2();
23847
+ PgCompactStateAggBuilder = class extends (_b105 = PgColumnBuilder, _a133 = entityKind, _b105) {
23848
+ constructor(name2) {
23849
+ super(name2, "string", "PgCompactStateAgg");
23850
+ }
23851
+ /** @internal */
23852
+ build(table4) {
23853
+ return new PgCompactStateAgg(
23854
+ table4,
23855
+ this.config
23856
+ );
23857
+ }
23858
+ };
23859
+ __publicField(PgCompactStateAggBuilder, _a133, "PgCompactStateAggBuilder");
23860
+ PgCompactStateAgg = class extends (_b106 = PgColumn, _a134 = entityKind, _b106) {
23861
+ getSQLType() {
23862
+ return `compactstateagg`;
23863
+ }
23864
+ mapFromDriverValue(value) {
23865
+ return value;
23866
+ }
23867
+ mapToDriverValue(value) {
23868
+ return value;
23869
+ }
23870
+ };
23871
+ __publicField(PgCompactStateAgg, _a134, "PgCompactStateAgg");
23872
+ }
23873
+ });
23874
+
23875
+ // ../drizzle-orm/dist/pg-core/columns/timescale/heartbeatagg.js
23876
+ var _a135, _b107, PgHeartBeatAggBuilder, _a136, _b108, PgHeartBeatAgg;
23877
+ var init_heartbeatagg = __esm({
23878
+ "../drizzle-orm/dist/pg-core/columns/timescale/heartbeatagg.js"() {
23879
+ "use strict";
23880
+ init_entity();
23881
+ init_common2();
23882
+ PgHeartBeatAggBuilder = class extends (_b107 = PgColumnBuilder, _a135 = entityKind, _b107) {
23883
+ constructor(name2) {
23884
+ super(name2, "string", "PgHeartBeatAgg");
23885
+ }
23886
+ /** @internal */
23887
+ build(table4) {
23888
+ return new PgHeartBeatAgg(
23889
+ table4,
23890
+ this.config
23891
+ );
23892
+ }
23893
+ };
23894
+ __publicField(PgHeartBeatAggBuilder, _a135, "PgHeartBeatAggBuilder");
23895
+ PgHeartBeatAgg = class extends (_b108 = PgColumn, _a136 = entityKind, _b108) {
23896
+ getSQLType() {
23897
+ return `heartbeatagg`;
23898
+ }
23899
+ mapFromDriverValue(value) {
23900
+ return value;
23901
+ }
23902
+ mapToDriverValue(value) {
23903
+ return value;
23904
+ }
23905
+ };
23906
+ __publicField(PgHeartBeatAgg, _a136, "PgHeartBeatAgg");
23907
+ }
23908
+ });
23909
+
23910
+ // ../drizzle-orm/dist/pg-core/columns/timescale/stateagg.js
23911
+ var _a137, _b109, PgStateAggBuilder, _a138, _b110, PgStateAgg;
23912
+ var init_stateagg = __esm({
23913
+ "../drizzle-orm/dist/pg-core/columns/timescale/stateagg.js"() {
23914
+ "use strict";
23915
+ init_entity();
23916
+ init_common2();
23917
+ PgStateAggBuilder = class extends (_b109 = PgColumnBuilder, _a137 = entityKind, _b109) {
23918
+ constructor(name2) {
23919
+ super(name2, "string", "PgStateAgg");
23920
+ }
23921
+ /** @internal */
23922
+ build(table4) {
23923
+ return new PgStateAgg(
23924
+ table4,
23925
+ this.config
23926
+ );
23927
+ }
23928
+ };
23929
+ __publicField(PgStateAggBuilder, _a137, "PgStateAggBuilder");
23930
+ PgStateAgg = class extends (_b110 = PgColumn, _a138 = entityKind, _b110) {
23931
+ getSQLType() {
23932
+ return `stateagg`;
23933
+ }
23934
+ mapFromDriverValue(value) {
23935
+ return value;
23936
+ }
23937
+ mapToDriverValue(value) {
23938
+ return value;
23939
+ }
23940
+ };
23941
+ __publicField(PgStateAgg, _a138, "PgStateAgg");
23942
+ }
23943
+ });
23944
+
23694
23945
  // ../drizzle-orm/dist/pg-core/columns/index.js
23695
23946
  var init_columns = __esm({
23696
23947
  "../drizzle-orm/dist/pg-core/columns/index.js"() {
@@ -23716,13 +23967,19 @@ var init_columns = __esm({
23716
23967
  init_macaddr8();
23717
23968
  init_numeric();
23718
23969
  init_point();
23970
+ init_geography();
23719
23971
  init_geometry();
23972
+ init_name();
23973
+ init_oid();
23720
23974
  init_real();
23721
23975
  init_serial();
23722
23976
  init_smallint();
23723
23977
  init_smallserial();
23724
23978
  init_text();
23725
23979
  init_time();
23980
+ init_compactstateagg();
23981
+ init_heartbeatagg();
23982
+ init_stateagg();
23726
23983
  init_timestamp();
23727
23984
  init_uuid();
23728
23985
  init_varchar();
@@ -23734,7 +23991,7 @@ var init_columns = __esm({
23734
23991
  });
23735
23992
 
23736
23993
  // ../drizzle-orm/dist/pg-core/query-builders/delete.js
23737
- var _a125, _b97, PgDeleteBase;
23994
+ var _a139, _b111, PgDeleteBase;
23738
23995
  var init_delete = __esm({
23739
23996
  "../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
23740
23997
  "use strict";
@@ -23743,7 +24000,7 @@ var init_delete = __esm({
23743
24000
  init_table();
23744
24001
  init_tracing();
23745
24002
  init_utils2();
23746
- PgDeleteBase = class extends (_b97 = QueryPromise, _a125 = entityKind, _b97) {
24003
+ PgDeleteBase = class extends (_b111 = QueryPromise, _a139 = entityKind, _b111) {
23747
24004
  constructor(table4, session, dialect4, withList) {
23748
24005
  super();
23749
24006
  __publicField(this, "config");
@@ -23814,12 +24071,12 @@ var init_delete = __esm({
23814
24071
  return this;
23815
24072
  }
23816
24073
  };
23817
- __publicField(PgDeleteBase, _a125, "PgDelete");
24074
+ __publicField(PgDeleteBase, _a139, "PgDelete");
23818
24075
  }
23819
24076
  });
23820
24077
 
23821
24078
  // ../drizzle-orm/dist/pg-core/query-builders/insert.js
23822
- var _a126, PgInsertBuilder, _a127, _b98, PgInsertBase;
24079
+ var _a140, PgInsertBuilder, _a141, _b112, PgInsertBase;
23823
24080
  var init_insert = __esm({
23824
24081
  "../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
23825
24082
  "use strict";
@@ -23829,7 +24086,7 @@ var init_insert = __esm({
23829
24086
  init_table();
23830
24087
  init_tracing();
23831
24088
  init_utils2();
23832
- _a126 = entityKind;
24089
+ _a140 = entityKind;
23833
24090
  PgInsertBuilder = class {
23834
24091
  constructor(table4, session, dialect4, withList) {
23835
24092
  this.table = table4;
@@ -23854,8 +24111,8 @@ var init_insert = __esm({
23854
24111
  return new PgInsertBase(this.table, mappedValues, this.session, this.dialect, this.withList);
23855
24112
  }
23856
24113
  };
23857
- __publicField(PgInsertBuilder, _a126, "PgInsertBuilder");
23858
- PgInsertBase = class extends (_b98 = QueryPromise, _a127 = entityKind, _b98) {
24114
+ __publicField(PgInsertBuilder, _a140, "PgInsertBuilder");
24115
+ PgInsertBase = class extends (_b112 = QueryPromise, _a141 = entityKind, _b112) {
23859
24116
  constructor(table4, values, session, dialect4, withList) {
23860
24117
  super();
23861
24118
  __publicField(this, "config");
@@ -23970,25 +24227,25 @@ var init_insert = __esm({
23970
24227
  return this;
23971
24228
  }
23972
24229
  };
23973
- __publicField(PgInsertBase, _a127, "PgInsert");
24230
+ __publicField(PgInsertBase, _a141, "PgInsert");
23974
24231
  }
23975
24232
  });
23976
24233
 
23977
24234
  // ../drizzle-orm/dist/pg-core/view-base.js
23978
- var _a128, _b99, PgViewBase;
24235
+ var _a142, _b113, PgViewBase;
23979
24236
  var init_view_base = __esm({
23980
24237
  "../drizzle-orm/dist/pg-core/view-base.js"() {
23981
24238
  "use strict";
23982
24239
  init_entity();
23983
24240
  init_sql();
23984
- PgViewBase = class extends (_b99 = View3, _a128 = entityKind, _b99) {
24241
+ PgViewBase = class extends (_b113 = View3, _a142 = entityKind, _b113) {
23985
24242
  };
23986
- __publicField(PgViewBase, _a128, "PgViewBase");
24243
+ __publicField(PgViewBase, _a142, "PgViewBase");
23987
24244
  }
23988
24245
  });
23989
24246
 
23990
24247
  // ../drizzle-orm/dist/pg-core/dialect.js
23991
- var _a129, PgDialect;
24248
+ var _a143, PgDialect;
23992
24249
  var init_dialect = __esm({
23993
24250
  "../drizzle-orm/dist/pg-core/dialect.js"() {
23994
24251
  "use strict";
@@ -24007,7 +24264,7 @@ var init_dialect = __esm({
24007
24264
  init_utils2();
24008
24265
  init_view_common();
24009
24266
  init_view_base();
24010
- _a129 = entityKind;
24267
+ _a143 = entityKind;
24011
24268
  PgDialect = class {
24012
24269
  constructor(config) {
24013
24270
  /** @internal */
@@ -25075,12 +25332,12 @@ var init_dialect = __esm({
25075
25332
  };
25076
25333
  }
25077
25334
  };
25078
- __publicField(PgDialect, _a129, "PgDialect");
25335
+ __publicField(PgDialect, _a143, "PgDialect");
25079
25336
  }
25080
25337
  });
25081
25338
 
25082
25339
  // ../drizzle-orm/dist/selection-proxy.js
25083
- var _a130, _SelectionProxyHandler, SelectionProxyHandler;
25340
+ var _a144, _SelectionProxyHandler, SelectionProxyHandler;
25084
25341
  var init_selection_proxy = __esm({
25085
25342
  "../drizzle-orm/dist/selection-proxy.js"() {
25086
25343
  "use strict";
@@ -25090,7 +25347,7 @@ var init_selection_proxy = __esm({
25090
25347
  init_sql();
25091
25348
  init_subquery();
25092
25349
  init_view_common();
25093
- _a130 = entityKind;
25350
+ _a144 = entityKind;
25094
25351
  _SelectionProxyHandler = class _SelectionProxyHandler {
25095
25352
  constructor(config) {
25096
25353
  __publicField(this, "config");
@@ -25156,25 +25413,25 @@ var init_selection_proxy = __esm({
25156
25413
  return new Proxy(value, new _SelectionProxyHandler(this.config));
25157
25414
  }
25158
25415
  };
25159
- __publicField(_SelectionProxyHandler, _a130, "SelectionProxyHandler");
25416
+ __publicField(_SelectionProxyHandler, _a144, "SelectionProxyHandler");
25160
25417
  SelectionProxyHandler = _SelectionProxyHandler;
25161
25418
  }
25162
25419
  });
25163
25420
 
25164
25421
  // ../drizzle-orm/dist/query-builders/query-builder.js
25165
- var _a131, TypedQueryBuilder;
25422
+ var _a145, TypedQueryBuilder;
25166
25423
  var init_query_builder = __esm({
25167
25424
  "../drizzle-orm/dist/query-builders/query-builder.js"() {
25168
25425
  "use strict";
25169
25426
  init_entity();
25170
- _a131 = entityKind;
25427
+ _a145 = entityKind;
25171
25428
  TypedQueryBuilder = class {
25172
25429
  /** @internal */
25173
25430
  getSelectedFields() {
25174
25431
  return this._.selectedFields;
25175
25432
  }
25176
25433
  };
25177
- __publicField(TypedQueryBuilder, _a131, "TypedQueryBuilder");
25434
+ __publicField(TypedQueryBuilder, _a145, "TypedQueryBuilder");
25178
25435
  }
25179
25436
  });
25180
25437
 
@@ -25196,7 +25453,7 @@ function createSetOperator(type, isAll) {
25196
25453
  return leftSelect.addSetOperators(setOperators);
25197
25454
  };
25198
25455
  }
25199
- var _a132, PgSelectBuilder, _a133, _b100, PgSelectQueryBuilderBase, _a134, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
25456
+ var _a146, PgSelectBuilder, _a147, _b114, PgSelectQueryBuilderBase, _a148, _b115, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
25200
25457
  var init_select2 = __esm({
25201
25458
  "../drizzle-orm/dist/pg-core/query-builders/select.js"() {
25202
25459
  "use strict";
@@ -25212,7 +25469,7 @@ var init_select2 = __esm({
25212
25469
  init_utils2();
25213
25470
  init_utils2();
25214
25471
  init_view_common();
25215
- _a132 = entityKind;
25472
+ _a146 = entityKind;
25216
25473
  PgSelectBuilder = class {
25217
25474
  constructor(config) {
25218
25475
  __publicField(this, "fields");
@@ -25261,8 +25518,8 @@ var init_select2 = __esm({
25261
25518
  });
25262
25519
  }
25263
25520
  };
25264
- __publicField(PgSelectBuilder, _a132, "PgSelectBuilder");
25265
- PgSelectQueryBuilderBase = class extends (_b100 = TypedQueryBuilder, _a133 = entityKind, _b100) {
25521
+ __publicField(PgSelectBuilder, _a146, "PgSelectBuilder");
25522
+ PgSelectQueryBuilderBase = class extends (_b114 = TypedQueryBuilder, _a147 = entityKind, _b114) {
25266
25523
  constructor({ table: table4, fields, isPartialSelect, session, dialect: dialect4, withList, distinct }) {
25267
25524
  super();
25268
25525
  __publicField(this, "_");
@@ -25862,8 +26119,8 @@ var init_select2 = __esm({
25862
26119
  return this;
25863
26120
  }
25864
26121
  };
25865
- __publicField(PgSelectQueryBuilderBase, _a133, "PgSelectQueryBuilder");
25866
- PgSelectBase = class extends (_b101 = PgSelectQueryBuilderBase, _a134 = entityKind, _b101) {
26122
+ __publicField(PgSelectQueryBuilderBase, _a147, "PgSelectQueryBuilder");
26123
+ PgSelectBase = class extends (_b115 = PgSelectQueryBuilderBase, _a148 = entityKind, _b115) {
25867
26124
  constructor() {
25868
26125
  super(...arguments);
25869
26126
  __publicField(this, "execute", (placeholderValues) => {
@@ -25896,7 +26153,7 @@ var init_select2 = __esm({
25896
26153
  return this._prepare(name2);
25897
26154
  }
25898
26155
  };
25899
- __publicField(PgSelectBase, _a134, "PgSelect");
26156
+ __publicField(PgSelectBase, _a148, "PgSelect");
25900
26157
  applyMixins(PgSelectBase, [QueryPromise]);
25901
26158
  getPgSetOperators = () => ({
25902
26159
  union,
@@ -25916,7 +26173,7 @@ var init_select2 = __esm({
25916
26173
  });
25917
26174
 
25918
26175
  // ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
25919
- var _a135, QueryBuilder;
26176
+ var _a149, QueryBuilder;
25920
26177
  var init_query_builder2 = __esm({
25921
26178
  "../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
25922
26179
  "use strict";
@@ -25925,7 +26182,7 @@ var init_query_builder2 = __esm({
25925
26182
  init_selection_proxy();
25926
26183
  init_subquery();
25927
26184
  init_select2();
25928
- _a135 = entityKind;
26185
+ _a149 = entityKind;
25929
26186
  QueryBuilder = class {
25930
26187
  constructor(dialect4) {
25931
26188
  __publicField(this, "dialect");
@@ -26006,19 +26263,19 @@ var init_query_builder2 = __esm({
26006
26263
  return this.dialect;
26007
26264
  }
26008
26265
  };
26009
- __publicField(QueryBuilder, _a135, "PgQueryBuilder");
26266
+ __publicField(QueryBuilder, _a149, "PgQueryBuilder");
26010
26267
  }
26011
26268
  });
26012
26269
 
26013
26270
  // ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
26014
- var _a136, _b102, PgRefreshMaterializedView;
26271
+ var _a150, _b116, PgRefreshMaterializedView;
26015
26272
  var init_refresh_materialized_view = __esm({
26016
26273
  "../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
26017
26274
  "use strict";
26018
26275
  init_entity();
26019
26276
  init_query_promise();
26020
26277
  init_tracing();
26021
- PgRefreshMaterializedView = class extends (_b102 = QueryPromise, _a136 = entityKind, _b102) {
26278
+ PgRefreshMaterializedView = class extends (_b116 = QueryPromise, _a150 = entityKind, _b116) {
26022
26279
  constructor(view4, session, dialect4) {
26023
26280
  super();
26024
26281
  __publicField(this, "config");
@@ -26063,7 +26320,7 @@ var init_refresh_materialized_view = __esm({
26063
26320
  return this._prepare(name2);
26064
26321
  }
26065
26322
  };
26066
- __publicField(PgRefreshMaterializedView, _a136, "PgRefreshMaterializedView");
26323
+ __publicField(PgRefreshMaterializedView, _a150, "PgRefreshMaterializedView");
26067
26324
  }
26068
26325
  });
26069
26326
 
@@ -26075,7 +26332,7 @@ var init_select_types = __esm({
26075
26332
  });
26076
26333
 
26077
26334
  // ../drizzle-orm/dist/pg-core/query-builders/update.js
26078
- var _a137, PgUpdateBuilder, _a138, _b103, PgUpdateBase;
26335
+ var _a151, PgUpdateBuilder, _a152, _b117, PgUpdateBase;
26079
26336
  var init_update = __esm({
26080
26337
  "../drizzle-orm/dist/pg-core/query-builders/update.js"() {
26081
26338
  "use strict";
@@ -26083,7 +26340,7 @@ var init_update = __esm({
26083
26340
  init_query_promise();
26084
26341
  init_table();
26085
26342
  init_utils2();
26086
- _a137 = entityKind;
26343
+ _a151 = entityKind;
26087
26344
  PgUpdateBuilder = class {
26088
26345
  constructor(table4, session, dialect4, withList) {
26089
26346
  this.table = table4;
@@ -26101,8 +26358,8 @@ var init_update = __esm({
26101
26358
  );
26102
26359
  }
26103
26360
  };
26104
- __publicField(PgUpdateBuilder, _a137, "PgUpdateBuilder");
26105
- PgUpdateBase = class extends (_b103 = QueryPromise, _a138 = entityKind, _b103) {
26361
+ __publicField(PgUpdateBuilder, _a151, "PgUpdateBuilder");
26362
+ PgUpdateBase = class extends (_b117 = QueryPromise, _a152 = entityKind, _b117) {
26106
26363
  constructor(table4, set, session, dialect4, withList) {
26107
26364
  super();
26108
26365
  __publicField(this, "config");
@@ -26173,7 +26430,7 @@ var init_update = __esm({
26173
26430
  return this;
26174
26431
  }
26175
26432
  };
26176
- __publicField(PgUpdateBase, _a138, "PgUpdate");
26433
+ __publicField(PgUpdateBase, _a152, "PgUpdate");
26177
26434
  }
26178
26435
  });
26179
26436
 
@@ -26192,17 +26449,17 @@ var init_query_builders = __esm({
26192
26449
  });
26193
26450
 
26194
26451
  // ../drizzle-orm/dist/pg-core/query-builders/count.js
26195
- var _a139, _b104, _c3, _PgCountBuilder, PgCountBuilder;
26452
+ var _a153, _b118, _c3, _PgCountBuilder, PgCountBuilder;
26196
26453
  var init_count = __esm({
26197
26454
  "../drizzle-orm/dist/pg-core/query-builders/count.js"() {
26198
26455
  "use strict";
26199
26456
  init_entity();
26200
26457
  init_sql();
26201
- _PgCountBuilder = class _PgCountBuilder extends (_c3 = SQL, _b104 = entityKind, _a139 = Symbol.toStringTag, _c3) {
26458
+ _PgCountBuilder = class _PgCountBuilder extends (_c3 = SQL, _b118 = entityKind, _a153 = Symbol.toStringTag, _c3) {
26202
26459
  constructor(params) {
26203
26460
  super(_PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
26204
26461
  __publicField(this, "sql");
26205
- __publicField(this, _a139, "PgCountBuilder");
26462
+ __publicField(this, _a153, "PgCountBuilder");
26206
26463
  __publicField(this, "session");
26207
26464
  this.params = params;
26208
26465
  this.mapWith(Number);
@@ -26240,13 +26497,13 @@ var init_count = __esm({
26240
26497
  );
26241
26498
  }
26242
26499
  };
26243
- __publicField(_PgCountBuilder, _b104, "PgCountBuilder");
26500
+ __publicField(_PgCountBuilder, _b118, "PgCountBuilder");
26244
26501
  PgCountBuilder = _PgCountBuilder;
26245
26502
  }
26246
26503
  });
26247
26504
 
26248
26505
  // ../drizzle-orm/dist/pg-core/query-builders/query.js
26249
- var _a140, RelationalQueryBuilder, _a141, _b105, PgRelationalQuery;
26506
+ var _a154, RelationalQueryBuilder, _a155, _b119, PgRelationalQuery;
26250
26507
  var init_query = __esm({
26251
26508
  "../drizzle-orm/dist/pg-core/query-builders/query.js"() {
26252
26509
  "use strict";
@@ -26254,7 +26511,7 @@ var init_query = __esm({
26254
26511
  init_query_promise();
26255
26512
  init_relations();
26256
26513
  init_tracing();
26257
- _a140 = entityKind;
26514
+ _a154 = entityKind;
26258
26515
  RelationalQueryBuilder = class {
26259
26516
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session) {
26260
26517
  this.fullSchema = fullSchema;
@@ -26292,8 +26549,8 @@ var init_query = __esm({
26292
26549
  );
26293
26550
  }
26294
26551
  };
26295
- __publicField(RelationalQueryBuilder, _a140, "PgRelationalQueryBuilder");
26296
- PgRelationalQuery = class extends (_b105 = QueryPromise, _a141 = entityKind, _b105) {
26552
+ __publicField(RelationalQueryBuilder, _a154, "PgRelationalQueryBuilder");
26553
+ PgRelationalQuery = class extends (_b119 = QueryPromise, _a155 = entityKind, _b119) {
26297
26554
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, config, mode) {
26298
26555
  super();
26299
26556
  this.fullSchema = fullSchema;
@@ -26359,18 +26616,18 @@ var init_query = __esm({
26359
26616
  });
26360
26617
  }
26361
26618
  };
26362
- __publicField(PgRelationalQuery, _a141, "PgRelationalQuery");
26619
+ __publicField(PgRelationalQuery, _a155, "PgRelationalQuery");
26363
26620
  }
26364
26621
  });
26365
26622
 
26366
26623
  // ../drizzle-orm/dist/pg-core/query-builders/raw.js
26367
- var _a142, _b106, PgRaw;
26624
+ var _a156, _b120, PgRaw;
26368
26625
  var init_raw = __esm({
26369
26626
  "../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
26370
26627
  "use strict";
26371
26628
  init_entity();
26372
26629
  init_query_promise();
26373
- PgRaw = class extends (_b106 = QueryPromise, _a142 = entityKind, _b106) {
26630
+ PgRaw = class extends (_b120 = QueryPromise, _a156 = entityKind, _b120) {
26374
26631
  constructor(execute, sql2, query, mapBatchResult) {
26375
26632
  super();
26376
26633
  this.execute = execute;
@@ -26396,12 +26653,12 @@ var init_raw = __esm({
26396
26653
  return false;
26397
26654
  }
26398
26655
  };
26399
- __publicField(PgRaw, _a142, "PgRaw");
26656
+ __publicField(PgRaw, _a156, "PgRaw");
26400
26657
  }
26401
26658
  });
26402
26659
 
26403
26660
  // ../drizzle-orm/dist/pg-core/db.js
26404
- var _a143, PgDatabase;
26661
+ var _a157, PgDatabase;
26405
26662
  var init_db = __esm({
26406
26663
  "../drizzle-orm/dist/pg-core/db.js"() {
26407
26664
  "use strict";
@@ -26414,7 +26671,7 @@ var init_db = __esm({
26414
26671
  init_query();
26415
26672
  init_raw();
26416
26673
  init_refresh_materialized_view();
26417
- _a143 = entityKind;
26674
+ _a157 = entityKind;
26418
26675
  PgDatabase = class {
26419
26676
  constructor(dialect4, session, schema4) {
26420
26677
  __publicField(this, "query");
@@ -26683,19 +26940,19 @@ var init_db = __esm({
26683
26940
  return this.session.transaction(transaction, config);
26684
26941
  }
26685
26942
  };
26686
- __publicField(PgDatabase, _a143, "PgDatabase");
26943
+ __publicField(PgDatabase, _a157, "PgDatabase");
26687
26944
  }
26688
26945
  });
26689
26946
 
26690
26947
  // ../drizzle-orm/dist/pg-core/indexes.js
26691
- var _a144, IndexBuilderOn, _a145, IndexBuilder, _a146, Index2;
26948
+ var _a158, IndexBuilderOn, _a159, IndexBuilder, _a160, Index2;
26692
26949
  var init_indexes = __esm({
26693
26950
  "../drizzle-orm/dist/pg-core/indexes.js"() {
26694
26951
  "use strict";
26695
26952
  init_sql();
26696
26953
  init_entity();
26697
26954
  init_columns();
26698
- _a144 = entityKind;
26955
+ _a158 = entityKind;
26699
26956
  IndexBuilderOn = class {
26700
26957
  constructor(unique, name2) {
26701
26958
  this.unique = unique;
@@ -26762,8 +27019,8 @@ var init_indexes = __esm({
26762
27019
  );
26763
27020
  }
26764
27021
  };
26765
- __publicField(IndexBuilderOn, _a144, "PgIndexBuilderOn");
26766
- _a145 = entityKind;
27022
+ __publicField(IndexBuilderOn, _a158, "PgIndexBuilderOn");
27023
+ _a159 = entityKind;
26767
27024
  IndexBuilder = class {
26768
27025
  constructor(columns, unique, only, name2, method = "btree") {
26769
27026
  /** @internal */
@@ -26793,15 +27050,15 @@ var init_indexes = __esm({
26793
27050
  return new Index2(this.config, table4);
26794
27051
  }
26795
27052
  };
26796
- __publicField(IndexBuilder, _a145, "PgIndexBuilder");
26797
- _a146 = entityKind;
27053
+ __publicField(IndexBuilder, _a159, "PgIndexBuilder");
27054
+ _a160 = entityKind;
26798
27055
  Index2 = class {
26799
27056
  constructor(config, table4) {
26800
27057
  __publicField(this, "config");
26801
27058
  this.config = { ...config, table: table4 };
26802
27059
  }
26803
27060
  };
26804
- __publicField(Index2, _a146, "PgIndex");
27061
+ __publicField(Index2, _a160, "PgIndex");
26805
27062
  }
26806
27063
  });
26807
27064
 
@@ -26812,12 +27069,12 @@ function pgSequenceWithSchema(name2, options, schema4) {
26812
27069
  function isPgSequence(obj) {
26813
27070
  return is(obj, PgSequence);
26814
27071
  }
26815
- var _a147, PgSequence;
27072
+ var _a161, PgSequence;
26816
27073
  var init_sequence = __esm({
26817
27074
  "../drizzle-orm/dist/pg-core/sequence.js"() {
26818
27075
  "use strict";
26819
27076
  init_entity();
26820
- _a147 = entityKind;
27077
+ _a161 = entityKind;
26821
27078
  PgSequence = class {
26822
27079
  constructor(seqName, seqOptions, schema4) {
26823
27080
  this.seqName = seqName;
@@ -26825,7 +27082,7 @@ var init_sequence = __esm({
26825
27082
  this.schema = schema4;
26826
27083
  }
26827
27084
  };
26828
- __publicField(PgSequence, _a147, "PgSequence");
27085
+ __publicField(PgSequence, _a161, "PgSequence");
26829
27086
  }
26830
27087
  });
26831
27088
 
@@ -26857,7 +27114,7 @@ function isPgView(obj) {
26857
27114
  function isPgMaterializedView(obj) {
26858
27115
  return is(obj, PgMaterializedView);
26859
27116
  }
26860
- var _a148, DefaultViewBuilderCore, _a149, _b107, ViewBuilder, _a150, _b108, ManualViewBuilder, _a151, MaterializedViewBuilderCore, _a152, _b109, MaterializedViewBuilder, _a153, _b110, ManualMaterializedViewBuilder, _a154, _b111, _c4, PgView2, PgMaterializedViewConfig, _a155, _b112, _c5, PgMaterializedView;
27117
+ var _a162, DefaultViewBuilderCore, _a163, _b121, ViewBuilder, _a164, _b122, ManualViewBuilder, _a165, MaterializedViewBuilderCore, _a166, _b123, MaterializedViewBuilder, _a167, _b124, ManualMaterializedViewBuilder, _a168, _b125, _c4, PgView2, PgMaterializedViewConfig, _a169, _b126, _c5, PgMaterializedView;
26861
27118
  var init_view = __esm({
26862
27119
  "../drizzle-orm/dist/pg-core/view.js"() {
26863
27120
  "use strict";
@@ -26868,7 +27125,7 @@ var init_view = __esm({
26868
27125
  init_table2();
26869
27126
  init_view_base();
26870
27127
  init_view_common2();
26871
- _a148 = entityKind;
27128
+ _a162 = entityKind;
26872
27129
  DefaultViewBuilderCore = class {
26873
27130
  constructor(name2, schema4) {
26874
27131
  __publicField(this, "config", {});
@@ -26880,8 +27137,8 @@ var init_view = __esm({
26880
27137
  return this;
26881
27138
  }
26882
27139
  };
26883
- __publicField(DefaultViewBuilderCore, _a148, "PgDefaultViewBuilderCore");
26884
- ViewBuilder = class extends (_b107 = DefaultViewBuilderCore, _a149 = entityKind, _b107) {
27140
+ __publicField(DefaultViewBuilderCore, _a162, "PgDefaultViewBuilderCore");
27141
+ ViewBuilder = class extends (_b121 = DefaultViewBuilderCore, _a163 = entityKind, _b121) {
26885
27142
  as(qb) {
26886
27143
  if (typeof qb === "function") {
26887
27144
  qb = qb(new QueryBuilder());
@@ -26907,8 +27164,8 @@ var init_view = __esm({
26907
27164
  );
26908
27165
  }
26909
27166
  };
26910
- __publicField(ViewBuilder, _a149, "PgViewBuilder");
26911
- ManualViewBuilder = class extends (_b108 = DefaultViewBuilderCore, _a150 = entityKind, _b108) {
27167
+ __publicField(ViewBuilder, _a163, "PgViewBuilder");
27168
+ ManualViewBuilder = class extends (_b122 = DefaultViewBuilderCore, _a164 = entityKind, _b122) {
26912
27169
  constructor(name2, columns, schema4) {
26913
27170
  super(name2, schema4);
26914
27171
  __publicField(this, "columns");
@@ -26953,8 +27210,8 @@ var init_view = __esm({
26953
27210
  );
26954
27211
  }
26955
27212
  };
26956
- __publicField(ManualViewBuilder, _a150, "PgManualViewBuilder");
26957
- _a151 = entityKind;
27213
+ __publicField(ManualViewBuilder, _a164, "PgManualViewBuilder");
27214
+ _a165 = entityKind;
26958
27215
  MaterializedViewBuilderCore = class {
26959
27216
  constructor(name2, schema4) {
26960
27217
  __publicField(this, "config", {});
@@ -26978,8 +27235,8 @@ var init_view = __esm({
26978
27235
  return this;
26979
27236
  }
26980
27237
  };
26981
- __publicField(MaterializedViewBuilderCore, _a151, "PgMaterializedViewBuilderCore");
26982
- MaterializedViewBuilder = class extends (_b109 = MaterializedViewBuilderCore, _a152 = entityKind, _b109) {
27238
+ __publicField(MaterializedViewBuilderCore, _a165, "PgMaterializedViewBuilderCore");
27239
+ MaterializedViewBuilder = class extends (_b123 = MaterializedViewBuilderCore, _a166 = entityKind, _b123) {
26983
27240
  as(qb) {
26984
27241
  if (typeof qb === "function") {
26985
27242
  qb = qb(new QueryBuilder());
@@ -27010,8 +27267,8 @@ var init_view = __esm({
27010
27267
  );
27011
27268
  }
27012
27269
  };
27013
- __publicField(MaterializedViewBuilder, _a152, "PgMaterializedViewBuilder");
27014
- ManualMaterializedViewBuilder = class extends (_b110 = MaterializedViewBuilderCore, _a153 = entityKind, _b110) {
27270
+ __publicField(MaterializedViewBuilder, _a166, "PgMaterializedViewBuilder");
27271
+ ManualMaterializedViewBuilder = class extends (_b124 = MaterializedViewBuilderCore, _a167 = entityKind, _b124) {
27015
27272
  constructor(name2, columns, schema4) {
27016
27273
  super(name2, schema4);
27017
27274
  __publicField(this, "columns");
@@ -27066,11 +27323,11 @@ var init_view = __esm({
27066
27323
  );
27067
27324
  }
27068
27325
  };
27069
- __publicField(ManualMaterializedViewBuilder, _a153, "PgManualMaterializedViewBuilder");
27070
- PgView2 = class extends (_c4 = PgViewBase, _b111 = entityKind, _a154 = PgViewConfig, _c4) {
27326
+ __publicField(ManualMaterializedViewBuilder, _a167, "PgManualMaterializedViewBuilder");
27327
+ PgView2 = class extends (_c4 = PgViewBase, _b125 = entityKind, _a168 = PgViewConfig, _c4) {
27071
27328
  constructor({ pgConfig, config }) {
27072
27329
  super(config);
27073
- __publicField(this, _a154);
27330
+ __publicField(this, _a168);
27074
27331
  if (pgConfig) {
27075
27332
  this[PgViewConfig] = {
27076
27333
  with: pgConfig.with
@@ -27078,12 +27335,12 @@ var init_view = __esm({
27078
27335
  }
27079
27336
  }
27080
27337
  };
27081
- __publicField(PgView2, _b111, "PgView");
27338
+ __publicField(PgView2, _b125, "PgView");
27082
27339
  PgMaterializedViewConfig = Symbol.for("drizzle:PgMaterializedViewConfig");
27083
- PgMaterializedView = class extends (_c5 = PgViewBase, _b112 = entityKind, _a155 = PgMaterializedViewConfig, _c5) {
27340
+ PgMaterializedView = class extends (_c5 = PgViewBase, _b126 = entityKind, _a169 = PgMaterializedViewConfig, _c5) {
27084
27341
  constructor({ pgConfig, config }) {
27085
27342
  super(config);
27086
- __publicField(this, _a155);
27343
+ __publicField(this, _a169);
27087
27344
  this[PgMaterializedViewConfig] = {
27088
27345
  with: pgConfig?.with,
27089
27346
  using: pgConfig?.using,
@@ -27092,12 +27349,12 @@ var init_view = __esm({
27092
27349
  };
27093
27350
  }
27094
27351
  };
27095
- __publicField(PgMaterializedView, _b112, "PgMaterializedView");
27352
+ __publicField(PgMaterializedView, _b126, "PgMaterializedView");
27096
27353
  }
27097
27354
  });
27098
27355
 
27099
27356
  // ../drizzle-orm/dist/pg-core/schema.js
27100
- var _a156, PgSchema5;
27357
+ var _a170, PgSchema5;
27101
27358
  var init_schema = __esm({
27102
27359
  "../drizzle-orm/dist/pg-core/schema.js"() {
27103
27360
  "use strict";
@@ -27107,7 +27364,7 @@ var init_schema = __esm({
27107
27364
  init_sequence();
27108
27365
  init_table2();
27109
27366
  init_view();
27110
- _a156 = entityKind;
27367
+ _a170 = entityKind;
27111
27368
  PgSchema5 = class {
27112
27369
  constructor(schemaName) {
27113
27370
  __publicField(this, "table", (name2, columns, extraConfig) => {
@@ -27134,12 +27391,12 @@ var init_schema = __esm({
27134
27391
  return true;
27135
27392
  }
27136
27393
  };
27137
- __publicField(PgSchema5, _a156, "PgSchema");
27394
+ __publicField(PgSchema5, _a170, "PgSchema");
27138
27395
  }
27139
27396
  });
27140
27397
 
27141
27398
  // ../drizzle-orm/dist/pg-core/session.js
27142
- var _a157, PgPreparedQuery, _a158, PgSession, _a159, _b113, PgTransaction;
27399
+ var _a171, PgPreparedQuery, _a172, PgSession, _a173, _b127, PgTransaction;
27143
27400
  var init_session = __esm({
27144
27401
  "../drizzle-orm/dist/pg-core/session.js"() {
27145
27402
  "use strict";
@@ -27148,7 +27405,7 @@ var init_session = __esm({
27148
27405
  init_sql2();
27149
27406
  init_tracing();
27150
27407
  init_db();
27151
- _a157 = entityKind;
27408
+ _a171 = entityKind;
27152
27409
  PgPreparedQuery = class {
27153
27410
  constructor(query) {
27154
27411
  /** @internal */
@@ -27162,8 +27419,8 @@ var init_session = __esm({
27162
27419
  return response;
27163
27420
  }
27164
27421
  };
27165
- __publicField(PgPreparedQuery, _a157, "PgPreparedQuery");
27166
- _a158 = entityKind;
27422
+ __publicField(PgPreparedQuery, _a171, "PgPreparedQuery");
27423
+ _a172 = entityKind;
27167
27424
  PgSession = class {
27168
27425
  constructor(dialect4) {
27169
27426
  this.dialect = dialect4;
@@ -27196,8 +27453,8 @@ var init_session = __esm({
27196
27453
  );
27197
27454
  }
27198
27455
  };
27199
- __publicField(PgSession, _a158, "PgSession");
27200
- PgTransaction = class extends (_b113 = PgDatabase, _a159 = entityKind, _b113) {
27456
+ __publicField(PgSession, _a172, "PgSession");
27457
+ PgTransaction = class extends (_b127 = PgDatabase, _a173 = entityKind, _b127) {
27201
27458
  constructor(dialect4, session, schema4, nestedIndex = 0) {
27202
27459
  super(dialect4, session, schema4);
27203
27460
  this.schema = schema4;
@@ -27224,7 +27481,7 @@ var init_session = __esm({
27224
27481
  return this.session.execute(sql`set transaction ${this.getTransactionConfigSQL(config)}`);
27225
27482
  }
27226
27483
  };
27227
- __publicField(PgTransaction, _a159, "PgTransaction");
27484
+ __publicField(PgTransaction, _a173, "PgTransaction");
27228
27485
  }
27229
27486
  });
27230
27487
 
@@ -28756,12 +29013,12 @@ var init_alias3 = __esm({
28756
29013
  });
28757
29014
 
28758
29015
  // ../drizzle-orm/dist/sqlite-core/checks.js
28759
- var _a160, CheckBuilder2, _a161, Check2;
29016
+ var _a174, CheckBuilder2, _a175, Check2;
28760
29017
  var init_checks2 = __esm({
28761
29018
  "../drizzle-orm/dist/sqlite-core/checks.js"() {
28762
29019
  "use strict";
28763
29020
  init_entity();
28764
- _a160 = entityKind;
29021
+ _a174 = entityKind;
28765
29022
  CheckBuilder2 = class {
28766
29023
  constructor(name2, value) {
28767
29024
  __publicField(this, "brand");
@@ -28772,8 +29029,8 @@ var init_checks2 = __esm({
28772
29029
  return new Check2(table4, this);
28773
29030
  }
28774
29031
  };
28775
- __publicField(CheckBuilder2, _a160, "SQLiteCheckBuilder");
28776
- _a161 = entityKind;
29032
+ __publicField(CheckBuilder2, _a174, "SQLiteCheckBuilder");
29033
+ _a175 = entityKind;
28777
29034
  Check2 = class {
28778
29035
  constructor(table4, builder) {
28779
29036
  __publicField(this, "name");
@@ -28783,18 +29040,18 @@ var init_checks2 = __esm({
28783
29040
  this.value = builder.value;
28784
29041
  }
28785
29042
  };
28786
- __publicField(Check2, _a161, "SQLiteCheck");
29043
+ __publicField(Check2, _a175, "SQLiteCheck");
28787
29044
  }
28788
29045
  });
28789
29046
 
28790
29047
  // ../drizzle-orm/dist/sqlite-core/foreign-keys.js
28791
- var _a162, ForeignKeyBuilder2, _a163, ForeignKey2;
29048
+ var _a176, ForeignKeyBuilder2, _a177, ForeignKey2;
28792
29049
  var init_foreign_keys2 = __esm({
28793
29050
  "../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
28794
29051
  "use strict";
28795
29052
  init_entity();
28796
29053
  init_table_utils();
28797
- _a162 = entityKind;
29054
+ _a176 = entityKind;
28798
29055
  ForeignKeyBuilder2 = class {
28799
29056
  constructor(config, actions) {
28800
29057
  /** @internal */
@@ -28825,8 +29082,8 @@ var init_foreign_keys2 = __esm({
28825
29082
  return new ForeignKey2(table4, this);
28826
29083
  }
28827
29084
  };
28828
- __publicField(ForeignKeyBuilder2, _a162, "SQLiteForeignKeyBuilder");
28829
- _a163 = entityKind;
29085
+ __publicField(ForeignKeyBuilder2, _a176, "SQLiteForeignKeyBuilder");
29086
+ _a177 = entityKind;
28830
29087
  ForeignKey2 = class {
28831
29088
  constructor(table4, builder) {
28832
29089
  __publicField(this, "reference");
@@ -28850,7 +29107,7 @@ var init_foreign_keys2 = __esm({
28850
29107
  return name2 ?? `${chunks.join("_")}_fk`;
28851
29108
  }
28852
29109
  };
28853
- __publicField(ForeignKey2, _a163, "SQLiteForeignKey");
29110
+ __publicField(ForeignKey2, _a177, "SQLiteForeignKey");
28854
29111
  }
28855
29112
  });
28856
29113
 
@@ -28858,13 +29115,13 @@ var init_foreign_keys2 = __esm({
28858
29115
  function uniqueKeyName2(table4, columns) {
28859
29116
  return `${table4[TableName]}_${columns.join("_")}_unique`;
28860
29117
  }
28861
- var _a164, UniqueConstraintBuilder2, _a165, UniqueOnConstraintBuilder2, _a166, UniqueConstraint2;
29118
+ var _a178, UniqueConstraintBuilder2, _a179, UniqueOnConstraintBuilder2, _a180, UniqueConstraint2;
28862
29119
  var init_unique_constraint2 = __esm({
28863
29120
  "../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
28864
29121
  "use strict";
28865
29122
  init_entity();
28866
29123
  init_table_utils();
28867
- _a164 = entityKind;
29124
+ _a178 = entityKind;
28868
29125
  UniqueConstraintBuilder2 = class {
28869
29126
  constructor(columns, name2) {
28870
29127
  /** @internal */
@@ -28877,8 +29134,8 @@ var init_unique_constraint2 = __esm({
28877
29134
  return new UniqueConstraint2(table4, this.columns, this.name);
28878
29135
  }
28879
29136
  };
28880
- __publicField(UniqueConstraintBuilder2, _a164, "SQLiteUniqueConstraintBuilder");
28881
- _a165 = entityKind;
29137
+ __publicField(UniqueConstraintBuilder2, _a178, "SQLiteUniqueConstraintBuilder");
29138
+ _a179 = entityKind;
28882
29139
  UniqueOnConstraintBuilder2 = class {
28883
29140
  constructor(name2) {
28884
29141
  /** @internal */
@@ -28889,8 +29146,8 @@ var init_unique_constraint2 = __esm({
28889
29146
  return new UniqueConstraintBuilder2(columns, this.name);
28890
29147
  }
28891
29148
  };
28892
- __publicField(UniqueOnConstraintBuilder2, _a165, "SQLiteUniqueOnConstraintBuilder");
28893
- _a166 = entityKind;
29149
+ __publicField(UniqueOnConstraintBuilder2, _a179, "SQLiteUniqueOnConstraintBuilder");
29150
+ _a180 = entityKind;
28894
29151
  UniqueConstraint2 = class {
28895
29152
  constructor(table4, columns, name2) {
28896
29153
  __publicField(this, "columns");
@@ -28903,12 +29160,12 @@ var init_unique_constraint2 = __esm({
28903
29160
  return this.name;
28904
29161
  }
28905
29162
  };
28906
- __publicField(UniqueConstraint2, _a166, "SQLiteUniqueConstraint");
29163
+ __publicField(UniqueConstraint2, _a180, "SQLiteUniqueConstraint");
28907
29164
  }
28908
29165
  });
28909
29166
 
28910
29167
  // ../drizzle-orm/dist/sqlite-core/columns/common.js
28911
- var _a167, _b114, SQLiteColumnBuilder, _a168, _b115, SQLiteColumn;
29168
+ var _a181, _b128, SQLiteColumnBuilder, _a182, _b129, SQLiteColumn;
28912
29169
  var init_common3 = __esm({
28913
29170
  "../drizzle-orm/dist/sqlite-core/columns/common.js"() {
28914
29171
  "use strict";
@@ -28917,7 +29174,7 @@ var init_common3 = __esm({
28917
29174
  init_entity();
28918
29175
  init_foreign_keys2();
28919
29176
  init_unique_constraint2();
28920
- SQLiteColumnBuilder = class extends (_b114 = ColumnBuilder, _a167 = entityKind, _b114) {
29177
+ SQLiteColumnBuilder = class extends (_b128 = ColumnBuilder, _a181 = entityKind, _b128) {
28921
29178
  constructor() {
28922
29179
  super(...arguments);
28923
29180
  __publicField(this, "foreignKeyConfigs", []);
@@ -28958,8 +29215,8 @@ var init_common3 = __esm({
28958
29215
  });
28959
29216
  }
28960
29217
  };
28961
- __publicField(SQLiteColumnBuilder, _a167, "SQLiteColumnBuilder");
28962
- SQLiteColumn = class extends (_b115 = Column2, _a168 = entityKind, _b115) {
29218
+ __publicField(SQLiteColumnBuilder, _a181, "SQLiteColumnBuilder");
29219
+ SQLiteColumn = class extends (_b129 = Column2, _a182 = entityKind, _b129) {
28963
29220
  constructor(table4, config) {
28964
29221
  if (!config.uniqueName) {
28965
29222
  config.uniqueName = uniqueKeyName2(table4, [config.name]);
@@ -28968,7 +29225,7 @@ var init_common3 = __esm({
28968
29225
  this.table = table4;
28969
29226
  }
28970
29227
  };
28971
- __publicField(SQLiteColumn, _a168, "SQLiteColumn");
29228
+ __publicField(SQLiteColumn, _a182, "SQLiteColumn");
28972
29229
  }
28973
29230
  });
28974
29231
 
@@ -28983,14 +29240,14 @@ function blob(a, b) {
28983
29240
  }
28984
29241
  return new SQLiteBlobBufferBuilder(name2);
28985
29242
  }
28986
- var _a169, _b116, SQLiteBigIntBuilder, _a170, _b117, SQLiteBigInt, _a171, _b118, SQLiteBlobJsonBuilder, _a172, _b119, SQLiteBlobJson, _a173, _b120, SQLiteBlobBufferBuilder, _a174, _b121, SQLiteBlobBuffer;
29243
+ var _a183, _b130, SQLiteBigIntBuilder, _a184, _b131, SQLiteBigInt, _a185, _b132, SQLiteBlobJsonBuilder, _a186, _b133, SQLiteBlobJson, _a187, _b134, SQLiteBlobBufferBuilder, _a188, _b135, SQLiteBlobBuffer;
28987
29244
  var init_blob = __esm({
28988
29245
  "../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
28989
29246
  "use strict";
28990
29247
  init_entity();
28991
29248
  init_utils2();
28992
29249
  init_common3();
28993
- SQLiteBigIntBuilder = class extends (_b116 = SQLiteColumnBuilder, _a169 = entityKind, _b116) {
29250
+ SQLiteBigIntBuilder = class extends (_b130 = SQLiteColumnBuilder, _a183 = entityKind, _b130) {
28994
29251
  constructor(name2) {
28995
29252
  super(name2, "bigint", "SQLiteBigInt");
28996
29253
  }
@@ -28999,8 +29256,8 @@ var init_blob = __esm({
28999
29256
  return new SQLiteBigInt(table4, this.config);
29000
29257
  }
29001
29258
  };
29002
- __publicField(SQLiteBigIntBuilder, _a169, "SQLiteBigIntBuilder");
29003
- SQLiteBigInt = class extends (_b117 = SQLiteColumn, _a170 = entityKind, _b117) {
29259
+ __publicField(SQLiteBigIntBuilder, _a183, "SQLiteBigIntBuilder");
29260
+ SQLiteBigInt = class extends (_b131 = SQLiteColumn, _a184 = entityKind, _b131) {
29004
29261
  getSQLType() {
29005
29262
  return "blob";
29006
29263
  }
@@ -29011,8 +29268,8 @@ var init_blob = __esm({
29011
29268
  return Buffer.from(value.toString());
29012
29269
  }
29013
29270
  };
29014
- __publicField(SQLiteBigInt, _a170, "SQLiteBigInt");
29015
- SQLiteBlobJsonBuilder = class extends (_b118 = SQLiteColumnBuilder, _a171 = entityKind, _b118) {
29271
+ __publicField(SQLiteBigInt, _a184, "SQLiteBigInt");
29272
+ SQLiteBlobJsonBuilder = class extends (_b132 = SQLiteColumnBuilder, _a185 = entityKind, _b132) {
29016
29273
  constructor(name2) {
29017
29274
  super(name2, "json", "SQLiteBlobJson");
29018
29275
  }
@@ -29024,8 +29281,8 @@ var init_blob = __esm({
29024
29281
  );
29025
29282
  }
29026
29283
  };
29027
- __publicField(SQLiteBlobJsonBuilder, _a171, "SQLiteBlobJsonBuilder");
29028
- SQLiteBlobJson = class extends (_b119 = SQLiteColumn, _a172 = entityKind, _b119) {
29284
+ __publicField(SQLiteBlobJsonBuilder, _a185, "SQLiteBlobJsonBuilder");
29285
+ SQLiteBlobJson = class extends (_b133 = SQLiteColumn, _a186 = entityKind, _b133) {
29029
29286
  getSQLType() {
29030
29287
  return "blob";
29031
29288
  }
@@ -29036,8 +29293,8 @@ var init_blob = __esm({
29036
29293
  return Buffer.from(JSON.stringify(value));
29037
29294
  }
29038
29295
  };
29039
- __publicField(SQLiteBlobJson, _a172, "SQLiteBlobJson");
29040
- SQLiteBlobBufferBuilder = class extends (_b120 = SQLiteColumnBuilder, _a173 = entityKind, _b120) {
29296
+ __publicField(SQLiteBlobJson, _a186, "SQLiteBlobJson");
29297
+ SQLiteBlobBufferBuilder = class extends (_b134 = SQLiteColumnBuilder, _a187 = entityKind, _b134) {
29041
29298
  constructor(name2) {
29042
29299
  super(name2, "buffer", "SQLiteBlobBuffer");
29043
29300
  }
@@ -29046,13 +29303,13 @@ var init_blob = __esm({
29046
29303
  return new SQLiteBlobBuffer(table4, this.config);
29047
29304
  }
29048
29305
  };
29049
- __publicField(SQLiteBlobBufferBuilder, _a173, "SQLiteBlobBufferBuilder");
29050
- SQLiteBlobBuffer = class extends (_b121 = SQLiteColumn, _a174 = entityKind, _b121) {
29306
+ __publicField(SQLiteBlobBufferBuilder, _a187, "SQLiteBlobBufferBuilder");
29307
+ SQLiteBlobBuffer = class extends (_b135 = SQLiteColumn, _a188 = entityKind, _b135) {
29051
29308
  getSQLType() {
29052
29309
  return "blob";
29053
29310
  }
29054
29311
  };
29055
- __publicField(SQLiteBlobBuffer, _a174, "SQLiteBlobBuffer");
29312
+ __publicField(SQLiteBlobBuffer, _a188, "SQLiteBlobBuffer");
29056
29313
  }
29057
29314
  });
29058
29315
 
@@ -29067,14 +29324,14 @@ function customType2(customTypeParams) {
29067
29324
  );
29068
29325
  };
29069
29326
  }
29070
- var _a175, _b122, SQLiteCustomColumnBuilder, _a176, _b123, SQLiteCustomColumn;
29327
+ var _a189, _b136, SQLiteCustomColumnBuilder, _a190, _b137, SQLiteCustomColumn;
29071
29328
  var init_custom2 = __esm({
29072
29329
  "../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
29073
29330
  "use strict";
29074
29331
  init_entity();
29075
29332
  init_utils2();
29076
29333
  init_common3();
29077
- SQLiteCustomColumnBuilder = class extends (_b122 = SQLiteColumnBuilder, _a175 = entityKind, _b122) {
29334
+ SQLiteCustomColumnBuilder = class extends (_b136 = SQLiteColumnBuilder, _a189 = entityKind, _b136) {
29078
29335
  constructor(name2, fieldConfig, customTypeParams) {
29079
29336
  super(name2, "custom", "SQLiteCustomColumn");
29080
29337
  this.config.fieldConfig = fieldConfig;
@@ -29088,8 +29345,8 @@ var init_custom2 = __esm({
29088
29345
  );
29089
29346
  }
29090
29347
  };
29091
- __publicField(SQLiteCustomColumnBuilder, _a175, "SQLiteCustomColumnBuilder");
29092
- SQLiteCustomColumn = class extends (_b123 = SQLiteColumn, _a176 = entityKind, _b123) {
29348
+ __publicField(SQLiteCustomColumnBuilder, _a189, "SQLiteCustomColumnBuilder");
29349
+ SQLiteCustomColumn = class extends (_b137 = SQLiteColumn, _a190 = entityKind, _b137) {
29093
29350
  constructor(table4, config) {
29094
29351
  super(table4, config);
29095
29352
  __publicField(this, "sqlName");
@@ -29109,7 +29366,7 @@ var init_custom2 = __esm({
29109
29366
  return typeof this.mapTo === "function" ? this.mapTo(value) : value;
29110
29367
  }
29111
29368
  };
29112
- __publicField(SQLiteCustomColumn, _a176, "SQLiteCustomColumn");
29369
+ __publicField(SQLiteCustomColumn, _a190, "SQLiteCustomColumn");
29113
29370
  }
29114
29371
  });
29115
29372
 
@@ -29124,7 +29381,7 @@ function integer2(a, b) {
29124
29381
  }
29125
29382
  return new SQLiteIntegerBuilder(name2);
29126
29383
  }
29127
- var _a177, _b124, SQLiteBaseIntegerBuilder, _a178, _b125, SQLiteBaseInteger, _a179, _b126, SQLiteIntegerBuilder, _a180, _b127, SQLiteInteger, _a181, _b128, SQLiteTimestampBuilder, _a182, _b129, SQLiteTimestamp, _a183, _b130, SQLiteBooleanBuilder, _a184, _b131, SQLiteBoolean;
29384
+ var _a191, _b138, SQLiteBaseIntegerBuilder, _a192, _b139, SQLiteBaseInteger, _a193, _b140, SQLiteIntegerBuilder, _a194, _b141, SQLiteInteger, _a195, _b142, SQLiteTimestampBuilder, _a196, _b143, SQLiteTimestamp, _a197, _b144, SQLiteBooleanBuilder, _a198, _b145, SQLiteBoolean;
29128
29385
  var init_integer2 = __esm({
29129
29386
  "../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
29130
29387
  "use strict";
@@ -29132,7 +29389,7 @@ var init_integer2 = __esm({
29132
29389
  init_sql();
29133
29390
  init_utils2();
29134
29391
  init_common3();
29135
- SQLiteBaseIntegerBuilder = class extends (_b124 = SQLiteColumnBuilder, _a177 = entityKind, _b124) {
29392
+ SQLiteBaseIntegerBuilder = class extends (_b138 = SQLiteColumnBuilder, _a191 = entityKind, _b138) {
29136
29393
  constructor(name2, dataType, columnType) {
29137
29394
  super(name2, dataType, columnType);
29138
29395
  this.config.autoIncrement = false;
@@ -29145,8 +29402,8 @@ var init_integer2 = __esm({
29145
29402
  return super.primaryKey();
29146
29403
  }
29147
29404
  };
29148
- __publicField(SQLiteBaseIntegerBuilder, _a177, "SQLiteBaseIntegerBuilder");
29149
- SQLiteBaseInteger = class extends (_b125 = SQLiteColumn, _a178 = entityKind, _b125) {
29405
+ __publicField(SQLiteBaseIntegerBuilder, _a191, "SQLiteBaseIntegerBuilder");
29406
+ SQLiteBaseInteger = class extends (_b139 = SQLiteColumn, _a192 = entityKind, _b139) {
29150
29407
  constructor() {
29151
29408
  super(...arguments);
29152
29409
  __publicField(this, "autoIncrement", this.config.autoIncrement);
@@ -29155,8 +29412,8 @@ var init_integer2 = __esm({
29155
29412
  return "integer";
29156
29413
  }
29157
29414
  };
29158
- __publicField(SQLiteBaseInteger, _a178, "SQLiteBaseInteger");
29159
- SQLiteIntegerBuilder = class extends (_b126 = SQLiteBaseIntegerBuilder, _a179 = entityKind, _b126) {
29415
+ __publicField(SQLiteBaseInteger, _a192, "SQLiteBaseInteger");
29416
+ SQLiteIntegerBuilder = class extends (_b140 = SQLiteBaseIntegerBuilder, _a193 = entityKind, _b140) {
29160
29417
  constructor(name2) {
29161
29418
  super(name2, "number", "SQLiteInteger");
29162
29419
  }
@@ -29167,11 +29424,11 @@ var init_integer2 = __esm({
29167
29424
  );
29168
29425
  }
29169
29426
  };
29170
- __publicField(SQLiteIntegerBuilder, _a179, "SQLiteIntegerBuilder");
29171
- SQLiteInteger = class extends (_b127 = SQLiteBaseInteger, _a180 = entityKind, _b127) {
29427
+ __publicField(SQLiteIntegerBuilder, _a193, "SQLiteIntegerBuilder");
29428
+ SQLiteInteger = class extends (_b141 = SQLiteBaseInteger, _a194 = entityKind, _b141) {
29172
29429
  };
29173
- __publicField(SQLiteInteger, _a180, "SQLiteInteger");
29174
- SQLiteTimestampBuilder = class extends (_b128 = SQLiteBaseIntegerBuilder, _a181 = entityKind, _b128) {
29430
+ __publicField(SQLiteInteger, _a194, "SQLiteInteger");
29431
+ SQLiteTimestampBuilder = class extends (_b142 = SQLiteBaseIntegerBuilder, _a195 = entityKind, _b142) {
29175
29432
  constructor(name2, mode) {
29176
29433
  super(name2, "date", "SQLiteTimestamp");
29177
29434
  this.config.mode = mode;
@@ -29191,8 +29448,8 @@ var init_integer2 = __esm({
29191
29448
  );
29192
29449
  }
29193
29450
  };
29194
- __publicField(SQLiteTimestampBuilder, _a181, "SQLiteTimestampBuilder");
29195
- SQLiteTimestamp = class extends (_b129 = SQLiteBaseInteger, _a182 = entityKind, _b129) {
29451
+ __publicField(SQLiteTimestampBuilder, _a195, "SQLiteTimestampBuilder");
29452
+ SQLiteTimestamp = class extends (_b143 = SQLiteBaseInteger, _a196 = entityKind, _b143) {
29196
29453
  constructor() {
29197
29454
  super(...arguments);
29198
29455
  __publicField(this, "mode", this.config.mode);
@@ -29211,8 +29468,8 @@ var init_integer2 = __esm({
29211
29468
  return unix;
29212
29469
  }
29213
29470
  };
29214
- __publicField(SQLiteTimestamp, _a182, "SQLiteTimestamp");
29215
- SQLiteBooleanBuilder = class extends (_b130 = SQLiteBaseIntegerBuilder, _a183 = entityKind, _b130) {
29471
+ __publicField(SQLiteTimestamp, _a196, "SQLiteTimestamp");
29472
+ SQLiteBooleanBuilder = class extends (_b144 = SQLiteBaseIntegerBuilder, _a197 = entityKind, _b144) {
29216
29473
  constructor(name2, mode) {
29217
29474
  super(name2, "boolean", "SQLiteBoolean");
29218
29475
  this.config.mode = mode;
@@ -29224,8 +29481,8 @@ var init_integer2 = __esm({
29224
29481
  );
29225
29482
  }
29226
29483
  };
29227
- __publicField(SQLiteBooleanBuilder, _a183, "SQLiteBooleanBuilder");
29228
- SQLiteBoolean = class extends (_b131 = SQLiteBaseInteger, _a184 = entityKind, _b131) {
29484
+ __publicField(SQLiteBooleanBuilder, _a197, "SQLiteBooleanBuilder");
29485
+ SQLiteBoolean = class extends (_b145 = SQLiteBaseInteger, _a198 = entityKind, _b145) {
29229
29486
  constructor() {
29230
29487
  super(...arguments);
29231
29488
  __publicField(this, "mode", this.config.mode);
@@ -29237,7 +29494,7 @@ var init_integer2 = __esm({
29237
29494
  return value ? 1 : 0;
29238
29495
  }
29239
29496
  };
29240
- __publicField(SQLiteBoolean, _a184, "SQLiteBoolean");
29497
+ __publicField(SQLiteBoolean, _a198, "SQLiteBoolean");
29241
29498
  }
29242
29499
  });
29243
29500
 
@@ -29245,13 +29502,13 @@ var init_integer2 = __esm({
29245
29502
  function numeric2(name2) {
29246
29503
  return new SQLiteNumericBuilder(name2 ?? "");
29247
29504
  }
29248
- var _a185, _b132, SQLiteNumericBuilder, _a186, _b133, SQLiteNumeric;
29505
+ var _a199, _b146, SQLiteNumericBuilder, _a200, _b147, SQLiteNumeric;
29249
29506
  var init_numeric2 = __esm({
29250
29507
  "../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
29251
29508
  "use strict";
29252
29509
  init_entity();
29253
29510
  init_common3();
29254
- SQLiteNumericBuilder = class extends (_b132 = SQLiteColumnBuilder, _a185 = entityKind, _b132) {
29511
+ SQLiteNumericBuilder = class extends (_b146 = SQLiteColumnBuilder, _a199 = entityKind, _b146) {
29255
29512
  constructor(name2) {
29256
29513
  super(name2, "string", "SQLiteNumeric");
29257
29514
  }
@@ -29263,13 +29520,13 @@ var init_numeric2 = __esm({
29263
29520
  );
29264
29521
  }
29265
29522
  };
29266
- __publicField(SQLiteNumericBuilder, _a185, "SQLiteNumericBuilder");
29267
- SQLiteNumeric = class extends (_b133 = SQLiteColumn, _a186 = entityKind, _b133) {
29523
+ __publicField(SQLiteNumericBuilder, _a199, "SQLiteNumericBuilder");
29524
+ SQLiteNumeric = class extends (_b147 = SQLiteColumn, _a200 = entityKind, _b147) {
29268
29525
  getSQLType() {
29269
29526
  return "numeric";
29270
29527
  }
29271
29528
  };
29272
- __publicField(SQLiteNumeric, _a186, "SQLiteNumeric");
29529
+ __publicField(SQLiteNumeric, _a200, "SQLiteNumeric");
29273
29530
  }
29274
29531
  });
29275
29532
 
@@ -29277,13 +29534,13 @@ var init_numeric2 = __esm({
29277
29534
  function real2(name2) {
29278
29535
  return new SQLiteRealBuilder(name2 ?? "");
29279
29536
  }
29280
- var _a187, _b134, SQLiteRealBuilder, _a188, _b135, SQLiteReal;
29537
+ var _a201, _b148, SQLiteRealBuilder, _a202, _b149, SQLiteReal;
29281
29538
  var init_real2 = __esm({
29282
29539
  "../drizzle-orm/dist/sqlite-core/columns/real.js"() {
29283
29540
  "use strict";
29284
29541
  init_entity();
29285
29542
  init_common3();
29286
- SQLiteRealBuilder = class extends (_b134 = SQLiteColumnBuilder, _a187 = entityKind, _b134) {
29543
+ SQLiteRealBuilder = class extends (_b148 = SQLiteColumnBuilder, _a201 = entityKind, _b148) {
29287
29544
  constructor(name2) {
29288
29545
  super(name2, "number", "SQLiteReal");
29289
29546
  }
@@ -29292,13 +29549,13 @@ var init_real2 = __esm({
29292
29549
  return new SQLiteReal(table4, this.config);
29293
29550
  }
29294
29551
  };
29295
- __publicField(SQLiteRealBuilder, _a187, "SQLiteRealBuilder");
29296
- SQLiteReal = class extends (_b135 = SQLiteColumn, _a188 = entityKind, _b135) {
29552
+ __publicField(SQLiteRealBuilder, _a201, "SQLiteRealBuilder");
29553
+ SQLiteReal = class extends (_b149 = SQLiteColumn, _a202 = entityKind, _b149) {
29297
29554
  getSQLType() {
29298
29555
  return "real";
29299
29556
  }
29300
29557
  };
29301
- __publicField(SQLiteReal, _a188, "SQLiteReal");
29558
+ __publicField(SQLiteReal, _a202, "SQLiteReal");
29302
29559
  }
29303
29560
  });
29304
29561
 
@@ -29310,14 +29567,14 @@ function text2(a, b = {}) {
29310
29567
  }
29311
29568
  return new SQLiteTextBuilder(name2, config);
29312
29569
  }
29313
- var _a189, _b136, SQLiteTextBuilder, _a190, _b137, SQLiteText, _a191, _b138, SQLiteTextJsonBuilder, _a192, _b139, SQLiteTextJson;
29570
+ var _a203, _b150, SQLiteTextBuilder, _a204, _b151, SQLiteText, _a205, _b152, SQLiteTextJsonBuilder, _a206, _b153, SQLiteTextJson;
29314
29571
  var init_text2 = __esm({
29315
29572
  "../drizzle-orm/dist/sqlite-core/columns/text.js"() {
29316
29573
  "use strict";
29317
29574
  init_entity();
29318
29575
  init_utils2();
29319
29576
  init_common3();
29320
- SQLiteTextBuilder = class extends (_b136 = SQLiteColumnBuilder, _a189 = entityKind, _b136) {
29577
+ SQLiteTextBuilder = class extends (_b150 = SQLiteColumnBuilder, _a203 = entityKind, _b150) {
29321
29578
  constructor(name2, config) {
29322
29579
  super(name2, "string", "SQLiteText");
29323
29580
  this.config.enumValues = config.enum;
@@ -29328,8 +29585,8 @@ var init_text2 = __esm({
29328
29585
  return new SQLiteText(table4, this.config);
29329
29586
  }
29330
29587
  };
29331
- __publicField(SQLiteTextBuilder, _a189, "SQLiteTextBuilder");
29332
- SQLiteText = class extends (_b137 = SQLiteColumn, _a190 = entityKind, _b137) {
29588
+ __publicField(SQLiteTextBuilder, _a203, "SQLiteTextBuilder");
29589
+ SQLiteText = class extends (_b151 = SQLiteColumn, _a204 = entityKind, _b151) {
29333
29590
  constructor(table4, config) {
29334
29591
  super(table4, config);
29335
29592
  __publicField(this, "enumValues", this.config.enumValues);
@@ -29339,8 +29596,8 @@ var init_text2 = __esm({
29339
29596
  return `text${this.config.length ? `(${this.config.length})` : ""}`;
29340
29597
  }
29341
29598
  };
29342
- __publicField(SQLiteText, _a190, "SQLiteText");
29343
- SQLiteTextJsonBuilder = class extends (_b138 = SQLiteColumnBuilder, _a191 = entityKind, _b138) {
29599
+ __publicField(SQLiteText, _a204, "SQLiteText");
29600
+ SQLiteTextJsonBuilder = class extends (_b152 = SQLiteColumnBuilder, _a205 = entityKind, _b152) {
29344
29601
  constructor(name2) {
29345
29602
  super(name2, "json", "SQLiteTextJson");
29346
29603
  }
@@ -29352,8 +29609,8 @@ var init_text2 = __esm({
29352
29609
  );
29353
29610
  }
29354
29611
  };
29355
- __publicField(SQLiteTextJsonBuilder, _a191, "SQLiteTextJsonBuilder");
29356
- SQLiteTextJson = class extends (_b139 = SQLiteColumn, _a192 = entityKind, _b139) {
29612
+ __publicField(SQLiteTextJsonBuilder, _a205, "SQLiteTextJsonBuilder");
29613
+ SQLiteTextJson = class extends (_b153 = SQLiteColumn, _a206 = entityKind, _b153) {
29357
29614
  getSQLType() {
29358
29615
  return "text";
29359
29616
  }
@@ -29364,7 +29621,7 @@ var init_text2 = __esm({
29364
29621
  return JSON.stringify(value);
29365
29622
  }
29366
29623
  };
29367
- __publicField(SQLiteTextJson, _a192, "SQLiteTextJson");
29624
+ __publicField(SQLiteTextJson, _a206, "SQLiteTextJson");
29368
29625
  }
29369
29626
  });
29370
29627
 
@@ -29426,7 +29683,7 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
29426
29683
  }
29427
29684
  return table4;
29428
29685
  }
29429
- var InlineForeignKeys2, _a193, _b140, _c6, _d3, _e2, SQLiteTable, sqliteTable;
29686
+ var InlineForeignKeys2, _a207, _b154, _c6, _d3, _e2, SQLiteTable, sqliteTable;
29430
29687
  var init_table3 = __esm({
29431
29688
  "../drizzle-orm/dist/sqlite-core/table.js"() {
29432
29689
  "use strict";
@@ -29434,15 +29691,15 @@ var init_table3 = __esm({
29434
29691
  init_table();
29435
29692
  init_all2();
29436
29693
  InlineForeignKeys2 = Symbol.for("drizzle:SQLiteInlineForeignKeys");
29437
- SQLiteTable = class extends (_e2 = Table, _d3 = entityKind, _c6 = Table.Symbol.Columns, _b140 = InlineForeignKeys2, _a193 = Table.Symbol.ExtraConfigBuilder, _e2) {
29694
+ SQLiteTable = class extends (_e2 = Table, _d3 = entityKind, _c6 = Table.Symbol.Columns, _b154 = InlineForeignKeys2, _a207 = Table.Symbol.ExtraConfigBuilder, _e2) {
29438
29695
  constructor() {
29439
29696
  super(...arguments);
29440
29697
  /** @internal */
29441
29698
  __publicField(this, _c6);
29442
29699
  /** @internal */
29443
- __publicField(this, _b140, []);
29700
+ __publicField(this, _b154, []);
29444
29701
  /** @internal */
29445
- __publicField(this, _a193);
29702
+ __publicField(this, _a207);
29446
29703
  }
29447
29704
  };
29448
29705
  __publicField(SQLiteTable, _d3, "SQLiteTable");
@@ -29457,7 +29714,7 @@ var init_table3 = __esm({
29457
29714
  });
29458
29715
 
29459
29716
  // ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
29460
- var _a194, _b141, SQLiteDeleteBase;
29717
+ var _a208, _b155, SQLiteDeleteBase;
29461
29718
  var init_delete2 = __esm({
29462
29719
  "../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
29463
29720
  "use strict";
@@ -29467,7 +29724,7 @@ var init_delete2 = __esm({
29467
29724
  init_table3();
29468
29725
  init_table();
29469
29726
  init_utils2();
29470
- SQLiteDeleteBase = class extends (_b141 = QueryPromise, _a194 = entityKind, _b141) {
29727
+ SQLiteDeleteBase = class extends (_b155 = QueryPromise, _a208 = entityKind, _b155) {
29471
29728
  constructor(table4, session, dialect4, withList) {
29472
29729
  super();
29473
29730
  /** @internal */
@@ -29573,12 +29830,12 @@ var init_delete2 = __esm({
29573
29830
  return this;
29574
29831
  }
29575
29832
  };
29576
- __publicField(SQLiteDeleteBase, _a194, "SQLiteDelete");
29833
+ __publicField(SQLiteDeleteBase, _a208, "SQLiteDelete");
29577
29834
  }
29578
29835
  });
29579
29836
 
29580
29837
  // ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
29581
- var _a195, SQLiteInsertBuilder, _a196, _b142, SQLiteInsertBase;
29838
+ var _a209, SQLiteInsertBuilder, _a210, _b156, SQLiteInsertBase;
29582
29839
  var init_insert2 = __esm({
29583
29840
  "../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
29584
29841
  "use strict";
@@ -29588,7 +29845,7 @@ var init_insert2 = __esm({
29588
29845
  init_table3();
29589
29846
  init_table();
29590
29847
  init_utils2();
29591
- _a195 = entityKind;
29848
+ _a209 = entityKind;
29592
29849
  SQLiteInsertBuilder = class {
29593
29850
  constructor(table4, session, dialect4, withList) {
29594
29851
  this.table = table4;
@@ -29613,8 +29870,8 @@ var init_insert2 = __esm({
29613
29870
  return new SQLiteInsertBase(this.table, mappedValues, this.session, this.dialect, this.withList);
29614
29871
  }
29615
29872
  };
29616
- __publicField(SQLiteInsertBuilder, _a195, "SQLiteInsertBuilder");
29617
- SQLiteInsertBase = class extends (_b142 = QueryPromise, _a196 = entityKind, _b142) {
29873
+ __publicField(SQLiteInsertBuilder, _a209, "SQLiteInsertBuilder");
29874
+ SQLiteInsertBase = class extends (_b156 = QueryPromise, _a210 = entityKind, _b156) {
29618
29875
  constructor(table4, values, session, dialect4, withList) {
29619
29876
  super();
29620
29877
  /** @internal */
@@ -29741,25 +29998,25 @@ var init_insert2 = __esm({
29741
29998
  return this;
29742
29999
  }
29743
30000
  };
29744
- __publicField(SQLiteInsertBase, _a196, "SQLiteInsert");
30001
+ __publicField(SQLiteInsertBase, _a210, "SQLiteInsert");
29745
30002
  }
29746
30003
  });
29747
30004
 
29748
30005
  // ../drizzle-orm/dist/sqlite-core/view-base.js
29749
- var _a197, _b143, SQLiteViewBase;
30006
+ var _a211, _b157, SQLiteViewBase;
29750
30007
  var init_view_base2 = __esm({
29751
30008
  "../drizzle-orm/dist/sqlite-core/view-base.js"() {
29752
30009
  "use strict";
29753
30010
  init_entity();
29754
30011
  init_sql();
29755
- SQLiteViewBase = class extends (_b143 = View3, _a197 = entityKind, _b143) {
30012
+ SQLiteViewBase = class extends (_b157 = View3, _a211 = entityKind, _b157) {
29756
30013
  };
29757
- __publicField(SQLiteViewBase, _a197, "SQLiteViewBase");
30014
+ __publicField(SQLiteViewBase, _a211, "SQLiteViewBase");
29758
30015
  }
29759
30016
  });
29760
30017
 
29761
30018
  // ../drizzle-orm/dist/sqlite-core/dialect.js
29762
- var _a198, SQLiteDialect, _a199, _b144, SQLiteSyncDialect, _a200, _b145, SQLiteAsyncDialect;
30019
+ var _a212, SQLiteDialect, _a213, _b158, SQLiteSyncDialect, _a214, _b159, SQLiteAsyncDialect;
29763
30020
  var init_dialect2 = __esm({
29764
30021
  "../drizzle-orm/dist/sqlite-core/dialect.js"() {
29765
30022
  "use strict";
@@ -29778,7 +30035,7 @@ var init_dialect2 = __esm({
29778
30035
  init_utils2();
29779
30036
  init_view_common();
29780
30037
  init_view_base2();
29781
- _a198 = entityKind;
30038
+ _a212 = entityKind;
29782
30039
  SQLiteDialect = class {
29783
30040
  constructor(config) {
29784
30041
  /** @internal */
@@ -30300,8 +30557,8 @@ var init_dialect2 = __esm({
30300
30557
  };
30301
30558
  }
30302
30559
  };
30303
- __publicField(SQLiteDialect, _a198, "SQLiteDialect");
30304
- SQLiteSyncDialect = class extends (_b144 = SQLiteDialect, _a199 = entityKind, _b144) {
30560
+ __publicField(SQLiteDialect, _a212, "SQLiteDialect");
30561
+ SQLiteSyncDialect = class extends (_b158 = SQLiteDialect, _a213 = entityKind, _b158) {
30305
30562
  migrate(migrations, session, config) {
30306
30563
  const migrationsTable = config === void 0 ? "__drizzle_migrations" : typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
30307
30564
  const migrationTableCreate = sql`
@@ -30335,8 +30592,8 @@ var init_dialect2 = __esm({
30335
30592
  }
30336
30593
  }
30337
30594
  };
30338
- __publicField(SQLiteSyncDialect, _a199, "SQLiteSyncDialect");
30339
- SQLiteAsyncDialect = class extends (_b145 = SQLiteDialect, _a200 = entityKind, _b145) {
30595
+ __publicField(SQLiteSyncDialect, _a213, "SQLiteSyncDialect");
30596
+ SQLiteAsyncDialect = class extends (_b159 = SQLiteDialect, _a214 = entityKind, _b159) {
30340
30597
  async migrate(migrations, session, config) {
30341
30598
  const migrationsTable = config === void 0 ? "__drizzle_migrations" : typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
30342
30599
  const migrationTableCreate = sql`
@@ -30365,7 +30622,7 @@ var init_dialect2 = __esm({
30365
30622
  });
30366
30623
  }
30367
30624
  };
30368
- __publicField(SQLiteAsyncDialect, _a200, "SQLiteAsyncDialect");
30625
+ __publicField(SQLiteAsyncDialect, _a214, "SQLiteAsyncDialect");
30369
30626
  }
30370
30627
  });
30371
30628
 
@@ -30387,7 +30644,7 @@ function createSetOperator2(type, isAll) {
30387
30644
  return leftSelect.addSetOperators(setOperators);
30388
30645
  };
30389
30646
  }
30390
- var _a201, SQLiteSelectBuilder, _a202, _b146, SQLiteSelectQueryBuilderBase, _a203, _b147, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
30647
+ var _a215, SQLiteSelectBuilder, _a216, _b160, SQLiteSelectQueryBuilderBase, _a217, _b161, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
30391
30648
  var init_select3 = __esm({
30392
30649
  "../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
30393
30650
  "use strict";
@@ -30401,7 +30658,7 @@ var init_select3 = __esm({
30401
30658
  init_utils2();
30402
30659
  init_view_common();
30403
30660
  init_view_base2();
30404
- _a201 = entityKind;
30661
+ _a215 = entityKind;
30405
30662
  SQLiteSelectBuilder = class {
30406
30663
  constructor(config) {
30407
30664
  __publicField(this, "fields");
@@ -30442,8 +30699,8 @@ var init_select3 = __esm({
30442
30699
  });
30443
30700
  }
30444
30701
  };
30445
- __publicField(SQLiteSelectBuilder, _a201, "SQLiteSelectBuilder");
30446
- SQLiteSelectQueryBuilderBase = class extends (_b146 = TypedQueryBuilder, _a202 = entityKind, _b146) {
30702
+ __publicField(SQLiteSelectBuilder, _a215, "SQLiteSelectBuilder");
30703
+ SQLiteSelectQueryBuilderBase = class extends (_b160 = TypedQueryBuilder, _a216 = entityKind, _b160) {
30447
30704
  constructor({ table: table4, fields, isPartialSelect, session, dialect: dialect4, withList, distinct }) {
30448
30705
  super();
30449
30706
  __publicField(this, "_");
@@ -30948,8 +31205,8 @@ var init_select3 = __esm({
30948
31205
  return this;
30949
31206
  }
30950
31207
  };
30951
- __publicField(SQLiteSelectQueryBuilderBase, _a202, "SQLiteSelectQueryBuilder");
30952
- SQLiteSelectBase = class extends (_b147 = SQLiteSelectQueryBuilderBase, _a203 = entityKind, _b147) {
31208
+ __publicField(SQLiteSelectQueryBuilderBase, _a216, "SQLiteSelectQueryBuilder");
31209
+ SQLiteSelectBase = class extends (_b161 = SQLiteSelectQueryBuilderBase, _a217 = entityKind, _b161) {
30953
31210
  constructor() {
30954
31211
  super(...arguments);
30955
31212
  __publicField(this, "run", (placeholderValues) => {
@@ -30987,7 +31244,7 @@ var init_select3 = __esm({
30987
31244
  return this.all();
30988
31245
  }
30989
31246
  };
30990
- __publicField(SQLiteSelectBase, _a203, "SQLiteSelect");
31247
+ __publicField(SQLiteSelectBase, _a217, "SQLiteSelect");
30991
31248
  applyMixins(SQLiteSelectBase, [QueryPromise]);
30992
31249
  getSQLiteSetOperators = () => ({
30993
31250
  union: union2,
@@ -31003,7 +31260,7 @@ var init_select3 = __esm({
31003
31260
  });
31004
31261
 
31005
31262
  // ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
31006
- var _a204, QueryBuilder2;
31263
+ var _a218, QueryBuilder2;
31007
31264
  var init_query_builder3 = __esm({
31008
31265
  "../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
31009
31266
  "use strict";
@@ -31012,7 +31269,7 @@ var init_query_builder3 = __esm({
31012
31269
  init_dialect2();
31013
31270
  init_subquery();
31014
31271
  init_select3();
31015
- _a204 = entityKind;
31272
+ _a218 = entityKind;
31016
31273
  QueryBuilder2 = class {
31017
31274
  constructor(dialect4) {
31018
31275
  __publicField(this, "dialect");
@@ -31074,7 +31331,7 @@ var init_query_builder3 = __esm({
31074
31331
  return this.dialect;
31075
31332
  }
31076
31333
  };
31077
- __publicField(QueryBuilder2, _a204, "SQLiteQueryBuilder");
31334
+ __publicField(QueryBuilder2, _a218, "SQLiteQueryBuilder");
31078
31335
  }
31079
31336
  });
31080
31337
 
@@ -31086,7 +31343,7 @@ var init_select_types2 = __esm({
31086
31343
  });
31087
31344
 
31088
31345
  // ../drizzle-orm/dist/sqlite-core/query-builders/update.js
31089
- var _a205, SQLiteUpdateBuilder, _a206, _b148, SQLiteUpdateBase;
31346
+ var _a219, SQLiteUpdateBuilder, _a220, _b162, SQLiteUpdateBase;
31090
31347
  var init_update2 = __esm({
31091
31348
  "../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
31092
31349
  "use strict";
@@ -31096,7 +31353,7 @@ var init_update2 = __esm({
31096
31353
  init_table3();
31097
31354
  init_table();
31098
31355
  init_utils2();
31099
- _a205 = entityKind;
31356
+ _a219 = entityKind;
31100
31357
  SQLiteUpdateBuilder = class {
31101
31358
  constructor(table4, session, dialect4, withList) {
31102
31359
  this.table = table4;
@@ -31114,8 +31371,8 @@ var init_update2 = __esm({
31114
31371
  );
31115
31372
  }
31116
31373
  };
31117
- __publicField(SQLiteUpdateBuilder, _a205, "SQLiteUpdateBuilder");
31118
- SQLiteUpdateBase = class extends (_b148 = QueryPromise, _a206 = entityKind, _b148) {
31374
+ __publicField(SQLiteUpdateBuilder, _a219, "SQLiteUpdateBuilder");
31375
+ SQLiteUpdateBase = class extends (_b162 = QueryPromise, _a220 = entityKind, _b162) {
31119
31376
  constructor(table4, set, session, dialect4, withList) {
31120
31377
  super();
31121
31378
  /** @internal */
@@ -31224,7 +31481,7 @@ var init_update2 = __esm({
31224
31481
  return this;
31225
31482
  }
31226
31483
  };
31227
- __publicField(SQLiteUpdateBase, _a206, "SQLiteUpdate");
31484
+ __publicField(SQLiteUpdateBase, _a220, "SQLiteUpdate");
31228
31485
  }
31229
31486
  });
31230
31487
 
@@ -31242,17 +31499,17 @@ var init_query_builders2 = __esm({
31242
31499
  });
31243
31500
 
31244
31501
  // ../drizzle-orm/dist/sqlite-core/query-builders/count.js
31245
- var _a207, _b149, _c7, _SQLiteCountBuilder, SQLiteCountBuilder;
31502
+ var _a221, _b163, _c7, _SQLiteCountBuilder, SQLiteCountBuilder;
31246
31503
  var init_count2 = __esm({
31247
31504
  "../drizzle-orm/dist/sqlite-core/query-builders/count.js"() {
31248
31505
  "use strict";
31249
31506
  init_entity();
31250
31507
  init_sql();
31251
- _SQLiteCountBuilder = class _SQLiteCountBuilder extends (_c7 = SQL, _b149 = entityKind, _a207 = Symbol.toStringTag, _c7) {
31508
+ _SQLiteCountBuilder = class _SQLiteCountBuilder extends (_c7 = SQL, _b163 = entityKind, _a221 = Symbol.toStringTag, _c7) {
31252
31509
  constructor(params) {
31253
31510
  super(_SQLiteCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
31254
31511
  __publicField(this, "sql");
31255
- __publicField(this, _a207, "SQLiteCountBuilderAsync");
31512
+ __publicField(this, _a221, "SQLiteCountBuilderAsync");
31256
31513
  __publicField(this, "session");
31257
31514
  this.params = params;
31258
31515
  this.session = params.session;
@@ -31289,20 +31546,20 @@ var init_count2 = __esm({
31289
31546
  );
31290
31547
  }
31291
31548
  };
31292
- __publicField(_SQLiteCountBuilder, _b149, "SQLiteCountBuilderAsync");
31549
+ __publicField(_SQLiteCountBuilder, _b163, "SQLiteCountBuilderAsync");
31293
31550
  SQLiteCountBuilder = _SQLiteCountBuilder;
31294
31551
  }
31295
31552
  });
31296
31553
 
31297
31554
  // ../drizzle-orm/dist/sqlite-core/query-builders/query.js
31298
- var _a208, RelationalQueryBuilder2, _a209, _b150, SQLiteRelationalQuery, _a210, _b151, SQLiteSyncRelationalQuery;
31555
+ var _a222, RelationalQueryBuilder2, _a223, _b164, SQLiteRelationalQuery, _a224, _b165, SQLiteSyncRelationalQuery;
31299
31556
  var init_query2 = __esm({
31300
31557
  "../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
31301
31558
  "use strict";
31302
31559
  init_entity();
31303
31560
  init_query_promise();
31304
31561
  init_relations();
31305
- _a208 = entityKind;
31562
+ _a222 = entityKind;
31306
31563
  RelationalQueryBuilder2 = class {
31307
31564
  constructor(mode, fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session) {
31308
31565
  this.mode = mode;
@@ -31361,8 +31618,8 @@ var init_query2 = __esm({
31361
31618
  );
31362
31619
  }
31363
31620
  };
31364
- __publicField(RelationalQueryBuilder2, _a208, "SQLiteAsyncRelationalQueryBuilder");
31365
- SQLiteRelationalQuery = class extends (_b150 = QueryPromise, _a209 = entityKind, _b150) {
31621
+ __publicField(RelationalQueryBuilder2, _a222, "SQLiteAsyncRelationalQueryBuilder");
31622
+ SQLiteRelationalQuery = class extends (_b164 = QueryPromise, _a223 = entityKind, _b164) {
31366
31623
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, config, mode) {
31367
31624
  super();
31368
31625
  /** @internal */
@@ -31438,24 +31695,24 @@ var init_query2 = __esm({
31438
31695
  return this.executeRaw();
31439
31696
  }
31440
31697
  };
31441
- __publicField(SQLiteRelationalQuery, _a209, "SQLiteAsyncRelationalQuery");
31442
- SQLiteSyncRelationalQuery = class extends (_b151 = SQLiteRelationalQuery, _a210 = entityKind, _b151) {
31698
+ __publicField(SQLiteRelationalQuery, _a223, "SQLiteAsyncRelationalQuery");
31699
+ SQLiteSyncRelationalQuery = class extends (_b165 = SQLiteRelationalQuery, _a224 = entityKind, _b165) {
31443
31700
  sync() {
31444
31701
  return this.executeRaw();
31445
31702
  }
31446
31703
  };
31447
- __publicField(SQLiteSyncRelationalQuery, _a210, "SQLiteSyncRelationalQuery");
31704
+ __publicField(SQLiteSyncRelationalQuery, _a224, "SQLiteSyncRelationalQuery");
31448
31705
  }
31449
31706
  });
31450
31707
 
31451
31708
  // ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
31452
- var _a211, _b152, SQLiteRaw;
31709
+ var _a225, _b166, SQLiteRaw;
31453
31710
  var init_raw2 = __esm({
31454
31711
  "../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
31455
31712
  "use strict";
31456
31713
  init_entity();
31457
31714
  init_query_promise();
31458
- SQLiteRaw = class extends (_b152 = QueryPromise, _a211 = entityKind, _b152) {
31715
+ SQLiteRaw = class extends (_b166 = QueryPromise, _a225 = entityKind, _b166) {
31459
31716
  constructor(execute, getSQL, action, dialect4, mapBatchResult) {
31460
31717
  super();
31461
31718
  /** @internal */
@@ -31480,12 +31737,12 @@ var init_raw2 = __esm({
31480
31737
  return false;
31481
31738
  }
31482
31739
  };
31483
- __publicField(SQLiteRaw, _a211, "SQLiteRaw");
31740
+ __publicField(SQLiteRaw, _a225, "SQLiteRaw");
31484
31741
  }
31485
31742
  });
31486
31743
 
31487
31744
  // ../drizzle-orm/dist/sqlite-core/db.js
31488
- var _a212, BaseSQLiteDatabase;
31745
+ var _a226, BaseSQLiteDatabase;
31489
31746
  var init_db2 = __esm({
31490
31747
  "../drizzle-orm/dist/sqlite-core/db.js"() {
31491
31748
  "use strict";
@@ -31497,7 +31754,7 @@ var init_db2 = __esm({
31497
31754
  init_count2();
31498
31755
  init_query2();
31499
31756
  init_raw2();
31500
- _a212 = entityKind;
31757
+ _a226 = entityKind;
31501
31758
  BaseSQLiteDatabase = class {
31502
31759
  constructor(resultKind, dialect4, session, schema4) {
31503
31760
  __publicField(this, "query");
@@ -31779,17 +32036,17 @@ var init_db2 = __esm({
31779
32036
  return this.session.transaction(transaction, config);
31780
32037
  }
31781
32038
  };
31782
- __publicField(BaseSQLiteDatabase, _a212, "BaseSQLiteDatabase");
32039
+ __publicField(BaseSQLiteDatabase, _a226, "BaseSQLiteDatabase");
31783
32040
  }
31784
32041
  });
31785
32042
 
31786
32043
  // ../drizzle-orm/dist/sqlite-core/indexes.js
31787
- var _a213, IndexBuilderOn2, _a214, IndexBuilder2, _a215, Index4;
32044
+ var _a227, IndexBuilderOn2, _a228, IndexBuilder2, _a229, Index4;
31788
32045
  var init_indexes2 = __esm({
31789
32046
  "../drizzle-orm/dist/sqlite-core/indexes.js"() {
31790
32047
  "use strict";
31791
32048
  init_entity();
31792
- _a213 = entityKind;
32049
+ _a227 = entityKind;
31793
32050
  IndexBuilderOn2 = class {
31794
32051
  constructor(name2, unique) {
31795
32052
  this.name = name2;
@@ -31799,8 +32056,8 @@ var init_indexes2 = __esm({
31799
32056
  return new IndexBuilder2(this.name, columns, this.unique);
31800
32057
  }
31801
32058
  };
31802
- __publicField(IndexBuilderOn2, _a213, "SQLiteIndexBuilderOn");
31803
- _a214 = entityKind;
32059
+ __publicField(IndexBuilderOn2, _a227, "SQLiteIndexBuilderOn");
32060
+ _a228 = entityKind;
31804
32061
  IndexBuilder2 = class {
31805
32062
  constructor(name2, columns, unique) {
31806
32063
  /** @internal */
@@ -31824,26 +32081,26 @@ var init_indexes2 = __esm({
31824
32081
  return new Index4(this.config, table4);
31825
32082
  }
31826
32083
  };
31827
- __publicField(IndexBuilder2, _a214, "SQLiteIndexBuilder");
31828
- _a215 = entityKind;
32084
+ __publicField(IndexBuilder2, _a228, "SQLiteIndexBuilder");
32085
+ _a229 = entityKind;
31829
32086
  Index4 = class {
31830
32087
  constructor(config, table4) {
31831
32088
  __publicField(this, "config");
31832
32089
  this.config = { ...config, table: table4 };
31833
32090
  }
31834
32091
  };
31835
- __publicField(Index4, _a215, "SQLiteIndex");
32092
+ __publicField(Index4, _a229, "SQLiteIndex");
31836
32093
  }
31837
32094
  });
31838
32095
 
31839
32096
  // ../drizzle-orm/dist/sqlite-core/primary-keys.js
31840
- var _a216, PrimaryKeyBuilder2, _a217, PrimaryKey2;
32097
+ var _a230, PrimaryKeyBuilder2, _a231, PrimaryKey2;
31841
32098
  var init_primary_keys2 = __esm({
31842
32099
  "../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
31843
32100
  "use strict";
31844
32101
  init_entity();
31845
32102
  init_table3();
31846
- _a216 = entityKind;
32103
+ _a230 = entityKind;
31847
32104
  PrimaryKeyBuilder2 = class {
31848
32105
  constructor(columns, name2) {
31849
32106
  /** @internal */
@@ -31858,8 +32115,8 @@ var init_primary_keys2 = __esm({
31858
32115
  return new PrimaryKey2(table4, this.columns, this.name);
31859
32116
  }
31860
32117
  };
31861
- __publicField(PrimaryKeyBuilder2, _a216, "SQLitePrimaryKeyBuilder");
31862
- _a217 = entityKind;
32118
+ __publicField(PrimaryKeyBuilder2, _a230, "SQLitePrimaryKeyBuilder");
32119
+ _a231 = entityKind;
31863
32120
  PrimaryKey2 = class {
31864
32121
  constructor(table4, columns, name2) {
31865
32122
  __publicField(this, "columns");
@@ -31872,12 +32129,12 @@ var init_primary_keys2 = __esm({
31872
32129
  return this.name ?? `${this.table[SQLiteTable.Symbol.Name]}_${this.columns.map((column4) => column4.name).join("_")}_pk`;
31873
32130
  }
31874
32131
  };
31875
- __publicField(PrimaryKey2, _a217, "SQLitePrimaryKey");
32132
+ __publicField(PrimaryKey2, _a231, "SQLitePrimaryKey");
31876
32133
  }
31877
32134
  });
31878
32135
 
31879
32136
  // ../drizzle-orm/dist/sqlite-core/session.js
31880
- var _a218, _b153, ExecuteResultSync, _a219, SQLitePreparedQuery, _a220, SQLiteSession, _a221, _b154, SQLiteTransaction;
32137
+ var _a232, _b167, ExecuteResultSync, _a233, SQLitePreparedQuery, _a234, SQLiteSession, _a235, _b168, SQLiteTransaction;
31881
32138
  var init_session2 = __esm({
31882
32139
  "../drizzle-orm/dist/sqlite-core/session.js"() {
31883
32140
  "use strict";
@@ -31885,7 +32142,7 @@ var init_session2 = __esm({
31885
32142
  init_errors();
31886
32143
  init_query_promise();
31887
32144
  init_db2();
31888
- ExecuteResultSync = class extends (_b153 = QueryPromise, _a218 = entityKind, _b153) {
32145
+ ExecuteResultSync = class extends (_b167 = QueryPromise, _a232 = entityKind, _b167) {
31889
32146
  constructor(resultCb) {
31890
32147
  super();
31891
32148
  this.resultCb = resultCb;
@@ -31897,8 +32154,8 @@ var init_session2 = __esm({
31897
32154
  return this.resultCb();
31898
32155
  }
31899
32156
  };
31900
- __publicField(ExecuteResultSync, _a218, "ExecuteResultSync");
31901
- _a219 = entityKind;
32157
+ __publicField(ExecuteResultSync, _a232, "ExecuteResultSync");
32158
+ _a233 = entityKind;
31902
32159
  SQLitePreparedQuery = class {
31903
32160
  constructor(mode, executeMethod, query) {
31904
32161
  /** @internal */
@@ -31939,8 +32196,8 @@ var init_session2 = __esm({
31939
32196
  }
31940
32197
  }
31941
32198
  };
31942
- __publicField(SQLitePreparedQuery, _a219, "PreparedQuery");
31943
- _a220 = entityKind;
32199
+ __publicField(SQLitePreparedQuery, _a233, "PreparedQuery");
32200
+ _a234 = entityKind;
31944
32201
  SQLiteSession = class {
31945
32202
  constructor(dialect4) {
31946
32203
  this.dialect = dialect4;
@@ -31986,8 +32243,8 @@ var init_session2 = __esm({
31986
32243
  throw new Error("Not implemented");
31987
32244
  }
31988
32245
  };
31989
- __publicField(SQLiteSession, _a220, "SQLiteSession");
31990
- SQLiteTransaction = class extends (_b154 = BaseSQLiteDatabase, _a221 = entityKind, _b154) {
32246
+ __publicField(SQLiteSession, _a234, "SQLiteSession");
32247
+ SQLiteTransaction = class extends (_b168 = BaseSQLiteDatabase, _a235 = entityKind, _b168) {
31991
32248
  constructor(resultType, dialect4, session, schema4, nestedIndex = 0) {
31992
32249
  super(resultType, dialect4, session, schema4);
31993
32250
  this.schema = schema4;
@@ -31997,7 +32254,7 @@ var init_session2 = __esm({
31997
32254
  throw new TransactionRollbackError();
31998
32255
  }
31999
32256
  };
32000
- __publicField(SQLiteTransaction, _a221, "SQLiteTransaction");
32257
+ __publicField(SQLiteTransaction, _a235, "SQLiteTransaction");
32001
32258
  }
32002
32259
  });
32003
32260
 
@@ -32066,7 +32323,7 @@ var init_utils6 = __esm({
32066
32323
  });
32067
32324
 
32068
32325
  // ../drizzle-orm/dist/sqlite-core/view.js
32069
- var _a222, ViewBuilderCore, _a223, _b155, ViewBuilder2, _a224, _b156, ManualViewBuilder2, _a225, _b157, SQLiteView2;
32326
+ var _a236, ViewBuilderCore, _a237, _b169, ViewBuilder2, _a238, _b170, ManualViewBuilder2, _a239, _b171, SQLiteView2;
32070
32327
  var init_view2 = __esm({
32071
32328
  "../drizzle-orm/dist/sqlite-core/view.js"() {
32072
32329
  "use strict";
@@ -32076,15 +32333,15 @@ var init_view2 = __esm({
32076
32333
  init_query_builder3();
32077
32334
  init_table3();
32078
32335
  init_view_base2();
32079
- _a222 = entityKind;
32336
+ _a236 = entityKind;
32080
32337
  ViewBuilderCore = class {
32081
32338
  constructor(name2) {
32082
32339
  __publicField(this, "config", {});
32083
32340
  this.name = name2;
32084
32341
  }
32085
32342
  };
32086
- __publicField(ViewBuilderCore, _a222, "SQLiteViewBuilderCore");
32087
- ViewBuilder2 = class extends (_b155 = ViewBuilderCore, _a223 = entityKind, _b155) {
32343
+ __publicField(ViewBuilderCore, _a236, "SQLiteViewBuilderCore");
32344
+ ViewBuilder2 = class extends (_b169 = ViewBuilderCore, _a237 = entityKind, _b169) {
32088
32345
  as(qb) {
32089
32346
  if (typeof qb === "function") {
32090
32347
  qb = qb(new QueryBuilder2());
@@ -32110,8 +32367,8 @@ var init_view2 = __esm({
32110
32367
  );
32111
32368
  }
32112
32369
  };
32113
- __publicField(ViewBuilder2, _a223, "SQLiteViewBuilder");
32114
- ManualViewBuilder2 = class extends (_b156 = ViewBuilderCore, _a224 = entityKind, _b156) {
32370
+ __publicField(ViewBuilder2, _a237, "SQLiteViewBuilder");
32371
+ ManualViewBuilder2 = class extends (_b170 = ViewBuilderCore, _a238 = entityKind, _b170) {
32115
32372
  constructor(name2, columns) {
32116
32373
  super(name2);
32117
32374
  __publicField(this, "columns");
@@ -32154,13 +32411,13 @@ var init_view2 = __esm({
32154
32411
  );
32155
32412
  }
32156
32413
  };
32157
- __publicField(ManualViewBuilder2, _a224, "SQLiteManualViewBuilder");
32158
- SQLiteView2 = class extends (_b157 = SQLiteViewBase, _a225 = entityKind, _b157) {
32414
+ __publicField(ManualViewBuilder2, _a238, "SQLiteManualViewBuilder");
32415
+ SQLiteView2 = class extends (_b171 = SQLiteViewBase, _a239 = entityKind, _b171) {
32159
32416
  constructor({ config }) {
32160
32417
  super(config);
32161
32418
  }
32162
32419
  };
32163
- __publicField(SQLiteView2, _a225, "SQLiteView");
32420
+ __publicField(SQLiteView2, _a239, "SQLiteView");
32164
32421
  }
32165
32422
  });
32166
32423
 
@@ -32859,12 +33116,12 @@ var init_alias4 = __esm({
32859
33116
  });
32860
33117
 
32861
33118
  // ../drizzle-orm/dist/mysql-core/checks.js
32862
- var _a226, CheckBuilder3, _a227, Check3;
33119
+ var _a240, CheckBuilder3, _a241, Check3;
32863
33120
  var init_checks3 = __esm({
32864
33121
  "../drizzle-orm/dist/mysql-core/checks.js"() {
32865
33122
  "use strict";
32866
33123
  init_entity();
32867
- _a226 = entityKind;
33124
+ _a240 = entityKind;
32868
33125
  CheckBuilder3 = class {
32869
33126
  constructor(name2, value) {
32870
33127
  __publicField(this, "brand");
@@ -32876,8 +33133,8 @@ var init_checks3 = __esm({
32876
33133
  return new Check3(table4, this);
32877
33134
  }
32878
33135
  };
32879
- __publicField(CheckBuilder3, _a226, "MySqlCheckBuilder");
32880
- _a227 = entityKind;
33136
+ __publicField(CheckBuilder3, _a240, "MySqlCheckBuilder");
33137
+ _a241 = entityKind;
32881
33138
  Check3 = class {
32882
33139
  constructor(table4, builder) {
32883
33140
  __publicField(this, "name");
@@ -32887,18 +33144,18 @@ var init_checks3 = __esm({
32887
33144
  this.value = builder.value;
32888
33145
  }
32889
33146
  };
32890
- __publicField(Check3, _a227, "MySqlCheck");
33147
+ __publicField(Check3, _a241, "MySqlCheck");
32891
33148
  }
32892
33149
  });
32893
33150
 
32894
33151
  // ../drizzle-orm/dist/mysql-core/foreign-keys.js
32895
- var _a228, ForeignKeyBuilder3, _a229, ForeignKey3;
33152
+ var _a242, ForeignKeyBuilder3, _a243, ForeignKey3;
32896
33153
  var init_foreign_keys3 = __esm({
32897
33154
  "../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
32898
33155
  "use strict";
32899
33156
  init_entity();
32900
33157
  init_table_utils();
32901
- _a228 = entityKind;
33158
+ _a242 = entityKind;
32902
33159
  ForeignKeyBuilder3 = class {
32903
33160
  constructor(config, actions) {
32904
33161
  /** @internal */
@@ -32929,8 +33186,8 @@ var init_foreign_keys3 = __esm({
32929
33186
  return new ForeignKey3(table4, this);
32930
33187
  }
32931
33188
  };
32932
- __publicField(ForeignKeyBuilder3, _a228, "MySqlForeignKeyBuilder");
32933
- _a229 = entityKind;
33189
+ __publicField(ForeignKeyBuilder3, _a242, "MySqlForeignKeyBuilder");
33190
+ _a243 = entityKind;
32934
33191
  ForeignKey3 = class {
32935
33192
  constructor(table4, builder) {
32936
33193
  __publicField(this, "reference");
@@ -32954,7 +33211,7 @@ var init_foreign_keys3 = __esm({
32954
33211
  return name2 ?? `${chunks.join("_")}_fk`;
32955
33212
  }
32956
33213
  };
32957
- __publicField(ForeignKey3, _a229, "MySqlForeignKey");
33214
+ __publicField(ForeignKey3, _a243, "MySqlForeignKey");
32958
33215
  }
32959
33216
  });
32960
33217
 
@@ -32962,13 +33219,13 @@ var init_foreign_keys3 = __esm({
32962
33219
  function uniqueKeyName3(table4, columns) {
32963
33220
  return `${table4[TableName]}_${columns.join("_")}_unique`;
32964
33221
  }
32965
- var _a230, UniqueConstraintBuilder3, _a231, UniqueOnConstraintBuilder3, _a232, UniqueConstraint3;
33222
+ var _a244, UniqueConstraintBuilder3, _a245, UniqueOnConstraintBuilder3, _a246, UniqueConstraint3;
32966
33223
  var init_unique_constraint3 = __esm({
32967
33224
  "../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
32968
33225
  "use strict";
32969
33226
  init_entity();
32970
33227
  init_table_utils();
32971
- _a230 = entityKind;
33228
+ _a244 = entityKind;
32972
33229
  UniqueConstraintBuilder3 = class {
32973
33230
  constructor(columns, name2) {
32974
33231
  /** @internal */
@@ -32981,8 +33238,8 @@ var init_unique_constraint3 = __esm({
32981
33238
  return new UniqueConstraint3(table4, this.columns, this.name);
32982
33239
  }
32983
33240
  };
32984
- __publicField(UniqueConstraintBuilder3, _a230, "MySqlUniqueConstraintBuilder");
32985
- _a231 = entityKind;
33241
+ __publicField(UniqueConstraintBuilder3, _a244, "MySqlUniqueConstraintBuilder");
33242
+ _a245 = entityKind;
32986
33243
  UniqueOnConstraintBuilder3 = class {
32987
33244
  constructor(name2) {
32988
33245
  /** @internal */
@@ -32993,8 +33250,8 @@ var init_unique_constraint3 = __esm({
32993
33250
  return new UniqueConstraintBuilder3(columns, this.name);
32994
33251
  }
32995
33252
  };
32996
- __publicField(UniqueOnConstraintBuilder3, _a231, "MySqlUniqueOnConstraintBuilder");
32997
- _a232 = entityKind;
33253
+ __publicField(UniqueOnConstraintBuilder3, _a245, "MySqlUniqueOnConstraintBuilder");
33254
+ _a246 = entityKind;
32998
33255
  UniqueConstraint3 = class {
32999
33256
  constructor(table4, columns, name2) {
33000
33257
  __publicField(this, "columns");
@@ -33008,12 +33265,12 @@ var init_unique_constraint3 = __esm({
33008
33265
  return this.name;
33009
33266
  }
33010
33267
  };
33011
- __publicField(UniqueConstraint3, _a232, "MySqlUniqueConstraint");
33268
+ __publicField(UniqueConstraint3, _a246, "MySqlUniqueConstraint");
33012
33269
  }
33013
33270
  });
33014
33271
 
33015
33272
  // ../drizzle-orm/dist/mysql-core/columns/common.js
33016
- var _a233, _b158, MySqlColumnBuilder, _a234, _b159, MySqlColumn, _a235, _b160, MySqlColumnBuilderWithAutoIncrement, _a236, _b161, MySqlColumnWithAutoIncrement;
33273
+ var _a247, _b172, MySqlColumnBuilder, _a248, _b173, MySqlColumn, _a249, _b174, MySqlColumnBuilderWithAutoIncrement, _a250, _b175, MySqlColumnWithAutoIncrement;
33017
33274
  var init_common4 = __esm({
33018
33275
  "../drizzle-orm/dist/mysql-core/columns/common.js"() {
33019
33276
  "use strict";
@@ -33022,7 +33279,7 @@ var init_common4 = __esm({
33022
33279
  init_entity();
33023
33280
  init_foreign_keys3();
33024
33281
  init_unique_constraint3();
33025
- MySqlColumnBuilder = class extends (_b158 = ColumnBuilder, _a233 = entityKind, _b158) {
33282
+ MySqlColumnBuilder = class extends (_b172 = ColumnBuilder, _a247 = entityKind, _b172) {
33026
33283
  constructor() {
33027
33284
  super(...arguments);
33028
33285
  __publicField(this, "foreignKeyConfigs", []);
@@ -33063,8 +33320,8 @@ var init_common4 = __esm({
33063
33320
  });
33064
33321
  }
33065
33322
  };
33066
- __publicField(MySqlColumnBuilder, _a233, "MySqlColumnBuilder");
33067
- MySqlColumn = class extends (_b159 = Column2, _a234 = entityKind, _b159) {
33323
+ __publicField(MySqlColumnBuilder, _a247, "MySqlColumnBuilder");
33324
+ MySqlColumn = class extends (_b173 = Column2, _a248 = entityKind, _b173) {
33068
33325
  constructor(table4, config) {
33069
33326
  if (!config.uniqueName) {
33070
33327
  config.uniqueName = uniqueKeyName3(table4, [config.name]);
@@ -33073,8 +33330,8 @@ var init_common4 = __esm({
33073
33330
  this.table = table4;
33074
33331
  }
33075
33332
  };
33076
- __publicField(MySqlColumn, _a234, "MySqlColumn");
33077
- MySqlColumnBuilderWithAutoIncrement = class extends (_b160 = MySqlColumnBuilder, _a235 = entityKind, _b160) {
33333
+ __publicField(MySqlColumn, _a248, "MySqlColumn");
33334
+ MySqlColumnBuilderWithAutoIncrement = class extends (_b174 = MySqlColumnBuilder, _a249 = entityKind, _b174) {
33078
33335
  constructor(name2, dataType, columnType) {
33079
33336
  super(name2, dataType, columnType);
33080
33337
  this.config.autoIncrement = false;
@@ -33085,14 +33342,14 @@ var init_common4 = __esm({
33085
33342
  return this;
33086
33343
  }
33087
33344
  };
33088
- __publicField(MySqlColumnBuilderWithAutoIncrement, _a235, "MySqlColumnBuilderWithAutoIncrement");
33089
- MySqlColumnWithAutoIncrement = class extends (_b161 = MySqlColumn, _a236 = entityKind, _b161) {
33345
+ __publicField(MySqlColumnBuilderWithAutoIncrement, _a249, "MySqlColumnBuilderWithAutoIncrement");
33346
+ MySqlColumnWithAutoIncrement = class extends (_b175 = MySqlColumn, _a250 = entityKind, _b175) {
33090
33347
  constructor() {
33091
33348
  super(...arguments);
33092
33349
  __publicField(this, "autoIncrement", this.config.autoIncrement);
33093
33350
  }
33094
33351
  };
33095
- __publicField(MySqlColumnWithAutoIncrement, _a236, "MySqlColumnWithAutoIncrement");
33352
+ __publicField(MySqlColumnWithAutoIncrement, _a250, "MySqlColumnWithAutoIncrement");
33096
33353
  }
33097
33354
  });
33098
33355
 
@@ -33104,14 +33361,14 @@ function bigint2(a, b) {
33104
33361
  }
33105
33362
  return new MySqlBigInt64Builder(name2, config.unsigned);
33106
33363
  }
33107
- var _a237, _b162, MySqlBigInt53Builder, _a238, _b163, MySqlBigInt53, _a239, _b164, MySqlBigInt64Builder, _a240, _b165, MySqlBigInt64;
33364
+ var _a251, _b176, MySqlBigInt53Builder, _a252, _b177, MySqlBigInt53, _a253, _b178, MySqlBigInt64Builder, _a254, _b179, MySqlBigInt64;
33108
33365
  var init_bigint2 = __esm({
33109
33366
  "../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
33110
33367
  "use strict";
33111
33368
  init_entity();
33112
33369
  init_utils2();
33113
33370
  init_common4();
33114
- MySqlBigInt53Builder = class extends (_b162 = MySqlColumnBuilderWithAutoIncrement, _a237 = entityKind, _b162) {
33371
+ MySqlBigInt53Builder = class extends (_b176 = MySqlColumnBuilderWithAutoIncrement, _a251 = entityKind, _b176) {
33115
33372
  constructor(name2, unsigned = false) {
33116
33373
  super(name2, "number", "MySqlBigInt53");
33117
33374
  this.config.unsigned = unsigned;
@@ -33124,8 +33381,8 @@ var init_bigint2 = __esm({
33124
33381
  );
33125
33382
  }
33126
33383
  };
33127
- __publicField(MySqlBigInt53Builder, _a237, "MySqlBigInt53Builder");
33128
- MySqlBigInt53 = class extends (_b163 = MySqlColumnWithAutoIncrement, _a238 = entityKind, _b163) {
33384
+ __publicField(MySqlBigInt53Builder, _a251, "MySqlBigInt53Builder");
33385
+ MySqlBigInt53 = class extends (_b177 = MySqlColumnWithAutoIncrement, _a252 = entityKind, _b177) {
33129
33386
  getSQLType() {
33130
33387
  return `bigint${this.config.unsigned ? " unsigned" : ""}`;
33131
33388
  }
@@ -33136,8 +33393,8 @@ var init_bigint2 = __esm({
33136
33393
  return Number(value);
33137
33394
  }
33138
33395
  };
33139
- __publicField(MySqlBigInt53, _a238, "MySqlBigInt53");
33140
- MySqlBigInt64Builder = class extends (_b164 = MySqlColumnBuilderWithAutoIncrement, _a239 = entityKind, _b164) {
33396
+ __publicField(MySqlBigInt53, _a252, "MySqlBigInt53");
33397
+ MySqlBigInt64Builder = class extends (_b178 = MySqlColumnBuilderWithAutoIncrement, _a253 = entityKind, _b178) {
33141
33398
  constructor(name2, unsigned = false) {
33142
33399
  super(name2, "bigint", "MySqlBigInt64");
33143
33400
  this.config.unsigned = unsigned;
@@ -33150,8 +33407,8 @@ var init_bigint2 = __esm({
33150
33407
  );
33151
33408
  }
33152
33409
  };
33153
- __publicField(MySqlBigInt64Builder, _a239, "MySqlBigInt64Builder");
33154
- MySqlBigInt64 = class extends (_b165 = MySqlColumnWithAutoIncrement, _a240 = entityKind, _b165) {
33410
+ __publicField(MySqlBigInt64Builder, _a253, "MySqlBigInt64Builder");
33411
+ MySqlBigInt64 = class extends (_b179 = MySqlColumnWithAutoIncrement, _a254 = entityKind, _b179) {
33155
33412
  getSQLType() {
33156
33413
  return `bigint${this.config.unsigned ? " unsigned" : ""}`;
33157
33414
  }
@@ -33160,7 +33417,7 @@ var init_bigint2 = __esm({
33160
33417
  return BigInt(value);
33161
33418
  }
33162
33419
  };
33163
- __publicField(MySqlBigInt64, _a240, "MySqlBigInt64");
33420
+ __publicField(MySqlBigInt64, _a254, "MySqlBigInt64");
33164
33421
  }
33165
33422
  });
33166
33423
 
@@ -33169,14 +33426,14 @@ function binary(a, b = {}) {
33169
33426
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33170
33427
  return new MySqlBinaryBuilder(name2, config.length);
33171
33428
  }
33172
- var _a241, _b166, MySqlBinaryBuilder, _a242, _b167, MySqlBinary;
33429
+ var _a255, _b180, MySqlBinaryBuilder, _a256, _b181, MySqlBinary;
33173
33430
  var init_binary = __esm({
33174
33431
  "../drizzle-orm/dist/mysql-core/columns/binary.js"() {
33175
33432
  "use strict";
33176
33433
  init_entity();
33177
33434
  init_utils2();
33178
33435
  init_common4();
33179
- MySqlBinaryBuilder = class extends (_b166 = MySqlColumnBuilder, _a241 = entityKind, _b166) {
33436
+ MySqlBinaryBuilder = class extends (_b180 = MySqlColumnBuilder, _a255 = entityKind, _b180) {
33180
33437
  constructor(name2, length) {
33181
33438
  super(name2, "string", "MySqlBinary");
33182
33439
  this.config.length = length;
@@ -33186,8 +33443,8 @@ var init_binary = __esm({
33186
33443
  return new MySqlBinary(table4, this.config);
33187
33444
  }
33188
33445
  };
33189
- __publicField(MySqlBinaryBuilder, _a241, "MySqlBinaryBuilder");
33190
- MySqlBinary = class extends (_b167 = MySqlColumn, _a242 = entityKind, _b167) {
33446
+ __publicField(MySqlBinaryBuilder, _a255, "MySqlBinaryBuilder");
33447
+ MySqlBinary = class extends (_b181 = MySqlColumn, _a256 = entityKind, _b181) {
33191
33448
  constructor() {
33192
33449
  super(...arguments);
33193
33450
  __publicField(this, "length", this.config.length);
@@ -33196,7 +33453,7 @@ var init_binary = __esm({
33196
33453
  return this.length === void 0 ? `binary` : `binary(${this.length})`;
33197
33454
  }
33198
33455
  };
33199
- __publicField(MySqlBinary, _a242, "MySqlBinary");
33456
+ __publicField(MySqlBinary, _a256, "MySqlBinary");
33200
33457
  }
33201
33458
  });
33202
33459
 
@@ -33204,13 +33461,13 @@ var init_binary = __esm({
33204
33461
  function boolean2(name2) {
33205
33462
  return new MySqlBooleanBuilder(name2 ?? "");
33206
33463
  }
33207
- var _a243, _b168, MySqlBooleanBuilder, _a244, _b169, MySqlBoolean;
33464
+ var _a257, _b182, MySqlBooleanBuilder, _a258, _b183, MySqlBoolean;
33208
33465
  var init_boolean2 = __esm({
33209
33466
  "../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
33210
33467
  "use strict";
33211
33468
  init_entity();
33212
33469
  init_common4();
33213
- MySqlBooleanBuilder = class extends (_b168 = MySqlColumnBuilder, _a243 = entityKind, _b168) {
33470
+ MySqlBooleanBuilder = class extends (_b182 = MySqlColumnBuilder, _a257 = entityKind, _b182) {
33214
33471
  constructor(name2) {
33215
33472
  super(name2, "boolean", "MySqlBoolean");
33216
33473
  }
@@ -33222,8 +33479,8 @@ var init_boolean2 = __esm({
33222
33479
  );
33223
33480
  }
33224
33481
  };
33225
- __publicField(MySqlBooleanBuilder, _a243, "MySqlBooleanBuilder");
33226
- MySqlBoolean = class extends (_b169 = MySqlColumn, _a244 = entityKind, _b169) {
33482
+ __publicField(MySqlBooleanBuilder, _a257, "MySqlBooleanBuilder");
33483
+ MySqlBoolean = class extends (_b183 = MySqlColumn, _a258 = entityKind, _b183) {
33227
33484
  getSQLType() {
33228
33485
  return "boolean";
33229
33486
  }
@@ -33234,7 +33491,7 @@ var init_boolean2 = __esm({
33234
33491
  return value === 1;
33235
33492
  }
33236
33493
  };
33237
- __publicField(MySqlBoolean, _a244, "MySqlBoolean");
33494
+ __publicField(MySqlBoolean, _a258, "MySqlBoolean");
33238
33495
  }
33239
33496
  });
33240
33497
 
@@ -33243,14 +33500,14 @@ function char2(a, b = {}) {
33243
33500
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33244
33501
  return new MySqlCharBuilder(name2, config);
33245
33502
  }
33246
- var _a245, _b170, MySqlCharBuilder, _a246, _b171, MySqlChar;
33503
+ var _a259, _b184, MySqlCharBuilder, _a260, _b185, MySqlChar;
33247
33504
  var init_char2 = __esm({
33248
33505
  "../drizzle-orm/dist/mysql-core/columns/char.js"() {
33249
33506
  "use strict";
33250
33507
  init_entity();
33251
33508
  init_utils2();
33252
33509
  init_common4();
33253
- MySqlCharBuilder = class extends (_b170 = MySqlColumnBuilder, _a245 = entityKind, _b170) {
33510
+ MySqlCharBuilder = class extends (_b184 = MySqlColumnBuilder, _a259 = entityKind, _b184) {
33254
33511
  constructor(name2, config) {
33255
33512
  super(name2, "string", "MySqlChar");
33256
33513
  this.config.length = config.length;
@@ -33264,8 +33521,8 @@ var init_char2 = __esm({
33264
33521
  );
33265
33522
  }
33266
33523
  };
33267
- __publicField(MySqlCharBuilder, _a245, "MySqlCharBuilder");
33268
- MySqlChar = class extends (_b171 = MySqlColumn, _a246 = entityKind, _b171) {
33524
+ __publicField(MySqlCharBuilder, _a259, "MySqlCharBuilder");
33525
+ MySqlChar = class extends (_b185 = MySqlColumn, _a260 = entityKind, _b185) {
33269
33526
  constructor() {
33270
33527
  super(...arguments);
33271
33528
  __publicField(this, "length", this.config.length);
@@ -33275,7 +33532,7 @@ var init_char2 = __esm({
33275
33532
  return this.length === void 0 ? `char` : `char(${this.length})`;
33276
33533
  }
33277
33534
  };
33278
- __publicField(MySqlChar, _a246, "MySqlChar");
33535
+ __publicField(MySqlChar, _a260, "MySqlChar");
33279
33536
  }
33280
33537
  });
33281
33538
 
@@ -33286,14 +33543,14 @@ function customType3(customTypeParams) {
33286
33543
  return new MySqlCustomColumnBuilder(name2, config, customTypeParams);
33287
33544
  };
33288
33545
  }
33289
- var _a247, _b172, MySqlCustomColumnBuilder, _a248, _b173, MySqlCustomColumn;
33546
+ var _a261, _b186, MySqlCustomColumnBuilder, _a262, _b187, MySqlCustomColumn;
33290
33547
  var init_custom3 = __esm({
33291
33548
  "../drizzle-orm/dist/mysql-core/columns/custom.js"() {
33292
33549
  "use strict";
33293
33550
  init_entity();
33294
33551
  init_utils2();
33295
33552
  init_common4();
33296
- MySqlCustomColumnBuilder = class extends (_b172 = MySqlColumnBuilder, _a247 = entityKind, _b172) {
33553
+ MySqlCustomColumnBuilder = class extends (_b186 = MySqlColumnBuilder, _a261 = entityKind, _b186) {
33297
33554
  constructor(name2, fieldConfig, customTypeParams) {
33298
33555
  super(name2, "custom", "MySqlCustomColumn");
33299
33556
  this.config.fieldConfig = fieldConfig;
@@ -33307,8 +33564,8 @@ var init_custom3 = __esm({
33307
33564
  );
33308
33565
  }
33309
33566
  };
33310
- __publicField(MySqlCustomColumnBuilder, _a247, "MySqlCustomColumnBuilder");
33311
- MySqlCustomColumn = class extends (_b173 = MySqlColumn, _a248 = entityKind, _b173) {
33567
+ __publicField(MySqlCustomColumnBuilder, _a261, "MySqlCustomColumnBuilder");
33568
+ MySqlCustomColumn = class extends (_b187 = MySqlColumn, _a262 = entityKind, _b187) {
33312
33569
  constructor(table4, config) {
33313
33570
  super(table4, config);
33314
33571
  __publicField(this, "sqlName");
@@ -33328,7 +33585,7 @@ var init_custom3 = __esm({
33328
33585
  return typeof this.mapTo === "function" ? this.mapTo(value) : value;
33329
33586
  }
33330
33587
  };
33331
- __publicField(MySqlCustomColumn, _a248, "MySqlCustomColumn");
33588
+ __publicField(MySqlCustomColumn, _a262, "MySqlCustomColumn");
33332
33589
  }
33333
33590
  });
33334
33591
 
@@ -33340,14 +33597,14 @@ function date2(a, b) {
33340
33597
  }
33341
33598
  return new MySqlDateBuilder(name2);
33342
33599
  }
33343
- var _a249, _b174, MySqlDateBuilder, _a250, _b175, MySqlDate, _a251, _b176, MySqlDateStringBuilder, _a252, _b177, MySqlDateString;
33600
+ var _a263, _b188, MySqlDateBuilder, _a264, _b189, MySqlDate, _a265, _b190, MySqlDateStringBuilder, _a266, _b191, MySqlDateString;
33344
33601
  var init_date2 = __esm({
33345
33602
  "../drizzle-orm/dist/mysql-core/columns/date.js"() {
33346
33603
  "use strict";
33347
33604
  init_entity();
33348
33605
  init_utils2();
33349
33606
  init_common4();
33350
- MySqlDateBuilder = class extends (_b174 = MySqlColumnBuilder, _a249 = entityKind, _b174) {
33607
+ MySqlDateBuilder = class extends (_b188 = MySqlColumnBuilder, _a263 = entityKind, _b188) {
33351
33608
  constructor(name2) {
33352
33609
  super(name2, "date", "MySqlDate");
33353
33610
  }
@@ -33356,8 +33613,8 @@ var init_date2 = __esm({
33356
33613
  return new MySqlDate(table4, this.config);
33357
33614
  }
33358
33615
  };
33359
- __publicField(MySqlDateBuilder, _a249, "MySqlDateBuilder");
33360
- MySqlDate = class extends (_b175 = MySqlColumn, _a250 = entityKind, _b175) {
33616
+ __publicField(MySqlDateBuilder, _a263, "MySqlDateBuilder");
33617
+ MySqlDate = class extends (_b189 = MySqlColumn, _a264 = entityKind, _b189) {
33361
33618
  constructor(table4, config) {
33362
33619
  super(table4, config);
33363
33620
  }
@@ -33368,8 +33625,8 @@ var init_date2 = __esm({
33368
33625
  return new Date(value);
33369
33626
  }
33370
33627
  };
33371
- __publicField(MySqlDate, _a250, "MySqlDate");
33372
- MySqlDateStringBuilder = class extends (_b176 = MySqlColumnBuilder, _a251 = entityKind, _b176) {
33628
+ __publicField(MySqlDate, _a264, "MySqlDate");
33629
+ MySqlDateStringBuilder = class extends (_b190 = MySqlColumnBuilder, _a265 = entityKind, _b190) {
33373
33630
  constructor(name2) {
33374
33631
  super(name2, "string", "MySqlDateString");
33375
33632
  }
@@ -33381,8 +33638,8 @@ var init_date2 = __esm({
33381
33638
  );
33382
33639
  }
33383
33640
  };
33384
- __publicField(MySqlDateStringBuilder, _a251, "MySqlDateStringBuilder");
33385
- MySqlDateString = class extends (_b177 = MySqlColumn, _a252 = entityKind, _b177) {
33641
+ __publicField(MySqlDateStringBuilder, _a265, "MySqlDateStringBuilder");
33642
+ MySqlDateString = class extends (_b191 = MySqlColumn, _a266 = entityKind, _b191) {
33386
33643
  constructor(table4, config) {
33387
33644
  super(table4, config);
33388
33645
  }
@@ -33390,7 +33647,7 @@ var init_date2 = __esm({
33390
33647
  return `date`;
33391
33648
  }
33392
33649
  };
33393
- __publicField(MySqlDateString, _a252, "MySqlDateString");
33650
+ __publicField(MySqlDateString, _a266, "MySqlDateString");
33394
33651
  }
33395
33652
  });
33396
33653
 
@@ -33402,14 +33659,14 @@ function datetime(a, b) {
33402
33659
  }
33403
33660
  return new MySqlDateTimeBuilder(name2, config);
33404
33661
  }
33405
- var _a253, _b178, MySqlDateTimeBuilder, _a254, _b179, MySqlDateTime, _a255, _b180, MySqlDateTimeStringBuilder, _a256, _b181, MySqlDateTimeString;
33662
+ var _a267, _b192, MySqlDateTimeBuilder, _a268, _b193, MySqlDateTime, _a269, _b194, MySqlDateTimeStringBuilder, _a270, _b195, MySqlDateTimeString;
33406
33663
  var init_datetime = __esm({
33407
33664
  "../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
33408
33665
  "use strict";
33409
33666
  init_entity();
33410
33667
  init_utils2();
33411
33668
  init_common4();
33412
- MySqlDateTimeBuilder = class extends (_b178 = MySqlColumnBuilder, _a253 = entityKind, _b178) {
33669
+ MySqlDateTimeBuilder = class extends (_b192 = MySqlColumnBuilder, _a267 = entityKind, _b192) {
33413
33670
  constructor(name2, config) {
33414
33671
  super(name2, "date", "MySqlDateTime");
33415
33672
  this.config.fsp = config?.fsp;
@@ -33422,8 +33679,8 @@ var init_datetime = __esm({
33422
33679
  );
33423
33680
  }
33424
33681
  };
33425
- __publicField(MySqlDateTimeBuilder, _a253, "MySqlDateTimeBuilder");
33426
- MySqlDateTime = class extends (_b179 = MySqlColumn, _a254 = entityKind, _b179) {
33682
+ __publicField(MySqlDateTimeBuilder, _a267, "MySqlDateTimeBuilder");
33683
+ MySqlDateTime = class extends (_b193 = MySqlColumn, _a268 = entityKind, _b193) {
33427
33684
  constructor(table4, config) {
33428
33685
  super(table4, config);
33429
33686
  __publicField(this, "fsp");
@@ -33440,8 +33697,8 @@ var init_datetime = __esm({
33440
33697
  return /* @__PURE__ */ new Date(value.replace(" ", "T") + "Z");
33441
33698
  }
33442
33699
  };
33443
- __publicField(MySqlDateTime, _a254, "MySqlDateTime");
33444
- MySqlDateTimeStringBuilder = class extends (_b180 = MySqlColumnBuilder, _a255 = entityKind, _b180) {
33700
+ __publicField(MySqlDateTime, _a268, "MySqlDateTime");
33701
+ MySqlDateTimeStringBuilder = class extends (_b194 = MySqlColumnBuilder, _a269 = entityKind, _b194) {
33445
33702
  constructor(name2, config) {
33446
33703
  super(name2, "string", "MySqlDateTimeString");
33447
33704
  this.config.fsp = config?.fsp;
@@ -33454,8 +33711,8 @@ var init_datetime = __esm({
33454
33711
  );
33455
33712
  }
33456
33713
  };
33457
- __publicField(MySqlDateTimeStringBuilder, _a255, "MySqlDateTimeStringBuilder");
33458
- MySqlDateTimeString = class extends (_b181 = MySqlColumn, _a256 = entityKind, _b181) {
33714
+ __publicField(MySqlDateTimeStringBuilder, _a269, "MySqlDateTimeStringBuilder");
33715
+ MySqlDateTimeString = class extends (_b195 = MySqlColumn, _a270 = entityKind, _b195) {
33459
33716
  constructor(table4, config) {
33460
33717
  super(table4, config);
33461
33718
  __publicField(this, "fsp");
@@ -33466,7 +33723,7 @@ var init_datetime = __esm({
33466
33723
  return `datetime${precision}`;
33467
33724
  }
33468
33725
  };
33469
- __publicField(MySqlDateTimeString, _a256, "MySqlDateTimeString");
33726
+ __publicField(MySqlDateTimeString, _a270, "MySqlDateTimeString");
33470
33727
  }
33471
33728
  });
33472
33729
 
@@ -33475,14 +33732,14 @@ function decimal(a, b = {}) {
33475
33732
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33476
33733
  return new MySqlDecimalBuilder(name2, config.precision, config.scale);
33477
33734
  }
33478
- var _a257, _b182, MySqlDecimalBuilder, _a258, _b183, MySqlDecimal;
33735
+ var _a271, _b196, MySqlDecimalBuilder, _a272, _b197, MySqlDecimal;
33479
33736
  var init_decimal = __esm({
33480
33737
  "../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
33481
33738
  "use strict";
33482
33739
  init_entity();
33483
33740
  init_utils2();
33484
33741
  init_common4();
33485
- MySqlDecimalBuilder = class extends (_b182 = MySqlColumnBuilderWithAutoIncrement, _a257 = entityKind, _b182) {
33742
+ MySqlDecimalBuilder = class extends (_b196 = MySqlColumnBuilderWithAutoIncrement, _a271 = entityKind, _b196) {
33486
33743
  constructor(name2, precision, scale) {
33487
33744
  super(name2, "string", "MySqlDecimal");
33488
33745
  this.config.precision = precision;
@@ -33496,8 +33753,8 @@ var init_decimal = __esm({
33496
33753
  );
33497
33754
  }
33498
33755
  };
33499
- __publicField(MySqlDecimalBuilder, _a257, "MySqlDecimalBuilder");
33500
- MySqlDecimal = class extends (_b183 = MySqlColumnWithAutoIncrement, _a258 = entityKind, _b183) {
33756
+ __publicField(MySqlDecimalBuilder, _a271, "MySqlDecimalBuilder");
33757
+ MySqlDecimal = class extends (_b197 = MySqlColumnWithAutoIncrement, _a272 = entityKind, _b197) {
33501
33758
  constructor() {
33502
33759
  super(...arguments);
33503
33760
  __publicField(this, "precision", this.config.precision);
@@ -33513,7 +33770,7 @@ var init_decimal = __esm({
33513
33770
  }
33514
33771
  }
33515
33772
  };
33516
- __publicField(MySqlDecimal, _a258, "MySqlDecimal");
33773
+ __publicField(MySqlDecimal, _a272, "MySqlDecimal");
33517
33774
  }
33518
33775
  });
33519
33776
 
@@ -33522,14 +33779,14 @@ function double(a, b) {
33522
33779
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33523
33780
  return new MySqlDoubleBuilder(name2, config);
33524
33781
  }
33525
- var _a259, _b184, MySqlDoubleBuilder, _a260, _b185, MySqlDouble;
33782
+ var _a273, _b198, MySqlDoubleBuilder, _a274, _b199, MySqlDouble;
33526
33783
  var init_double = __esm({
33527
33784
  "../drizzle-orm/dist/mysql-core/columns/double.js"() {
33528
33785
  "use strict";
33529
33786
  init_entity();
33530
33787
  init_utils2();
33531
33788
  init_common4();
33532
- MySqlDoubleBuilder = class extends (_b184 = MySqlColumnBuilderWithAutoIncrement, _a259 = entityKind, _b184) {
33789
+ MySqlDoubleBuilder = class extends (_b198 = MySqlColumnBuilderWithAutoIncrement, _a273 = entityKind, _b198) {
33533
33790
  constructor(name2, config) {
33534
33791
  super(name2, "number", "MySqlDouble");
33535
33792
  this.config.precision = config?.precision;
@@ -33540,8 +33797,8 @@ var init_double = __esm({
33540
33797
  return new MySqlDouble(table4, this.config);
33541
33798
  }
33542
33799
  };
33543
- __publicField(MySqlDoubleBuilder, _a259, "MySqlDoubleBuilder");
33544
- MySqlDouble = class extends (_b185 = MySqlColumnWithAutoIncrement, _a260 = entityKind, _b185) {
33800
+ __publicField(MySqlDoubleBuilder, _a273, "MySqlDoubleBuilder");
33801
+ MySqlDouble = class extends (_b199 = MySqlColumnWithAutoIncrement, _a274 = entityKind, _b199) {
33545
33802
  constructor() {
33546
33803
  super(...arguments);
33547
33804
  __publicField(this, "precision", this.config.precision);
@@ -33557,7 +33814,7 @@ var init_double = __esm({
33557
33814
  }
33558
33815
  }
33559
33816
  };
33560
- __publicField(MySqlDouble, _a260, "MySqlDouble");
33817
+ __publicField(MySqlDouble, _a274, "MySqlDouble");
33561
33818
  }
33562
33819
  });
33563
33820
 
@@ -33569,14 +33826,14 @@ function mysqlEnum(a, b) {
33569
33826
  }
33570
33827
  return new MySqlEnumColumnBuilder(name2, values);
33571
33828
  }
33572
- var _a261, _b186, MySqlEnumColumnBuilder, _a262, _b187, MySqlEnumColumn;
33829
+ var _a275, _b200, MySqlEnumColumnBuilder, _a276, _b201, MySqlEnumColumn;
33573
33830
  var init_enum2 = __esm({
33574
33831
  "../drizzle-orm/dist/mysql-core/columns/enum.js"() {
33575
33832
  "use strict";
33576
33833
  init_entity();
33577
33834
  init_utils2();
33578
33835
  init_common4();
33579
- MySqlEnumColumnBuilder = class extends (_b186 = MySqlColumnBuilder, _a261 = entityKind, _b186) {
33836
+ MySqlEnumColumnBuilder = class extends (_b200 = MySqlColumnBuilder, _a275 = entityKind, _b200) {
33580
33837
  constructor(name2, values) {
33581
33838
  super(name2, "string", "MySqlEnumColumn");
33582
33839
  this.config.enumValues = values;
@@ -33589,8 +33846,8 @@ var init_enum2 = __esm({
33589
33846
  );
33590
33847
  }
33591
33848
  };
33592
- __publicField(MySqlEnumColumnBuilder, _a261, "MySqlEnumColumnBuilder");
33593
- MySqlEnumColumn = class extends (_b187 = MySqlColumn, _a262 = entityKind, _b187) {
33849
+ __publicField(MySqlEnumColumnBuilder, _a275, "MySqlEnumColumnBuilder");
33850
+ MySqlEnumColumn = class extends (_b201 = MySqlColumn, _a276 = entityKind, _b201) {
33594
33851
  constructor() {
33595
33852
  super(...arguments);
33596
33853
  __publicField(this, "enumValues", this.config.enumValues);
@@ -33599,7 +33856,7 @@ var init_enum2 = __esm({
33599
33856
  return `enum(${this.enumValues.map((value) => `'${value}'`).join(",")})`;
33600
33857
  }
33601
33858
  };
33602
- __publicField(MySqlEnumColumn, _a262, "MySqlEnumColumn");
33859
+ __publicField(MySqlEnumColumn, _a276, "MySqlEnumColumn");
33603
33860
  }
33604
33861
  });
33605
33862
 
@@ -33607,13 +33864,13 @@ var init_enum2 = __esm({
33607
33864
  function float(name2) {
33608
33865
  return new MySqlFloatBuilder(name2 ?? "");
33609
33866
  }
33610
- var _a263, _b188, MySqlFloatBuilder, _a264, _b189, MySqlFloat;
33867
+ var _a277, _b202, MySqlFloatBuilder, _a278, _b203, MySqlFloat;
33611
33868
  var init_float = __esm({
33612
33869
  "../drizzle-orm/dist/mysql-core/columns/float.js"() {
33613
33870
  "use strict";
33614
33871
  init_entity();
33615
33872
  init_common4();
33616
- MySqlFloatBuilder = class extends (_b188 = MySqlColumnBuilderWithAutoIncrement, _a263 = entityKind, _b188) {
33873
+ MySqlFloatBuilder = class extends (_b202 = MySqlColumnBuilderWithAutoIncrement, _a277 = entityKind, _b202) {
33617
33874
  constructor(name2) {
33618
33875
  super(name2, "number", "MySqlFloat");
33619
33876
  }
@@ -33622,13 +33879,13 @@ var init_float = __esm({
33622
33879
  return new MySqlFloat(table4, this.config);
33623
33880
  }
33624
33881
  };
33625
- __publicField(MySqlFloatBuilder, _a263, "MySqlFloatBuilder");
33626
- MySqlFloat = class extends (_b189 = MySqlColumnWithAutoIncrement, _a264 = entityKind, _b189) {
33882
+ __publicField(MySqlFloatBuilder, _a277, "MySqlFloatBuilder");
33883
+ MySqlFloat = class extends (_b203 = MySqlColumnWithAutoIncrement, _a278 = entityKind, _b203) {
33627
33884
  getSQLType() {
33628
33885
  return "float";
33629
33886
  }
33630
33887
  };
33631
- __publicField(MySqlFloat, _a264, "MySqlFloat");
33888
+ __publicField(MySqlFloat, _a278, "MySqlFloat");
33632
33889
  }
33633
33890
  });
33634
33891
 
@@ -33637,14 +33894,14 @@ function int(a, b) {
33637
33894
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33638
33895
  return new MySqlIntBuilder(name2, config);
33639
33896
  }
33640
- var _a265, _b190, MySqlIntBuilder, _a266, _b191, MySqlInt;
33897
+ var _a279, _b204, MySqlIntBuilder, _a280, _b205, MySqlInt;
33641
33898
  var init_int = __esm({
33642
33899
  "../drizzle-orm/dist/mysql-core/columns/int.js"() {
33643
33900
  "use strict";
33644
33901
  init_entity();
33645
33902
  init_utils2();
33646
33903
  init_common4();
33647
- MySqlIntBuilder = class extends (_b190 = MySqlColumnBuilderWithAutoIncrement, _a265 = entityKind, _b190) {
33904
+ MySqlIntBuilder = class extends (_b204 = MySqlColumnBuilderWithAutoIncrement, _a279 = entityKind, _b204) {
33648
33905
  constructor(name2, config) {
33649
33906
  super(name2, "number", "MySqlInt");
33650
33907
  this.config.unsigned = config ? config.unsigned : false;
@@ -33654,8 +33911,8 @@ var init_int = __esm({
33654
33911
  return new MySqlInt(table4, this.config);
33655
33912
  }
33656
33913
  };
33657
- __publicField(MySqlIntBuilder, _a265, "MySqlIntBuilder");
33658
- MySqlInt = class extends (_b191 = MySqlColumnWithAutoIncrement, _a266 = entityKind, _b191) {
33914
+ __publicField(MySqlIntBuilder, _a279, "MySqlIntBuilder");
33915
+ MySqlInt = class extends (_b205 = MySqlColumnWithAutoIncrement, _a280 = entityKind, _b205) {
33659
33916
  getSQLType() {
33660
33917
  return `int${this.config.unsigned ? " unsigned" : ""}`;
33661
33918
  }
@@ -33666,7 +33923,7 @@ var init_int = __esm({
33666
33923
  return value;
33667
33924
  }
33668
33925
  };
33669
- __publicField(MySqlInt, _a266, "MySqlInt");
33926
+ __publicField(MySqlInt, _a280, "MySqlInt");
33670
33927
  }
33671
33928
  });
33672
33929
 
@@ -33674,13 +33931,13 @@ var init_int = __esm({
33674
33931
  function json2(name2) {
33675
33932
  return new MySqlJsonBuilder(name2 ?? "");
33676
33933
  }
33677
- var _a267, _b192, MySqlJsonBuilder, _a268, _b193, MySqlJson;
33934
+ var _a281, _b206, MySqlJsonBuilder, _a282, _b207, MySqlJson;
33678
33935
  var init_json2 = __esm({
33679
33936
  "../drizzle-orm/dist/mysql-core/columns/json.js"() {
33680
33937
  "use strict";
33681
33938
  init_entity();
33682
33939
  init_common4();
33683
- MySqlJsonBuilder = class extends (_b192 = MySqlColumnBuilder, _a267 = entityKind, _b192) {
33940
+ MySqlJsonBuilder = class extends (_b206 = MySqlColumnBuilder, _a281 = entityKind, _b206) {
33684
33941
  constructor(name2) {
33685
33942
  super(name2, "json", "MySqlJson");
33686
33943
  }
@@ -33689,8 +33946,8 @@ var init_json2 = __esm({
33689
33946
  return new MySqlJson(table4, this.config);
33690
33947
  }
33691
33948
  };
33692
- __publicField(MySqlJsonBuilder, _a267, "MySqlJsonBuilder");
33693
- MySqlJson = class extends (_b193 = MySqlColumn, _a268 = entityKind, _b193) {
33949
+ __publicField(MySqlJsonBuilder, _a281, "MySqlJsonBuilder");
33950
+ MySqlJson = class extends (_b207 = MySqlColumn, _a282 = entityKind, _b207) {
33694
33951
  getSQLType() {
33695
33952
  return "json";
33696
33953
  }
@@ -33698,7 +33955,7 @@ var init_json2 = __esm({
33698
33955
  return JSON.stringify(value);
33699
33956
  }
33700
33957
  };
33701
- __publicField(MySqlJson, _a268, "MySqlJson");
33958
+ __publicField(MySqlJson, _a282, "MySqlJson");
33702
33959
  }
33703
33960
  });
33704
33961
 
@@ -33707,14 +33964,14 @@ function mediumint(a, b) {
33707
33964
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33708
33965
  return new MySqlMediumIntBuilder(name2, config);
33709
33966
  }
33710
- var _a269, _b194, MySqlMediumIntBuilder, _a270, _b195, MySqlMediumInt;
33967
+ var _a283, _b208, MySqlMediumIntBuilder, _a284, _b209, MySqlMediumInt;
33711
33968
  var init_mediumint = __esm({
33712
33969
  "../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
33713
33970
  "use strict";
33714
33971
  init_entity();
33715
33972
  init_utils2();
33716
33973
  init_common4();
33717
- MySqlMediumIntBuilder = class extends (_b194 = MySqlColumnBuilderWithAutoIncrement, _a269 = entityKind, _b194) {
33974
+ MySqlMediumIntBuilder = class extends (_b208 = MySqlColumnBuilderWithAutoIncrement, _a283 = entityKind, _b208) {
33718
33975
  constructor(name2, config) {
33719
33976
  super(name2, "number", "MySqlMediumInt");
33720
33977
  this.config.unsigned = config ? config.unsigned : false;
@@ -33727,8 +33984,8 @@ var init_mediumint = __esm({
33727
33984
  );
33728
33985
  }
33729
33986
  };
33730
- __publicField(MySqlMediumIntBuilder, _a269, "MySqlMediumIntBuilder");
33731
- MySqlMediumInt = class extends (_b195 = MySqlColumnWithAutoIncrement, _a270 = entityKind, _b195) {
33987
+ __publicField(MySqlMediumIntBuilder, _a283, "MySqlMediumIntBuilder");
33988
+ MySqlMediumInt = class extends (_b209 = MySqlColumnWithAutoIncrement, _a284 = entityKind, _b209) {
33732
33989
  getSQLType() {
33733
33990
  return `mediumint${this.config.unsigned ? " unsigned" : ""}`;
33734
33991
  }
@@ -33739,7 +33996,7 @@ var init_mediumint = __esm({
33739
33996
  return value;
33740
33997
  }
33741
33998
  };
33742
- __publicField(MySqlMediumInt, _a270, "MySqlMediumInt");
33999
+ __publicField(MySqlMediumInt, _a284, "MySqlMediumInt");
33743
34000
  }
33744
34001
  });
33745
34002
 
@@ -33748,14 +34005,14 @@ function real3(a, b = {}) {
33748
34005
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33749
34006
  return new MySqlRealBuilder(name2, config);
33750
34007
  }
33751
- var _a271, _b196, MySqlRealBuilder, _a272, _b197, MySqlReal;
34008
+ var _a285, _b210, MySqlRealBuilder, _a286, _b211, MySqlReal;
33752
34009
  var init_real3 = __esm({
33753
34010
  "../drizzle-orm/dist/mysql-core/columns/real.js"() {
33754
34011
  "use strict";
33755
34012
  init_entity();
33756
34013
  init_utils2();
33757
34014
  init_common4();
33758
- MySqlRealBuilder = class extends (_b196 = MySqlColumnBuilderWithAutoIncrement, _a271 = entityKind, _b196) {
34015
+ MySqlRealBuilder = class extends (_b210 = MySqlColumnBuilderWithAutoIncrement, _a285 = entityKind, _b210) {
33759
34016
  constructor(name2, config) {
33760
34017
  super(name2, "number", "MySqlReal");
33761
34018
  this.config.precision = config?.precision;
@@ -33766,8 +34023,8 @@ var init_real3 = __esm({
33766
34023
  return new MySqlReal(table4, this.config);
33767
34024
  }
33768
34025
  };
33769
- __publicField(MySqlRealBuilder, _a271, "MySqlRealBuilder");
33770
- MySqlReal = class extends (_b197 = MySqlColumnWithAutoIncrement, _a272 = entityKind, _b197) {
34026
+ __publicField(MySqlRealBuilder, _a285, "MySqlRealBuilder");
34027
+ MySqlReal = class extends (_b211 = MySqlColumnWithAutoIncrement, _a286 = entityKind, _b211) {
33771
34028
  constructor() {
33772
34029
  super(...arguments);
33773
34030
  __publicField(this, "precision", this.config.precision);
@@ -33783,7 +34040,7 @@ var init_real3 = __esm({
33783
34040
  }
33784
34041
  }
33785
34042
  };
33786
- __publicField(MySqlReal, _a272, "MySqlReal");
34043
+ __publicField(MySqlReal, _a286, "MySqlReal");
33787
34044
  }
33788
34045
  });
33789
34046
 
@@ -33791,13 +34048,13 @@ var init_real3 = __esm({
33791
34048
  function serial2(name2) {
33792
34049
  return new MySqlSerialBuilder(name2 ?? "");
33793
34050
  }
33794
- var _a273, _b198, MySqlSerialBuilder, _a274, _b199, MySqlSerial;
34051
+ var _a287, _b212, MySqlSerialBuilder, _a288, _b213, MySqlSerial;
33795
34052
  var init_serial2 = __esm({
33796
34053
  "../drizzle-orm/dist/mysql-core/columns/serial.js"() {
33797
34054
  "use strict";
33798
34055
  init_entity();
33799
34056
  init_common4();
33800
- MySqlSerialBuilder = class extends (_b198 = MySqlColumnBuilderWithAutoIncrement, _a273 = entityKind, _b198) {
34057
+ MySqlSerialBuilder = class extends (_b212 = MySqlColumnBuilderWithAutoIncrement, _a287 = entityKind, _b212) {
33801
34058
  constructor(name2) {
33802
34059
  super(name2, "number", "MySqlSerial");
33803
34060
  this.config.hasDefault = true;
@@ -33808,8 +34065,8 @@ var init_serial2 = __esm({
33808
34065
  return new MySqlSerial(table4, this.config);
33809
34066
  }
33810
34067
  };
33811
- __publicField(MySqlSerialBuilder, _a273, "MySqlSerialBuilder");
33812
- MySqlSerial = class extends (_b199 = MySqlColumnWithAutoIncrement, _a274 = entityKind, _b199) {
34068
+ __publicField(MySqlSerialBuilder, _a287, "MySqlSerialBuilder");
34069
+ MySqlSerial = class extends (_b213 = MySqlColumnWithAutoIncrement, _a288 = entityKind, _b213) {
33813
34070
  getSQLType() {
33814
34071
  return "serial";
33815
34072
  }
@@ -33820,7 +34077,7 @@ var init_serial2 = __esm({
33820
34077
  return value;
33821
34078
  }
33822
34079
  };
33823
- __publicField(MySqlSerial, _a274, "MySqlSerial");
34080
+ __publicField(MySqlSerial, _a288, "MySqlSerial");
33824
34081
  }
33825
34082
  });
33826
34083
 
@@ -33829,14 +34086,14 @@ function smallint2(a, b) {
33829
34086
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33830
34087
  return new MySqlSmallIntBuilder(name2, config);
33831
34088
  }
33832
- var _a275, _b200, MySqlSmallIntBuilder, _a276, _b201, MySqlSmallInt;
34089
+ var _a289, _b214, MySqlSmallIntBuilder, _a290, _b215, MySqlSmallInt;
33833
34090
  var init_smallint2 = __esm({
33834
34091
  "../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
33835
34092
  "use strict";
33836
34093
  init_entity();
33837
34094
  init_utils2();
33838
34095
  init_common4();
33839
- MySqlSmallIntBuilder = class extends (_b200 = MySqlColumnBuilderWithAutoIncrement, _a275 = entityKind, _b200) {
34096
+ MySqlSmallIntBuilder = class extends (_b214 = MySqlColumnBuilderWithAutoIncrement, _a289 = entityKind, _b214) {
33840
34097
  constructor(name2, config) {
33841
34098
  super(name2, "number", "MySqlSmallInt");
33842
34099
  this.config.unsigned = config ? config.unsigned : false;
@@ -33849,8 +34106,8 @@ var init_smallint2 = __esm({
33849
34106
  );
33850
34107
  }
33851
34108
  };
33852
- __publicField(MySqlSmallIntBuilder, _a275, "MySqlSmallIntBuilder");
33853
- MySqlSmallInt = class extends (_b201 = MySqlColumnWithAutoIncrement, _a276 = entityKind, _b201) {
34109
+ __publicField(MySqlSmallIntBuilder, _a289, "MySqlSmallIntBuilder");
34110
+ MySqlSmallInt = class extends (_b215 = MySqlColumnWithAutoIncrement, _a290 = entityKind, _b215) {
33854
34111
  getSQLType() {
33855
34112
  return `smallint${this.config.unsigned ? " unsigned" : ""}`;
33856
34113
  }
@@ -33861,7 +34118,7 @@ var init_smallint2 = __esm({
33861
34118
  return value;
33862
34119
  }
33863
34120
  };
33864
- __publicField(MySqlSmallInt, _a276, "MySqlSmallInt");
34121
+ __publicField(MySqlSmallInt, _a290, "MySqlSmallInt");
33865
34122
  }
33866
34123
  });
33867
34124
 
@@ -33870,14 +34127,14 @@ function text3(a, b = {}) {
33870
34127
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33871
34128
  return new MySqlTextBuilder(name2, "text", config);
33872
34129
  }
33873
- var _a277, _b202, MySqlTextBuilder, _a278, _b203, MySqlText;
34130
+ var _a291, _b216, MySqlTextBuilder, _a292, _b217, MySqlText;
33874
34131
  var init_text3 = __esm({
33875
34132
  "../drizzle-orm/dist/mysql-core/columns/text.js"() {
33876
34133
  "use strict";
33877
34134
  init_entity();
33878
34135
  init_utils2();
33879
34136
  init_common4();
33880
- MySqlTextBuilder = class extends (_b202 = MySqlColumnBuilder, _a277 = entityKind, _b202) {
34137
+ MySqlTextBuilder = class extends (_b216 = MySqlColumnBuilder, _a291 = entityKind, _b216) {
33881
34138
  constructor(name2, textType, config) {
33882
34139
  super(name2, "string", "MySqlText");
33883
34140
  this.config.textType = textType;
@@ -33888,8 +34145,8 @@ var init_text3 = __esm({
33888
34145
  return new MySqlText(table4, this.config);
33889
34146
  }
33890
34147
  };
33891
- __publicField(MySqlTextBuilder, _a277, "MySqlTextBuilder");
33892
- MySqlText = class extends (_b203 = MySqlColumn, _a278 = entityKind, _b203) {
34148
+ __publicField(MySqlTextBuilder, _a291, "MySqlTextBuilder");
34149
+ MySqlText = class extends (_b217 = MySqlColumn, _a292 = entityKind, _b217) {
33893
34150
  constructor() {
33894
34151
  super(...arguments);
33895
34152
  __publicField(this, "textType", this.config.textType);
@@ -33899,7 +34156,7 @@ var init_text3 = __esm({
33899
34156
  return this.textType;
33900
34157
  }
33901
34158
  };
33902
- __publicField(MySqlText, _a278, "MySqlText");
34159
+ __publicField(MySqlText, _a292, "MySqlText");
33903
34160
  }
33904
34161
  });
33905
34162
 
@@ -33908,14 +34165,14 @@ function time2(a, b) {
33908
34165
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33909
34166
  return new MySqlTimeBuilder(name2, config);
33910
34167
  }
33911
- var _a279, _b204, MySqlTimeBuilder, _a280, _b205, MySqlTime;
34168
+ var _a293, _b218, MySqlTimeBuilder, _a294, _b219, MySqlTime;
33912
34169
  var init_time2 = __esm({
33913
34170
  "../drizzle-orm/dist/mysql-core/columns/time.js"() {
33914
34171
  "use strict";
33915
34172
  init_entity();
33916
34173
  init_utils2();
33917
34174
  init_common4();
33918
- MySqlTimeBuilder = class extends (_b204 = MySqlColumnBuilder, _a279 = entityKind, _b204) {
34175
+ MySqlTimeBuilder = class extends (_b218 = MySqlColumnBuilder, _a293 = entityKind, _b218) {
33919
34176
  constructor(name2, config) {
33920
34177
  super(name2, "string", "MySqlTime");
33921
34178
  this.config.fsp = config?.fsp;
@@ -33925,8 +34182,8 @@ var init_time2 = __esm({
33925
34182
  return new MySqlTime(table4, this.config);
33926
34183
  }
33927
34184
  };
33928
- __publicField(MySqlTimeBuilder, _a279, "MySqlTimeBuilder");
33929
- MySqlTime = class extends (_b205 = MySqlColumn, _a280 = entityKind, _b205) {
34185
+ __publicField(MySqlTimeBuilder, _a293, "MySqlTimeBuilder");
34186
+ MySqlTime = class extends (_b219 = MySqlColumn, _a294 = entityKind, _b219) {
33930
34187
  constructor() {
33931
34188
  super(...arguments);
33932
34189
  __publicField(this, "fsp", this.config.fsp);
@@ -33936,19 +34193,19 @@ var init_time2 = __esm({
33936
34193
  return `time${precision}`;
33937
34194
  }
33938
34195
  };
33939
- __publicField(MySqlTime, _a280, "MySqlTime");
34196
+ __publicField(MySqlTime, _a294, "MySqlTime");
33940
34197
  }
33941
34198
  });
33942
34199
 
33943
34200
  // ../drizzle-orm/dist/mysql-core/columns/date.common.js
33944
- var _a281, _b206, MySqlDateColumnBaseBuilder, _a282, _b207, MySqlDateBaseColumn;
34201
+ var _a295, _b220, MySqlDateColumnBaseBuilder, _a296, _b221, MySqlDateBaseColumn;
33945
34202
  var init_date_common2 = __esm({
33946
34203
  "../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
33947
34204
  "use strict";
33948
34205
  init_entity();
33949
34206
  init_sql();
33950
34207
  init_common4();
33951
- MySqlDateColumnBaseBuilder = class extends (_b206 = MySqlColumnBuilder, _a281 = entityKind, _b206) {
34208
+ MySqlDateColumnBaseBuilder = class extends (_b220 = MySqlColumnBuilder, _a295 = entityKind, _b220) {
33952
34209
  defaultNow() {
33953
34210
  return this.default(sql`(now())`);
33954
34211
  }
@@ -33959,14 +34216,14 @@ var init_date_common2 = __esm({
33959
34216
  return this;
33960
34217
  }
33961
34218
  };
33962
- __publicField(MySqlDateColumnBaseBuilder, _a281, "MySqlDateColumnBuilder");
33963
- MySqlDateBaseColumn = class extends (_b207 = MySqlColumn, _a282 = entityKind, _b207) {
34219
+ __publicField(MySqlDateColumnBaseBuilder, _a295, "MySqlDateColumnBuilder");
34220
+ MySqlDateBaseColumn = class extends (_b221 = MySqlColumn, _a296 = entityKind, _b221) {
33964
34221
  constructor() {
33965
34222
  super(...arguments);
33966
34223
  __publicField(this, "hasOnUpdateNow", this.config.hasOnUpdateNow);
33967
34224
  }
33968
34225
  };
33969
- __publicField(MySqlDateBaseColumn, _a282, "MySqlDateColumn");
34226
+ __publicField(MySqlDateBaseColumn, _a296, "MySqlDateColumn");
33970
34227
  }
33971
34228
  });
33972
34229
 
@@ -33978,14 +34235,14 @@ function timestamp2(a, b = {}) {
33978
34235
  }
33979
34236
  return new MySqlTimestampBuilder(name2, config);
33980
34237
  }
33981
- var _a283, _b208, MySqlTimestampBuilder, _a284, _b209, MySqlTimestamp, _a285, _b210, MySqlTimestampStringBuilder, _a286, _b211, MySqlTimestampString;
34238
+ var _a297, _b222, MySqlTimestampBuilder, _a298, _b223, MySqlTimestamp, _a299, _b224, MySqlTimestampStringBuilder, _a300, _b225, MySqlTimestampString;
33982
34239
  var init_timestamp2 = __esm({
33983
34240
  "../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
33984
34241
  "use strict";
33985
34242
  init_entity();
33986
34243
  init_utils2();
33987
34244
  init_date_common2();
33988
- MySqlTimestampBuilder = class extends (_b208 = MySqlDateColumnBaseBuilder, _a283 = entityKind, _b208) {
34245
+ MySqlTimestampBuilder = class extends (_b222 = MySqlDateColumnBaseBuilder, _a297 = entityKind, _b222) {
33989
34246
  constructor(name2, config) {
33990
34247
  super(name2, "date", "MySqlTimestamp");
33991
34248
  this.config.fsp = config?.fsp;
@@ -33998,8 +34255,8 @@ var init_timestamp2 = __esm({
33998
34255
  );
33999
34256
  }
34000
34257
  };
34001
- __publicField(MySqlTimestampBuilder, _a283, "MySqlTimestampBuilder");
34002
- MySqlTimestamp = class extends (_b209 = MySqlDateBaseColumn, _a284 = entityKind, _b209) {
34258
+ __publicField(MySqlTimestampBuilder, _a297, "MySqlTimestampBuilder");
34259
+ MySqlTimestamp = class extends (_b223 = MySqlDateBaseColumn, _a298 = entityKind, _b223) {
34003
34260
  constructor() {
34004
34261
  super(...arguments);
34005
34262
  __publicField(this, "fsp", this.config.fsp);
@@ -34015,8 +34272,8 @@ var init_timestamp2 = __esm({
34015
34272
  return value.toISOString().slice(0, -1).replace("T", " ");
34016
34273
  }
34017
34274
  };
34018
- __publicField(MySqlTimestamp, _a284, "MySqlTimestamp");
34019
- MySqlTimestampStringBuilder = class extends (_b210 = MySqlDateColumnBaseBuilder, _a285 = entityKind, _b210) {
34275
+ __publicField(MySqlTimestamp, _a298, "MySqlTimestamp");
34276
+ MySqlTimestampStringBuilder = class extends (_b224 = MySqlDateColumnBaseBuilder, _a299 = entityKind, _b224) {
34020
34277
  constructor(name2, config) {
34021
34278
  super(name2, "string", "MySqlTimestampString");
34022
34279
  this.config.fsp = config?.fsp;
@@ -34029,8 +34286,8 @@ var init_timestamp2 = __esm({
34029
34286
  );
34030
34287
  }
34031
34288
  };
34032
- __publicField(MySqlTimestampStringBuilder, _a285, "MySqlTimestampStringBuilder");
34033
- MySqlTimestampString = class extends (_b211 = MySqlDateBaseColumn, _a286 = entityKind, _b211) {
34289
+ __publicField(MySqlTimestampStringBuilder, _a299, "MySqlTimestampStringBuilder");
34290
+ MySqlTimestampString = class extends (_b225 = MySqlDateBaseColumn, _a300 = entityKind, _b225) {
34034
34291
  constructor() {
34035
34292
  super(...arguments);
34036
34293
  __publicField(this, "fsp", this.config.fsp);
@@ -34040,7 +34297,7 @@ var init_timestamp2 = __esm({
34040
34297
  return `timestamp${precision}`;
34041
34298
  }
34042
34299
  };
34043
- __publicField(MySqlTimestampString, _a286, "MySqlTimestampString");
34300
+ __publicField(MySqlTimestampString, _a300, "MySqlTimestampString");
34044
34301
  }
34045
34302
  });
34046
34303
 
@@ -34049,14 +34306,14 @@ function tinyint(a, b) {
34049
34306
  const { name: name2, config } = getColumnNameAndConfig(a, b);
34050
34307
  return new MySqlTinyIntBuilder(name2, config);
34051
34308
  }
34052
- var _a287, _b212, MySqlTinyIntBuilder, _a288, _b213, MySqlTinyInt;
34309
+ var _a301, _b226, MySqlTinyIntBuilder, _a302, _b227, MySqlTinyInt;
34053
34310
  var init_tinyint = __esm({
34054
34311
  "../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
34055
34312
  "use strict";
34056
34313
  init_entity();
34057
34314
  init_utils2();
34058
34315
  init_common4();
34059
- MySqlTinyIntBuilder = class extends (_b212 = MySqlColumnBuilderWithAutoIncrement, _a287 = entityKind, _b212) {
34316
+ MySqlTinyIntBuilder = class extends (_b226 = MySqlColumnBuilderWithAutoIncrement, _a301 = entityKind, _b226) {
34060
34317
  constructor(name2, config) {
34061
34318
  super(name2, "number", "MySqlTinyInt");
34062
34319
  this.config.unsigned = config ? config.unsigned : false;
@@ -34069,8 +34326,8 @@ var init_tinyint = __esm({
34069
34326
  );
34070
34327
  }
34071
34328
  };
34072
- __publicField(MySqlTinyIntBuilder, _a287, "MySqlTinyIntBuilder");
34073
- MySqlTinyInt = class extends (_b213 = MySqlColumnWithAutoIncrement, _a288 = entityKind, _b213) {
34329
+ __publicField(MySqlTinyIntBuilder, _a301, "MySqlTinyIntBuilder");
34330
+ MySqlTinyInt = class extends (_b227 = MySqlColumnWithAutoIncrement, _a302 = entityKind, _b227) {
34074
34331
  getSQLType() {
34075
34332
  return `tinyint${this.config.unsigned ? " unsigned" : ""}`;
34076
34333
  }
@@ -34081,7 +34338,7 @@ var init_tinyint = __esm({
34081
34338
  return value;
34082
34339
  }
34083
34340
  };
34084
- __publicField(MySqlTinyInt, _a288, "MySqlTinyInt");
34341
+ __publicField(MySqlTinyInt, _a302, "MySqlTinyInt");
34085
34342
  }
34086
34343
  });
34087
34344
 
@@ -34090,14 +34347,14 @@ function varbinary(a, b) {
34090
34347
  const { name: name2, config } = getColumnNameAndConfig(a, b);
34091
34348
  return new MySqlVarBinaryBuilder(name2, config);
34092
34349
  }
34093
- var _a289, _b214, MySqlVarBinaryBuilder, _a290, _b215, MySqlVarBinary;
34350
+ var _a303, _b228, MySqlVarBinaryBuilder, _a304, _b229, MySqlVarBinary;
34094
34351
  var init_varbinary = __esm({
34095
34352
  "../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
34096
34353
  "use strict";
34097
34354
  init_entity();
34098
34355
  init_utils2();
34099
34356
  init_common4();
34100
- MySqlVarBinaryBuilder = class extends (_b214 = MySqlColumnBuilder, _a289 = entityKind, _b214) {
34357
+ MySqlVarBinaryBuilder = class extends (_b228 = MySqlColumnBuilder, _a303 = entityKind, _b228) {
34101
34358
  /** @internal */
34102
34359
  constructor(name2, config) {
34103
34360
  super(name2, "string", "MySqlVarBinary");
@@ -34111,8 +34368,8 @@ var init_varbinary = __esm({
34111
34368
  );
34112
34369
  }
34113
34370
  };
34114
- __publicField(MySqlVarBinaryBuilder, _a289, "MySqlVarBinaryBuilder");
34115
- MySqlVarBinary = class extends (_b215 = MySqlColumn, _a290 = entityKind, _b215) {
34371
+ __publicField(MySqlVarBinaryBuilder, _a303, "MySqlVarBinaryBuilder");
34372
+ MySqlVarBinary = class extends (_b229 = MySqlColumn, _a304 = entityKind, _b229) {
34116
34373
  constructor() {
34117
34374
  super(...arguments);
34118
34375
  __publicField(this, "length", this.config.length);
@@ -34121,7 +34378,7 @@ var init_varbinary = __esm({
34121
34378
  return this.length === void 0 ? `varbinary` : `varbinary(${this.length})`;
34122
34379
  }
34123
34380
  };
34124
- __publicField(MySqlVarBinary, _a290, "MySqlVarBinary");
34381
+ __publicField(MySqlVarBinary, _a304, "MySqlVarBinary");
34125
34382
  }
34126
34383
  });
34127
34384
 
@@ -34130,14 +34387,14 @@ function varchar2(a, b) {
34130
34387
  const { name: name2, config } = getColumnNameAndConfig(a, b);
34131
34388
  return new MySqlVarCharBuilder(name2, config);
34132
34389
  }
34133
- var _a291, _b216, MySqlVarCharBuilder, _a292, _b217, MySqlVarChar;
34390
+ var _a305, _b230, MySqlVarCharBuilder, _a306, _b231, MySqlVarChar;
34134
34391
  var init_varchar2 = __esm({
34135
34392
  "../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
34136
34393
  "use strict";
34137
34394
  init_entity();
34138
34395
  init_utils2();
34139
34396
  init_common4();
34140
- MySqlVarCharBuilder = class extends (_b216 = MySqlColumnBuilder, _a291 = entityKind, _b216) {
34397
+ MySqlVarCharBuilder = class extends (_b230 = MySqlColumnBuilder, _a305 = entityKind, _b230) {
34141
34398
  /** @internal */
34142
34399
  constructor(name2, config) {
34143
34400
  super(name2, "string", "MySqlVarChar");
@@ -34152,8 +34409,8 @@ var init_varchar2 = __esm({
34152
34409
  );
34153
34410
  }
34154
34411
  };
34155
- __publicField(MySqlVarCharBuilder, _a291, "MySqlVarCharBuilder");
34156
- MySqlVarChar = class extends (_b217 = MySqlColumn, _a292 = entityKind, _b217) {
34412
+ __publicField(MySqlVarCharBuilder, _a305, "MySqlVarCharBuilder");
34413
+ MySqlVarChar = class extends (_b231 = MySqlColumn, _a306 = entityKind, _b231) {
34157
34414
  constructor() {
34158
34415
  super(...arguments);
34159
34416
  __publicField(this, "length", this.config.length);
@@ -34163,7 +34420,7 @@ var init_varchar2 = __esm({
34163
34420
  return this.length === void 0 ? `varchar` : `varchar(${this.length})`;
34164
34421
  }
34165
34422
  };
34166
- __publicField(MySqlVarChar, _a292, "MySqlVarChar");
34423
+ __publicField(MySqlVarChar, _a306, "MySqlVarChar");
34167
34424
  }
34168
34425
  });
34169
34426
 
@@ -34171,13 +34428,13 @@ var init_varchar2 = __esm({
34171
34428
  function year(name2) {
34172
34429
  return new MySqlYearBuilder(name2 ?? "");
34173
34430
  }
34174
- var _a293, _b218, MySqlYearBuilder, _a294, _b219, MySqlYear;
34431
+ var _a307, _b232, MySqlYearBuilder, _a308, _b233, MySqlYear;
34175
34432
  var init_year = __esm({
34176
34433
  "../drizzle-orm/dist/mysql-core/columns/year.js"() {
34177
34434
  "use strict";
34178
34435
  init_entity();
34179
34436
  init_common4();
34180
- MySqlYearBuilder = class extends (_b218 = MySqlColumnBuilder, _a293 = entityKind, _b218) {
34437
+ MySqlYearBuilder = class extends (_b232 = MySqlColumnBuilder, _a307 = entityKind, _b232) {
34181
34438
  constructor(name2) {
34182
34439
  super(name2, "number", "MySqlYear");
34183
34440
  }
@@ -34186,13 +34443,13 @@ var init_year = __esm({
34186
34443
  return new MySqlYear(table4, this.config);
34187
34444
  }
34188
34445
  };
34189
- __publicField(MySqlYearBuilder, _a293, "MySqlYearBuilder");
34190
- MySqlYear = class extends (_b219 = MySqlColumn, _a294 = entityKind, _b219) {
34446
+ __publicField(MySqlYearBuilder, _a307, "MySqlYearBuilder");
34447
+ MySqlYear = class extends (_b233 = MySqlColumn, _a308 = entityKind, _b233) {
34191
34448
  getSQLType() {
34192
34449
  return `year`;
34193
34450
  }
34194
34451
  };
34195
- __publicField(MySqlYear, _a294, "MySqlYear");
34452
+ __publicField(MySqlYear, _a308, "MySqlYear");
34196
34453
  }
34197
34454
  });
34198
34455
 
@@ -34229,17 +34486,17 @@ var init_columns3 = __esm({
34229
34486
  });
34230
34487
 
34231
34488
  // ../drizzle-orm/dist/mysql-core/query-builders/count.js
34232
- var _a295, _b220, _c8, _MySqlCountBuilder, MySqlCountBuilder;
34489
+ var _a309, _b234, _c8, _MySqlCountBuilder, MySqlCountBuilder;
34233
34490
  var init_count3 = __esm({
34234
34491
  "../drizzle-orm/dist/mysql-core/query-builders/count.js"() {
34235
34492
  "use strict";
34236
34493
  init_entity();
34237
34494
  init_sql();
34238
- _MySqlCountBuilder = class _MySqlCountBuilder extends (_c8 = SQL, _b220 = entityKind, _a295 = Symbol.toStringTag, _c8) {
34495
+ _MySqlCountBuilder = class _MySqlCountBuilder extends (_c8 = SQL, _b234 = entityKind, _a309 = Symbol.toStringTag, _c8) {
34239
34496
  constructor(params) {
34240
34497
  super(_MySqlCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
34241
34498
  __publicField(this, "sql");
34242
- __publicField(this, _a295, "MySqlCountBuilder");
34499
+ __publicField(this, _a309, "MySqlCountBuilder");
34243
34500
  __publicField(this, "session");
34244
34501
  this.params = params;
34245
34502
  this.mapWith(Number);
@@ -34277,13 +34534,13 @@ var init_count3 = __esm({
34277
34534
  );
34278
34535
  }
34279
34536
  };
34280
- __publicField(_MySqlCountBuilder, _b220, "MySqlCountBuilder");
34537
+ __publicField(_MySqlCountBuilder, _b234, "MySqlCountBuilder");
34281
34538
  MySqlCountBuilder = _MySqlCountBuilder;
34282
34539
  }
34283
34540
  });
34284
34541
 
34285
34542
  // ../drizzle-orm/dist/mysql-core/query-builders/delete.js
34286
- var _a296, _b221, MySqlDeleteBase;
34543
+ var _a310, _b235, MySqlDeleteBase;
34287
34544
  var init_delete3 = __esm({
34288
34545
  "../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
34289
34546
  "use strict";
@@ -34291,7 +34548,7 @@ var init_delete3 = __esm({
34291
34548
  init_query_promise();
34292
34549
  init_selection_proxy();
34293
34550
  init_table();
34294
- MySqlDeleteBase = class extends (_b221 = QueryPromise, _a296 = entityKind, _b221) {
34551
+ MySqlDeleteBase = class extends (_b235 = QueryPromise, _a310 = entityKind, _b235) {
34295
34552
  constructor(table4, session, dialect4, withList) {
34296
34553
  super();
34297
34554
  __publicField(this, "config");
@@ -34381,12 +34638,12 @@ var init_delete3 = __esm({
34381
34638
  return this;
34382
34639
  }
34383
34640
  };
34384
- __publicField(MySqlDeleteBase, _a296, "MySqlDelete");
34641
+ __publicField(MySqlDeleteBase, _a310, "MySqlDelete");
34385
34642
  }
34386
34643
  });
34387
34644
 
34388
34645
  // ../drizzle-orm/dist/mysql-core/query-builders/insert.js
34389
- var _a297, MySqlInsertBuilder, _a298, _b222, MySqlInsertBase;
34646
+ var _a311, MySqlInsertBuilder, _a312, _b236, MySqlInsertBase;
34390
34647
  var init_insert3 = __esm({
34391
34648
  "../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
34392
34649
  "use strict";
@@ -34395,7 +34652,7 @@ var init_insert3 = __esm({
34395
34652
  init_sql();
34396
34653
  init_table();
34397
34654
  init_utils2();
34398
- _a297 = entityKind;
34655
+ _a311 = entityKind;
34399
34656
  MySqlInsertBuilder = class {
34400
34657
  constructor(table4, session, dialect4) {
34401
34658
  __publicField(this, "shouldIgnore", false);
@@ -34424,8 +34681,8 @@ var init_insert3 = __esm({
34424
34681
  return new MySqlInsertBase(this.table, mappedValues, this.shouldIgnore, this.session, this.dialect);
34425
34682
  }
34426
34683
  };
34427
- __publicField(MySqlInsertBuilder, _a297, "MySqlInsertBuilder");
34428
- MySqlInsertBase = class extends (_b222 = QueryPromise, _a298 = entityKind, _b222) {
34684
+ __publicField(MySqlInsertBuilder, _a311, "MySqlInsertBuilder");
34685
+ MySqlInsertBase = class extends (_b236 = QueryPromise, _a312 = entityKind, _b236) {
34429
34686
  constructor(table4, values, ignore, session, dialect4) {
34430
34687
  super();
34431
34688
  __publicField(this, "config");
@@ -34506,7 +34763,7 @@ var init_insert3 = __esm({
34506
34763
  return this;
34507
34764
  }
34508
34765
  };
34509
- __publicField(MySqlInsertBase, _a298, "MySqlInsert");
34766
+ __publicField(MySqlInsertBase, _a312, "MySqlInsert");
34510
34767
  }
34511
34768
  });
34512
34769
 
@@ -34590,7 +34847,7 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
34590
34847
  }
34591
34848
  return table4;
34592
34849
  }
34593
- var InlineForeignKeys3, _a299, _b223, _c9, _d4, _e3, MySqlTable, mysqlTable;
34850
+ var InlineForeignKeys3, _a313, _b237, _c9, _d4, _e3, MySqlTable, mysqlTable;
34594
34851
  var init_table4 = __esm({
34595
34852
  "../drizzle-orm/dist/mysql-core/table.js"() {
34596
34853
  "use strict";
@@ -34598,15 +34855,15 @@ var init_table4 = __esm({
34598
34855
  init_table();
34599
34856
  init_all3();
34600
34857
  InlineForeignKeys3 = Symbol.for("drizzle:MySqlInlineForeignKeys");
34601
- MySqlTable = class extends (_e3 = Table, _d4 = entityKind, _c9 = Table.Symbol.Columns, _b223 = InlineForeignKeys3, _a299 = Table.Symbol.ExtraConfigBuilder, _e3) {
34858
+ MySqlTable = class extends (_e3 = Table, _d4 = entityKind, _c9 = Table.Symbol.Columns, _b237 = InlineForeignKeys3, _a313 = Table.Symbol.ExtraConfigBuilder, _e3) {
34602
34859
  constructor() {
34603
34860
  super(...arguments);
34604
34861
  /** @internal */
34605
34862
  __publicField(this, _c9);
34606
34863
  /** @internal */
34607
- __publicField(this, _b223, []);
34864
+ __publicField(this, _b237, []);
34608
34865
  /** @internal */
34609
- __publicField(this, _a299);
34866
+ __publicField(this, _a313);
34610
34867
  }
34611
34868
  };
34612
34869
  __publicField(MySqlTable, _d4, "MySqlTable");
@@ -34621,20 +34878,20 @@ var init_table4 = __esm({
34621
34878
  });
34622
34879
 
34623
34880
  // ../drizzle-orm/dist/mysql-core/view-base.js
34624
- var _a300, _b224, MySqlViewBase;
34881
+ var _a314, _b238, MySqlViewBase;
34625
34882
  var init_view_base3 = __esm({
34626
34883
  "../drizzle-orm/dist/mysql-core/view-base.js"() {
34627
34884
  "use strict";
34628
34885
  init_entity();
34629
34886
  init_sql();
34630
- MySqlViewBase = class extends (_b224 = View3, _a300 = entityKind, _b224) {
34887
+ MySqlViewBase = class extends (_b238 = View3, _a314 = entityKind, _b238) {
34631
34888
  };
34632
- __publicField(MySqlViewBase, _a300, "MySqlViewBase");
34889
+ __publicField(MySqlViewBase, _a314, "MySqlViewBase");
34633
34890
  }
34634
34891
  });
34635
34892
 
34636
34893
  // ../drizzle-orm/dist/mysql-core/dialect.js
34637
- var _a301, MySqlDialect;
34894
+ var _a315, MySqlDialect;
34638
34895
  var init_dialect3 = __esm({
34639
34896
  "../drizzle-orm/dist/mysql-core/dialect.js"() {
34640
34897
  "use strict";
@@ -34653,7 +34910,7 @@ var init_dialect3 = __esm({
34653
34910
  init_common4();
34654
34911
  init_table4();
34655
34912
  init_view_base3();
34656
- _a301 = entityKind;
34913
+ _a315 = entityKind;
34657
34914
  MySqlDialect = class {
34658
34915
  constructor(config) {
34659
34916
  /** @internal */
@@ -35439,7 +35696,7 @@ var init_dialect3 = __esm({
35439
35696
  };
35440
35697
  }
35441
35698
  };
35442
- __publicField(MySqlDialect, _a301, "MySqlDialect");
35699
+ __publicField(MySqlDialect, _a315, "MySqlDialect");
35443
35700
  }
35444
35701
  });
35445
35702
 
@@ -35461,7 +35718,7 @@ function createSetOperator3(type, isAll) {
35461
35718
  return leftSelect.addSetOperators(setOperators);
35462
35719
  };
35463
35720
  }
35464
- var _a302, MySqlSelectBuilder, _a303, _b225, MySqlSelectQueryBuilderBase, _a304, _b226, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
35721
+ var _a316, MySqlSelectBuilder, _a317, _b239, MySqlSelectQueryBuilderBase, _a318, _b240, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
35465
35722
  var init_select4 = __esm({
35466
35723
  "../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
35467
35724
  "use strict";
@@ -35476,7 +35733,7 @@ var init_select4 = __esm({
35476
35733
  init_utils2();
35477
35734
  init_view_common();
35478
35735
  init_view_base3();
35479
- _a302 = entityKind;
35736
+ _a316 = entityKind;
35480
35737
  MySqlSelectBuilder = class {
35481
35738
  constructor(config) {
35482
35739
  __publicField(this, "fields");
@@ -35521,8 +35778,8 @@ var init_select4 = __esm({
35521
35778
  );
35522
35779
  }
35523
35780
  };
35524
- __publicField(MySqlSelectBuilder, _a302, "MySqlSelectBuilder");
35525
- MySqlSelectQueryBuilderBase = class extends (_b225 = TypedQueryBuilder, _a303 = entityKind, _b225) {
35781
+ __publicField(MySqlSelectBuilder, _a316, "MySqlSelectBuilder");
35782
+ MySqlSelectQueryBuilderBase = class extends (_b239 = TypedQueryBuilder, _a317 = entityKind, _b239) {
35526
35783
  constructor({ table: table4, fields, isPartialSelect, session, dialect: dialect4, withList, distinct }) {
35527
35784
  super();
35528
35785
  __publicField(this, "_");
@@ -36123,8 +36380,8 @@ var init_select4 = __esm({
36123
36380
  return this;
36124
36381
  }
36125
36382
  };
36126
- __publicField(MySqlSelectQueryBuilderBase, _a303, "MySqlSelectQueryBuilder");
36127
- MySqlSelectBase = class extends (_b226 = MySqlSelectQueryBuilderBase, _a304 = entityKind, _b226) {
36383
+ __publicField(MySqlSelectQueryBuilderBase, _a317, "MySqlSelectQueryBuilder");
36384
+ MySqlSelectBase = class extends (_b240 = MySqlSelectQueryBuilderBase, _a318 = entityKind, _b240) {
36128
36385
  constructor() {
36129
36386
  super(...arguments);
36130
36387
  __publicField(this, "execute", (placeholderValues) => {
@@ -36148,7 +36405,7 @@ var init_select4 = __esm({
36148
36405
  return query;
36149
36406
  }
36150
36407
  };
36151
- __publicField(MySqlSelectBase, _a304, "MySqlSelect");
36408
+ __publicField(MySqlSelectBase, _a318, "MySqlSelect");
36152
36409
  applyMixins(MySqlSelectBase, [QueryPromise]);
36153
36410
  getMySqlSetOperators = () => ({
36154
36411
  union: union3,
@@ -36168,7 +36425,7 @@ var init_select4 = __esm({
36168
36425
  });
36169
36426
 
36170
36427
  // ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
36171
- var _a305, QueryBuilder3;
36428
+ var _a319, QueryBuilder3;
36172
36429
  var init_query_builder4 = __esm({
36173
36430
  "../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
36174
36431
  "use strict";
@@ -36177,7 +36434,7 @@ var init_query_builder4 = __esm({
36177
36434
  init_selection_proxy();
36178
36435
  init_subquery();
36179
36436
  init_select4();
36180
- _a305 = entityKind;
36437
+ _a319 = entityKind;
36181
36438
  QueryBuilder3 = class {
36182
36439
  constructor(dialect4) {
36183
36440
  __publicField(this, "dialect");
@@ -36239,7 +36496,7 @@ var init_query_builder4 = __esm({
36239
36496
  return this.dialect;
36240
36497
  }
36241
36498
  };
36242
- __publicField(QueryBuilder3, _a305, "MySqlQueryBuilder");
36499
+ __publicField(QueryBuilder3, _a319, "MySqlQueryBuilder");
36243
36500
  }
36244
36501
  });
36245
36502
 
@@ -36251,7 +36508,7 @@ var init_select_types3 = __esm({
36251
36508
  });
36252
36509
 
36253
36510
  // ../drizzle-orm/dist/mysql-core/query-builders/update.js
36254
- var _a306, MySqlUpdateBuilder, _a307, _b227, MySqlUpdateBase;
36511
+ var _a320, MySqlUpdateBuilder, _a321, _b241, MySqlUpdateBase;
36255
36512
  var init_update3 = __esm({
36256
36513
  "../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
36257
36514
  "use strict";
@@ -36260,7 +36517,7 @@ var init_update3 = __esm({
36260
36517
  init_selection_proxy();
36261
36518
  init_table();
36262
36519
  init_utils2();
36263
- _a306 = entityKind;
36520
+ _a320 = entityKind;
36264
36521
  MySqlUpdateBuilder = class {
36265
36522
  constructor(table4, session, dialect4, withList) {
36266
36523
  this.table = table4;
@@ -36272,8 +36529,8 @@ var init_update3 = __esm({
36272
36529
  return new MySqlUpdateBase(this.table, mapUpdateSet(this.table, values), this.session, this.dialect, this.withList);
36273
36530
  }
36274
36531
  };
36275
- __publicField(MySqlUpdateBuilder, _a306, "MySqlUpdateBuilder");
36276
- MySqlUpdateBase = class extends (_b227 = QueryPromise, _a307 = entityKind, _b227) {
36532
+ __publicField(MySqlUpdateBuilder, _a320, "MySqlUpdateBuilder");
36533
+ MySqlUpdateBase = class extends (_b241 = QueryPromise, _a321 = entityKind, _b241) {
36277
36534
  constructor(table4, set, session, dialect4, withList) {
36278
36535
  super();
36279
36536
  __publicField(this, "config");
@@ -36366,7 +36623,7 @@ var init_update3 = __esm({
36366
36623
  return this;
36367
36624
  }
36368
36625
  };
36369
- __publicField(MySqlUpdateBase, _a307, "MySqlUpdate");
36626
+ __publicField(MySqlUpdateBase, _a321, "MySqlUpdate");
36370
36627
  }
36371
36628
  });
36372
36629
 
@@ -36384,14 +36641,14 @@ var init_query_builders3 = __esm({
36384
36641
  });
36385
36642
 
36386
36643
  // ../drizzle-orm/dist/mysql-core/query-builders/query.js
36387
- var _a308, RelationalQueryBuilder3, _a309, _b228, MySqlRelationalQuery;
36644
+ var _a322, RelationalQueryBuilder3, _a323, _b242, MySqlRelationalQuery;
36388
36645
  var init_query3 = __esm({
36389
36646
  "../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
36390
36647
  "use strict";
36391
36648
  init_entity();
36392
36649
  init_query_promise();
36393
36650
  init_relations();
36394
- _a308 = entityKind;
36651
+ _a322 = entityKind;
36395
36652
  RelationalQueryBuilder3 = class {
36396
36653
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, mode) {
36397
36654
  this.fullSchema = fullSchema;
@@ -36432,8 +36689,8 @@ var init_query3 = __esm({
36432
36689
  );
36433
36690
  }
36434
36691
  };
36435
- __publicField(RelationalQueryBuilder3, _a308, "MySqlRelationalQueryBuilder");
36436
- MySqlRelationalQuery = class extends (_b228 = QueryPromise, _a309 = entityKind, _b228) {
36692
+ __publicField(RelationalQueryBuilder3, _a322, "MySqlRelationalQueryBuilder");
36693
+ MySqlRelationalQuery = class extends (_b242 = QueryPromise, _a323 = entityKind, _b242) {
36437
36694
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, config, queryMode, mode) {
36438
36695
  super();
36439
36696
  this.fullSchema = fullSchema;
@@ -36497,12 +36754,12 @@ var init_query3 = __esm({
36497
36754
  return this.prepare().execute();
36498
36755
  }
36499
36756
  };
36500
- __publicField(MySqlRelationalQuery, _a309, "MySqlRelationalQuery");
36757
+ __publicField(MySqlRelationalQuery, _a323, "MySqlRelationalQuery");
36501
36758
  }
36502
36759
  });
36503
36760
 
36504
36761
  // ../drizzle-orm/dist/mysql-core/db.js
36505
- var _a310, MySqlDatabase;
36762
+ var _a324, MySqlDatabase;
36506
36763
  var init_db3 = __esm({
36507
36764
  "../drizzle-orm/dist/mysql-core/db.js"() {
36508
36765
  "use strict";
@@ -36513,7 +36770,7 @@ var init_db3 = __esm({
36513
36770
  init_count3();
36514
36771
  init_query_builders3();
36515
36772
  init_query3();
36516
- _a310 = entityKind;
36773
+ _a324 = entityKind;
36517
36774
  MySqlDatabase = class {
36518
36775
  constructor(dialect4, session, schema4, mode) {
36519
36776
  __publicField(this, "query");
@@ -36726,17 +36983,17 @@ var init_db3 = __esm({
36726
36983
  return this.session.transaction(transaction, config);
36727
36984
  }
36728
36985
  };
36729
- __publicField(MySqlDatabase, _a310, "MySqlDatabase");
36986
+ __publicField(MySqlDatabase, _a324, "MySqlDatabase");
36730
36987
  }
36731
36988
  });
36732
36989
 
36733
36990
  // ../drizzle-orm/dist/mysql-core/indexes.js
36734
- var _a311, IndexBuilderOn3, _a312, IndexBuilder3, _a313, Index5;
36991
+ var _a325, IndexBuilderOn3, _a326, IndexBuilder3, _a327, Index5;
36735
36992
  var init_indexes3 = __esm({
36736
36993
  "../drizzle-orm/dist/mysql-core/indexes.js"() {
36737
36994
  "use strict";
36738
36995
  init_entity();
36739
- _a311 = entityKind;
36996
+ _a325 = entityKind;
36740
36997
  IndexBuilderOn3 = class {
36741
36998
  constructor(name2, unique) {
36742
36999
  this.name = name2;
@@ -36746,8 +37003,8 @@ var init_indexes3 = __esm({
36746
37003
  return new IndexBuilder3(this.name, columns, this.unique);
36747
37004
  }
36748
37005
  };
36749
- __publicField(IndexBuilderOn3, _a311, "MySqlIndexBuilderOn");
36750
- _a312 = entityKind;
37006
+ __publicField(IndexBuilderOn3, _a325, "MySqlIndexBuilderOn");
37007
+ _a326 = entityKind;
36751
37008
  IndexBuilder3 = class {
36752
37009
  constructor(name2, columns, unique) {
36753
37010
  /** @internal */
@@ -36775,26 +37032,26 @@ var init_indexes3 = __esm({
36775
37032
  return new Index5(this.config, table4);
36776
37033
  }
36777
37034
  };
36778
- __publicField(IndexBuilder3, _a312, "MySqlIndexBuilder");
36779
- _a313 = entityKind;
37035
+ __publicField(IndexBuilder3, _a326, "MySqlIndexBuilder");
37036
+ _a327 = entityKind;
36780
37037
  Index5 = class {
36781
37038
  constructor(config, table4) {
36782
37039
  __publicField(this, "config");
36783
37040
  this.config = { ...config, table: table4 };
36784
37041
  }
36785
37042
  };
36786
- __publicField(Index5, _a313, "MySqlIndex");
37043
+ __publicField(Index5, _a327, "MySqlIndex");
36787
37044
  }
36788
37045
  });
36789
37046
 
36790
37047
  // ../drizzle-orm/dist/mysql-core/primary-keys.js
36791
- var _a314, PrimaryKeyBuilder3, _a315, PrimaryKey3;
37048
+ var _a328, PrimaryKeyBuilder3, _a329, PrimaryKey3;
36792
37049
  var init_primary_keys3 = __esm({
36793
37050
  "../drizzle-orm/dist/mysql-core/primary-keys.js"() {
36794
37051
  "use strict";
36795
37052
  init_entity();
36796
37053
  init_table4();
36797
- _a314 = entityKind;
37054
+ _a328 = entityKind;
36798
37055
  PrimaryKeyBuilder3 = class {
36799
37056
  constructor(columns, name2) {
36800
37057
  /** @internal */
@@ -36809,8 +37066,8 @@ var init_primary_keys3 = __esm({
36809
37066
  return new PrimaryKey3(table4, this.columns, this.name);
36810
37067
  }
36811
37068
  };
36812
- __publicField(PrimaryKeyBuilder3, _a314, "MySqlPrimaryKeyBuilder");
36813
- _a315 = entityKind;
37069
+ __publicField(PrimaryKeyBuilder3, _a328, "MySqlPrimaryKeyBuilder");
37070
+ _a329 = entityKind;
36814
37071
  PrimaryKey3 = class {
36815
37072
  constructor(table4, columns, name2) {
36816
37073
  __publicField(this, "columns");
@@ -36823,7 +37080,7 @@ var init_primary_keys3 = __esm({
36823
37080
  return this.name ?? `${this.table[MySqlTable.Symbol.Name]}_${this.columns.map((column4) => column4.name).join("_")}_pk`;
36824
37081
  }
36825
37082
  };
36826
- __publicField(PrimaryKey3, _a315, "MySqlPrimaryKey");
37083
+ __publicField(PrimaryKey3, _a329, "MySqlPrimaryKey");
36827
37084
  }
36828
37085
  });
36829
37086
 
@@ -36843,7 +37100,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
36843
37100
  }
36844
37101
  return new ViewBuilder3(name2, schema4);
36845
37102
  }
36846
- var _a316, ViewBuilderCore2, _a317, _b229, ViewBuilder3, _a318, _b230, ManualViewBuilder3, _a319, _b231, _c10, MySqlView2;
37103
+ var _a330, ViewBuilderCore2, _a331, _b243, ViewBuilder3, _a332, _b244, ManualViewBuilder3, _a333, _b245, _c10, MySqlView2;
36847
37104
  var init_view3 = __esm({
36848
37105
  "../drizzle-orm/dist/mysql-core/view.js"() {
36849
37106
  "use strict";
@@ -36854,7 +37111,7 @@ var init_view3 = __esm({
36854
37111
  init_table4();
36855
37112
  init_view_base3();
36856
37113
  init_view_common3();
36857
- _a316 = entityKind;
37114
+ _a330 = entityKind;
36858
37115
  ViewBuilderCore2 = class {
36859
37116
  constructor(name2, schema4) {
36860
37117
  __publicField(this, "config", {});
@@ -36874,8 +37131,8 @@ var init_view3 = __esm({
36874
37131
  return this;
36875
37132
  }
36876
37133
  };
36877
- __publicField(ViewBuilderCore2, _a316, "MySqlViewBuilder");
36878
- ViewBuilder3 = class extends (_b229 = ViewBuilderCore2, _a317 = entityKind, _b229) {
37134
+ __publicField(ViewBuilderCore2, _a330, "MySqlViewBuilder");
37135
+ ViewBuilder3 = class extends (_b243 = ViewBuilderCore2, _a331 = entityKind, _b243) {
36879
37136
  as(qb) {
36880
37137
  if (typeof qb === "function") {
36881
37138
  qb = qb(new QueryBuilder3());
@@ -36901,8 +37158,8 @@ var init_view3 = __esm({
36901
37158
  );
36902
37159
  }
36903
37160
  };
36904
- __publicField(ViewBuilder3, _a317, "MySqlViewBuilder");
36905
- ManualViewBuilder3 = class extends (_b230 = ViewBuilderCore2, _a318 = entityKind, _b230) {
37161
+ __publicField(ViewBuilder3, _a331, "MySqlViewBuilder");
37162
+ ManualViewBuilder3 = class extends (_b244 = ViewBuilderCore2, _a332 = entityKind, _b244) {
36906
37163
  constructor(name2, columns, schema4) {
36907
37164
  super(name2, schema4);
36908
37165
  __publicField(this, "columns");
@@ -36947,27 +37204,27 @@ var init_view3 = __esm({
36947
37204
  );
36948
37205
  }
36949
37206
  };
36950
- __publicField(ManualViewBuilder3, _a318, "MySqlManualViewBuilder");
36951
- MySqlView2 = class extends (_c10 = MySqlViewBase, _b231 = entityKind, _a319 = MySqlViewConfig, _c10) {
37207
+ __publicField(ManualViewBuilder3, _a332, "MySqlManualViewBuilder");
37208
+ MySqlView2 = class extends (_c10 = MySqlViewBase, _b245 = entityKind, _a333 = MySqlViewConfig, _c10) {
36952
37209
  constructor({ mysqlConfig, config }) {
36953
37210
  super(config);
36954
- __publicField(this, _a319);
37211
+ __publicField(this, _a333);
36955
37212
  this[MySqlViewConfig] = mysqlConfig;
36956
37213
  }
36957
37214
  };
36958
- __publicField(MySqlView2, _b231, "MySqlView");
37215
+ __publicField(MySqlView2, _b245, "MySqlView");
36959
37216
  }
36960
37217
  });
36961
37218
 
36962
37219
  // ../drizzle-orm/dist/mysql-core/schema.js
36963
- var _a320, MySqlSchema5;
37220
+ var _a334, MySqlSchema5;
36964
37221
  var init_schema2 = __esm({
36965
37222
  "../drizzle-orm/dist/mysql-core/schema.js"() {
36966
37223
  "use strict";
36967
37224
  init_entity();
36968
37225
  init_table4();
36969
37226
  init_view3();
36970
- _a320 = entityKind;
37227
+ _a334 = entityKind;
36971
37228
  MySqlSchema5 = class {
36972
37229
  constructor(schemaName) {
36973
37230
  __publicField(this, "table", (name2, columns, extraConfig) => {
@@ -36979,12 +37236,12 @@ var init_schema2 = __esm({
36979
37236
  this.schemaName = schemaName;
36980
37237
  }
36981
37238
  };
36982
- __publicField(MySqlSchema5, _a320, "MySqlSchema");
37239
+ __publicField(MySqlSchema5, _a334, "MySqlSchema");
36983
37240
  }
36984
37241
  });
36985
37242
 
36986
37243
  // ../drizzle-orm/dist/mysql-core/session.js
36987
- var _a321, MySqlPreparedQuery, _a322, MySqlSession, _a323, _b232, MySqlTransaction;
37244
+ var _a335, MySqlPreparedQuery, _a336, MySqlSession, _a337, _b246, MySqlTransaction;
36988
37245
  var init_session3 = __esm({
36989
37246
  "../drizzle-orm/dist/mysql-core/session.js"() {
36990
37247
  "use strict";
@@ -36992,15 +37249,15 @@ var init_session3 = __esm({
36992
37249
  init_errors();
36993
37250
  init_sql();
36994
37251
  init_db3();
36995
- _a321 = entityKind;
37252
+ _a335 = entityKind;
36996
37253
  MySqlPreparedQuery = class {
36997
37254
  constructor() {
36998
37255
  /** @internal */
36999
37256
  __publicField(this, "joinsNotNullableMap");
37000
37257
  }
37001
37258
  };
37002
- __publicField(MySqlPreparedQuery, _a321, "MySqlPreparedQuery");
37003
- _a322 = entityKind;
37259
+ __publicField(MySqlPreparedQuery, _a335, "MySqlPreparedQuery");
37260
+ _a336 = entityKind;
37004
37261
  MySqlSession = class {
37005
37262
  constructor(dialect4) {
37006
37263
  this.dialect = dialect4;
@@ -37035,8 +37292,8 @@ var init_session3 = __esm({
37035
37292
  return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
37036
37293
  }
37037
37294
  };
37038
- __publicField(MySqlSession, _a322, "MySqlSession");
37039
- MySqlTransaction = class extends (_b232 = MySqlDatabase, _a323 = entityKind, _b232) {
37295
+ __publicField(MySqlSession, _a336, "MySqlSession");
37296
+ MySqlTransaction = class extends (_b246 = MySqlDatabase, _a337 = entityKind, _b246) {
37040
37297
  constructor(dialect4, session, schema4, nestedIndex, mode) {
37041
37298
  super(dialect4, session, schema4, mode);
37042
37299
  this.schema = schema4;
@@ -37046,7 +37303,7 @@ var init_session3 = __esm({
37046
37303
  throw new TransactionRollbackError();
37047
37304
  }
37048
37305
  };
37049
- __publicField(MySqlTransaction, _a323, "MySqlTransaction");
37306
+ __publicField(MySqlTransaction, _a337, "MySqlTransaction");
37050
37307
  }
37051
37308
  });
37052
37309