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

Sign up to get free protection for your applications and to get access to all the features.
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.mjs CHANGED
@@ -3652,17 +3652,17 @@ function processCreateParams(params) {
3652
3652
  if (errorMap2)
3653
3653
  return { errorMap: errorMap2, description };
3654
3654
  const customMap = (iss, ctx) => {
3655
- var _a324, _b233;
3655
+ var _a338, _b247;
3656
3656
  const { message } = params;
3657
3657
  if (iss.code === "invalid_enum_value") {
3658
3658
  return { message: message !== null && message !== void 0 ? message : ctx.defaultError };
3659
3659
  }
3660
3660
  if (typeof ctx.data === "undefined") {
3661
- return { message: (_a324 = message !== null && message !== void 0 ? message : required_error) !== null && _a324 !== void 0 ? _a324 : ctx.defaultError };
3661
+ return { message: (_a338 = message !== null && message !== void 0 ? message : required_error) !== null && _a338 !== void 0 ? _a338 : ctx.defaultError };
3662
3662
  }
3663
3663
  if (iss.code !== "invalid_type")
3664
3664
  return { message: ctx.defaultError };
3665
- return { message: (_b233 = message !== null && message !== void 0 ? message : invalid_type_error) !== null && _b233 !== void 0 ? _b233 : ctx.defaultError };
3665
+ return { message: (_b247 = message !== null && message !== void 0 ? message : invalid_type_error) !== null && _b247 !== void 0 ? _b247 : ctx.defaultError };
3666
3666
  };
3667
3667
  return { errorMap: customMap, description };
3668
3668
  }
@@ -4324,11 +4324,11 @@ var init_lib = __esm({
4324
4324
  throw result.error;
4325
4325
  }
4326
4326
  safeParse(data, params) {
4327
- var _a324;
4327
+ var _a338;
4328
4328
  const ctx = {
4329
4329
  common: {
4330
4330
  issues: [],
4331
- async: (_a324 = params === null || params === void 0 ? void 0 : params.async) !== null && _a324 !== void 0 ? _a324 : false,
4331
+ async: (_a338 = params === null || params === void 0 ? void 0 : params.async) !== null && _a338 !== void 0 ? _a338 : false,
4332
4332
  contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap
4333
4333
  },
4334
4334
  path: (params === null || params === void 0 ? void 0 : params.path) || [],
@@ -4650,7 +4650,7 @@ var init_lib = __esm({
4650
4650
  } else if (check.kind === "url") {
4651
4651
  try {
4652
4652
  new URL(input.data);
4653
- } catch (_a324) {
4653
+ } catch (_a338) {
4654
4654
  ctx = this._getOrReturnCtx(input, ctx);
4655
4655
  addIssueToContext(ctx, {
4656
4656
  validation: "url",
@@ -4820,7 +4820,7 @@ var init_lib = __esm({
4820
4820
  return this._addCheck({ kind: "ip", ...errorUtil.errToObj(options) });
4821
4821
  }
4822
4822
  datetime(options) {
4823
- var _a324, _b233;
4823
+ var _a338, _b247;
4824
4824
  if (typeof options === "string") {
4825
4825
  return this._addCheck({
4826
4826
  kind: "datetime",
@@ -4833,8 +4833,8 @@ var init_lib = __esm({
4833
4833
  return this._addCheck({
4834
4834
  kind: "datetime",
4835
4835
  precision: typeof (options === null || options === void 0 ? void 0 : options.precision) === "undefined" ? null : options === null || options === void 0 ? void 0 : options.precision,
4836
- offset: (_a324 = options === null || options === void 0 ? void 0 : options.offset) !== null && _a324 !== void 0 ? _a324 : false,
4837
- local: (_b233 = options === null || options === void 0 ? void 0 : options.local) !== null && _b233 !== void 0 ? _b233 : false,
4836
+ offset: (_a338 = options === null || options === void 0 ? void 0 : options.offset) !== null && _a338 !== void 0 ? _a338 : false,
4837
+ local: (_b247 = options === null || options === void 0 ? void 0 : options.local) !== null && _b247 !== void 0 ? _b247 : false,
4838
4838
  ...errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message)
4839
4839
  });
4840
4840
  }
@@ -4997,11 +4997,11 @@ var init_lib = __esm({
4997
4997
  }
4998
4998
  };
4999
4999
  ZodString.create = (params) => {
5000
- var _a324;
5000
+ var _a338;
5001
5001
  return new ZodString({
5002
5002
  checks: [],
5003
5003
  typeName: ZodFirstPartyTypeKind.ZodString,
5004
- coerce: (_a324 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a324 !== void 0 ? _a324 : false,
5004
+ coerce: (_a338 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a338 !== void 0 ? _a338 : false,
5005
5005
  ...processCreateParams(params)
5006
5006
  });
5007
5007
  };
@@ -5394,11 +5394,11 @@ var init_lib = __esm({
5394
5394
  }
5395
5395
  };
5396
5396
  ZodBigInt.create = (params) => {
5397
- var _a324;
5397
+ var _a338;
5398
5398
  return new ZodBigInt({
5399
5399
  checks: [],
5400
5400
  typeName: ZodFirstPartyTypeKind.ZodBigInt,
5401
- coerce: (_a324 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a324 !== void 0 ? _a324 : false,
5401
+ coerce: (_a338 = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a338 !== void 0 ? _a338 : false,
5402
5402
  ...processCreateParams(params)
5403
5403
  });
5404
5404
  };
@@ -5878,8 +5878,8 @@ var init_lib = __esm({
5878
5878
  unknownKeys: "strict",
5879
5879
  ...message !== void 0 ? {
5880
5880
  errorMap: (issue, ctx) => {
5881
- var _a324, _b233, _c11, _d5;
5882
- 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;
5881
+ var _a338, _b247, _c11, _d5;
5882
+ 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;
5883
5883
  if (issue.code === "unrecognized_keys")
5884
5884
  return {
5885
5885
  message: (_d5 = errorUtil.errToObj(message).message) !== null && _d5 !== void 0 ? _d5 : defaultError
@@ -12001,7 +12001,7 @@ var init_sqlgenerator = __esm({
12001
12001
  isPgNativeType = (it) => {
12002
12002
  if (pgNativeTypes.has(it)) return true;
12003
12003
  const toCheck = it.replace(/ /g, "");
12004
- 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);
12004
+ 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);
12005
12005
  };
12006
12006
  Convertor = class {
12007
12007
  };
@@ -20377,7 +20377,7 @@ var version;
20377
20377
  var init_version = __esm({
20378
20378
  "../drizzle-orm/dist/version.js"() {
20379
20379
  "use strict";
20380
- version = "0.35.2";
20380
+ version = "0.35.3";
20381
20381
  }
20382
20382
  });
20383
20383
 
@@ -20778,8 +20778,8 @@ var init_sql = __esm({
20778
20778
  sql2.param = param2;
20779
20779
  })(sql || (sql = {}));
20780
20780
  ((SQL2) => {
20781
- var _a324;
20782
- _a324 = entityKind;
20781
+ var _a338;
20782
+ _a338 = entityKind;
20783
20783
  const _Aliased = class _Aliased {
20784
20784
  constructor(sql2, fieldAlias) {
20785
20785
  /** @internal */
@@ -20795,7 +20795,7 @@ var init_sql = __esm({
20795
20795
  return new _Aliased(this.sql, this.fieldAlias);
20796
20796
  }
20797
20797
  };
20798
- __publicField(_Aliased, _a324, "SQL.Aliased");
20798
+ __publicField(_Aliased, _a338, "SQL.Aliased");
20799
20799
  let Aliased = _Aliased;
20800
20800
  SQL2.Aliased = Aliased;
20801
20801
  })(SQL || (SQL = {}));
@@ -23696,6 +23696,257 @@ var init_checks = __esm({
23696
23696
  }
23697
23697
  });
23698
23698
 
23699
+ // ../drizzle-orm/dist/pg-core/columns/postgis_extension/geography.js
23700
+ var _a125, _b97, PgGeographyBuilder, _a126, _b98, PgGeography, _a127, _b99, PgGeographyObjectBuilder, _a128, _b100, PgGeographyObject;
23701
+ var init_geography = __esm({
23702
+ "../drizzle-orm/dist/pg-core/columns/postgis_extension/geography.js"() {
23703
+ "use strict";
23704
+ init_entity();
23705
+ init_common2();
23706
+ init_utils3();
23707
+ PgGeographyBuilder = class extends (_b97 = PgColumnBuilder, _a125 = entityKind, _b97) {
23708
+ constructor(name2, config) {
23709
+ super(name2, "array", "PgGeography");
23710
+ this.config.srid = config?.srid;
23711
+ this.config.type = config?.type;
23712
+ }
23713
+ /** @internal */
23714
+ build(table4) {
23715
+ return new PgGeography(
23716
+ table4,
23717
+ this.config
23718
+ );
23719
+ }
23720
+ };
23721
+ __publicField(PgGeographyBuilder, _a125, "PgGeographyBuilder");
23722
+ PgGeography = class extends (_b98 = PgColumn, _a126 = entityKind, _b98) {
23723
+ constructor() {
23724
+ super(...arguments);
23725
+ __publicField(this, "type", this.config.type);
23726
+ __publicField(this, "srid", this.config.srid);
23727
+ }
23728
+ getSQLType() {
23729
+ return `geography${this.type || this.srid ? `(${this.type ?? ""}${this.srid ? this.type ? `,${this.srid}` : this.srid : ""})` : ""}`;
23730
+ }
23731
+ mapFromDriverValue(value) {
23732
+ return parseEWKB(value);
23733
+ }
23734
+ mapToDriverValue(value) {
23735
+ return `point(${value[0]} ${value[1]})`;
23736
+ }
23737
+ };
23738
+ __publicField(PgGeography, _a126, "PgGeography");
23739
+ PgGeographyObjectBuilder = class extends (_b99 = PgColumnBuilder, _a127 = entityKind, _b99) {
23740
+ constructor(name2, config) {
23741
+ super(name2, "json", "PgGeographyObject");
23742
+ this.config.srid = config?.srid;
23743
+ this.config.type = config?.type;
23744
+ }
23745
+ /** @internal */
23746
+ build(table4) {
23747
+ return new PgGeographyObject(
23748
+ table4,
23749
+ this.config
23750
+ );
23751
+ }
23752
+ };
23753
+ __publicField(PgGeographyObjectBuilder, _a127, "PgGeographyObjectBuilder");
23754
+ PgGeographyObject = class extends (_b100 = PgColumn, _a128 = entityKind, _b100) {
23755
+ constructor() {
23756
+ super(...arguments);
23757
+ __publicField(this, "type", this.config.type);
23758
+ __publicField(this, "srid", this.config.srid);
23759
+ }
23760
+ getSQLType() {
23761
+ return `geography${this.type || this.srid ? `(${this.type ?? ""}${this.srid ? this.type ? `,${this.srid}` : this.srid : ""})` : ""}`;
23762
+ }
23763
+ mapFromDriverValue(value) {
23764
+ const parsed = parseEWKB(value);
23765
+ return { x: parsed[0], y: parsed[1] };
23766
+ }
23767
+ mapToDriverValue(value) {
23768
+ return `geography(${value.x} ${value.y})`;
23769
+ }
23770
+ };
23771
+ __publicField(PgGeographyObject, _a128, "PgGeographyObject");
23772
+ }
23773
+ });
23774
+
23775
+ // ../drizzle-orm/dist/pg-core/columns/postgres_internals/name.js
23776
+ var _a129, _b101, PgNameInternalBuilder, _a130, _b102, PgNameInternal;
23777
+ var init_name = __esm({
23778
+ "../drizzle-orm/dist/pg-core/columns/postgres_internals/name.js"() {
23779
+ "use strict";
23780
+ init_entity();
23781
+ init_common2();
23782
+ PgNameInternalBuilder = class extends (_b101 = PgColumnBuilder, _a129 = entityKind, _b101) {
23783
+ constructor(name2) {
23784
+ super(name2, "string", "PgNameInternal");
23785
+ }
23786
+ /** @internal */
23787
+ build(table4) {
23788
+ return new PgNameInternal(
23789
+ table4,
23790
+ this.config
23791
+ );
23792
+ }
23793
+ };
23794
+ __publicField(PgNameInternalBuilder, _a129, "PgNameInternalBuilder");
23795
+ PgNameInternal = class extends (_b102 = PgColumn, _a130 = entityKind, _b102) {
23796
+ getSQLType() {
23797
+ return `name`;
23798
+ }
23799
+ mapFromDriverValue(value) {
23800
+ return value;
23801
+ }
23802
+ mapToDriverValue(value) {
23803
+ return value;
23804
+ }
23805
+ };
23806
+ __publicField(PgNameInternal, _a130, "PgNameInternal");
23807
+ }
23808
+ });
23809
+
23810
+ // ../drizzle-orm/dist/pg-core/columns/postgres_internals/oid.js
23811
+ var _a131, _b103, PgOidInternalBuilder, _a132, _b104, PgOidInternal;
23812
+ var init_oid = __esm({
23813
+ "../drizzle-orm/dist/pg-core/columns/postgres_internals/oid.js"() {
23814
+ "use strict";
23815
+ init_entity();
23816
+ init_common2();
23817
+ PgOidInternalBuilder = class extends (_b103 = PgColumnBuilder, _a131 = entityKind, _b103) {
23818
+ constructor(name2) {
23819
+ super(name2, "string", "PgOidInternal");
23820
+ }
23821
+ /** @internal */
23822
+ build(table4) {
23823
+ return new PgOidInternal(
23824
+ table4,
23825
+ this.config
23826
+ );
23827
+ }
23828
+ };
23829
+ __publicField(PgOidInternalBuilder, _a131, "PgOidInternalBuilder");
23830
+ PgOidInternal = class extends (_b104 = PgColumn, _a132 = entityKind, _b104) {
23831
+ getSQLType() {
23832
+ return `oid`;
23833
+ }
23834
+ mapFromDriverValue(value) {
23835
+ return value;
23836
+ }
23837
+ mapToDriverValue(value) {
23838
+ return value;
23839
+ }
23840
+ };
23841
+ __publicField(PgOidInternal, _a132, "PgOidInternal");
23842
+ }
23843
+ });
23844
+
23845
+ // ../drizzle-orm/dist/pg-core/columns/timescale/compactstateagg.js
23846
+ var _a133, _b105, PgCompactStateAggBuilder, _a134, _b106, PgCompactStateAgg;
23847
+ var init_compactstateagg = __esm({
23848
+ "../drizzle-orm/dist/pg-core/columns/timescale/compactstateagg.js"() {
23849
+ "use strict";
23850
+ init_entity();
23851
+ init_common2();
23852
+ PgCompactStateAggBuilder = class extends (_b105 = PgColumnBuilder, _a133 = entityKind, _b105) {
23853
+ constructor(name2) {
23854
+ super(name2, "string", "PgCompactStateAgg");
23855
+ }
23856
+ /** @internal */
23857
+ build(table4) {
23858
+ return new PgCompactStateAgg(
23859
+ table4,
23860
+ this.config
23861
+ );
23862
+ }
23863
+ };
23864
+ __publicField(PgCompactStateAggBuilder, _a133, "PgCompactStateAggBuilder");
23865
+ PgCompactStateAgg = class extends (_b106 = PgColumn, _a134 = entityKind, _b106) {
23866
+ getSQLType() {
23867
+ return `compactstateagg`;
23868
+ }
23869
+ mapFromDriverValue(value) {
23870
+ return value;
23871
+ }
23872
+ mapToDriverValue(value) {
23873
+ return value;
23874
+ }
23875
+ };
23876
+ __publicField(PgCompactStateAgg, _a134, "PgCompactStateAgg");
23877
+ }
23878
+ });
23879
+
23880
+ // ../drizzle-orm/dist/pg-core/columns/timescale/heartbeatagg.js
23881
+ var _a135, _b107, PgHeartBeatAggBuilder, _a136, _b108, PgHeartBeatAgg;
23882
+ var init_heartbeatagg = __esm({
23883
+ "../drizzle-orm/dist/pg-core/columns/timescale/heartbeatagg.js"() {
23884
+ "use strict";
23885
+ init_entity();
23886
+ init_common2();
23887
+ PgHeartBeatAggBuilder = class extends (_b107 = PgColumnBuilder, _a135 = entityKind, _b107) {
23888
+ constructor(name2) {
23889
+ super(name2, "string", "PgHeartBeatAgg");
23890
+ }
23891
+ /** @internal */
23892
+ build(table4) {
23893
+ return new PgHeartBeatAgg(
23894
+ table4,
23895
+ this.config
23896
+ );
23897
+ }
23898
+ };
23899
+ __publicField(PgHeartBeatAggBuilder, _a135, "PgHeartBeatAggBuilder");
23900
+ PgHeartBeatAgg = class extends (_b108 = PgColumn, _a136 = entityKind, _b108) {
23901
+ getSQLType() {
23902
+ return `heartbeatagg`;
23903
+ }
23904
+ mapFromDriverValue(value) {
23905
+ return value;
23906
+ }
23907
+ mapToDriverValue(value) {
23908
+ return value;
23909
+ }
23910
+ };
23911
+ __publicField(PgHeartBeatAgg, _a136, "PgHeartBeatAgg");
23912
+ }
23913
+ });
23914
+
23915
+ // ../drizzle-orm/dist/pg-core/columns/timescale/stateagg.js
23916
+ var _a137, _b109, PgStateAggBuilder, _a138, _b110, PgStateAgg;
23917
+ var init_stateagg = __esm({
23918
+ "../drizzle-orm/dist/pg-core/columns/timescale/stateagg.js"() {
23919
+ "use strict";
23920
+ init_entity();
23921
+ init_common2();
23922
+ PgStateAggBuilder = class extends (_b109 = PgColumnBuilder, _a137 = entityKind, _b109) {
23923
+ constructor(name2) {
23924
+ super(name2, "string", "PgStateAgg");
23925
+ }
23926
+ /** @internal */
23927
+ build(table4) {
23928
+ return new PgStateAgg(
23929
+ table4,
23930
+ this.config
23931
+ );
23932
+ }
23933
+ };
23934
+ __publicField(PgStateAggBuilder, _a137, "PgStateAggBuilder");
23935
+ PgStateAgg = class extends (_b110 = PgColumn, _a138 = entityKind, _b110) {
23936
+ getSQLType() {
23937
+ return `stateagg`;
23938
+ }
23939
+ mapFromDriverValue(value) {
23940
+ return value;
23941
+ }
23942
+ mapToDriverValue(value) {
23943
+ return value;
23944
+ }
23945
+ };
23946
+ __publicField(PgStateAgg, _a138, "PgStateAgg");
23947
+ }
23948
+ });
23949
+
23699
23950
  // ../drizzle-orm/dist/pg-core/columns/index.js
23700
23951
  var init_columns = __esm({
23701
23952
  "../drizzle-orm/dist/pg-core/columns/index.js"() {
@@ -23721,13 +23972,19 @@ var init_columns = __esm({
23721
23972
  init_macaddr8();
23722
23973
  init_numeric();
23723
23974
  init_point();
23975
+ init_geography();
23724
23976
  init_geometry();
23977
+ init_name();
23978
+ init_oid();
23725
23979
  init_real();
23726
23980
  init_serial();
23727
23981
  init_smallint();
23728
23982
  init_smallserial();
23729
23983
  init_text();
23730
23984
  init_time();
23985
+ init_compactstateagg();
23986
+ init_heartbeatagg();
23987
+ init_stateagg();
23731
23988
  init_timestamp();
23732
23989
  init_uuid();
23733
23990
  init_varchar();
@@ -23739,7 +23996,7 @@ var init_columns = __esm({
23739
23996
  });
23740
23997
 
23741
23998
  // ../drizzle-orm/dist/pg-core/query-builders/delete.js
23742
- var _a125, _b97, PgDeleteBase;
23999
+ var _a139, _b111, PgDeleteBase;
23743
24000
  var init_delete = __esm({
23744
24001
  "../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
23745
24002
  "use strict";
@@ -23748,7 +24005,7 @@ var init_delete = __esm({
23748
24005
  init_table();
23749
24006
  init_tracing();
23750
24007
  init_utils2();
23751
- PgDeleteBase = class extends (_b97 = QueryPromise, _a125 = entityKind, _b97) {
24008
+ PgDeleteBase = class extends (_b111 = QueryPromise, _a139 = entityKind, _b111) {
23752
24009
  constructor(table4, session, dialect4, withList) {
23753
24010
  super();
23754
24011
  __publicField(this, "config");
@@ -23819,12 +24076,12 @@ var init_delete = __esm({
23819
24076
  return this;
23820
24077
  }
23821
24078
  };
23822
- __publicField(PgDeleteBase, _a125, "PgDelete");
24079
+ __publicField(PgDeleteBase, _a139, "PgDelete");
23823
24080
  }
23824
24081
  });
23825
24082
 
23826
24083
  // ../drizzle-orm/dist/pg-core/query-builders/insert.js
23827
- var _a126, PgInsertBuilder, _a127, _b98, PgInsertBase;
24084
+ var _a140, PgInsertBuilder, _a141, _b112, PgInsertBase;
23828
24085
  var init_insert = __esm({
23829
24086
  "../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
23830
24087
  "use strict";
@@ -23834,7 +24091,7 @@ var init_insert = __esm({
23834
24091
  init_table();
23835
24092
  init_tracing();
23836
24093
  init_utils2();
23837
- _a126 = entityKind;
24094
+ _a140 = entityKind;
23838
24095
  PgInsertBuilder = class {
23839
24096
  constructor(table4, session, dialect4, withList) {
23840
24097
  this.table = table4;
@@ -23859,8 +24116,8 @@ var init_insert = __esm({
23859
24116
  return new PgInsertBase(this.table, mappedValues, this.session, this.dialect, this.withList);
23860
24117
  }
23861
24118
  };
23862
- __publicField(PgInsertBuilder, _a126, "PgInsertBuilder");
23863
- PgInsertBase = class extends (_b98 = QueryPromise, _a127 = entityKind, _b98) {
24119
+ __publicField(PgInsertBuilder, _a140, "PgInsertBuilder");
24120
+ PgInsertBase = class extends (_b112 = QueryPromise, _a141 = entityKind, _b112) {
23864
24121
  constructor(table4, values, session, dialect4, withList) {
23865
24122
  super();
23866
24123
  __publicField(this, "config");
@@ -23975,25 +24232,25 @@ var init_insert = __esm({
23975
24232
  return this;
23976
24233
  }
23977
24234
  };
23978
- __publicField(PgInsertBase, _a127, "PgInsert");
24235
+ __publicField(PgInsertBase, _a141, "PgInsert");
23979
24236
  }
23980
24237
  });
23981
24238
 
23982
24239
  // ../drizzle-orm/dist/pg-core/view-base.js
23983
- var _a128, _b99, PgViewBase;
24240
+ var _a142, _b113, PgViewBase;
23984
24241
  var init_view_base = __esm({
23985
24242
  "../drizzle-orm/dist/pg-core/view-base.js"() {
23986
24243
  "use strict";
23987
24244
  init_entity();
23988
24245
  init_sql();
23989
- PgViewBase = class extends (_b99 = View3, _a128 = entityKind, _b99) {
24246
+ PgViewBase = class extends (_b113 = View3, _a142 = entityKind, _b113) {
23990
24247
  };
23991
- __publicField(PgViewBase, _a128, "PgViewBase");
24248
+ __publicField(PgViewBase, _a142, "PgViewBase");
23992
24249
  }
23993
24250
  });
23994
24251
 
23995
24252
  // ../drizzle-orm/dist/pg-core/dialect.js
23996
- var _a129, PgDialect;
24253
+ var _a143, PgDialect;
23997
24254
  var init_dialect = __esm({
23998
24255
  "../drizzle-orm/dist/pg-core/dialect.js"() {
23999
24256
  "use strict";
@@ -24012,7 +24269,7 @@ var init_dialect = __esm({
24012
24269
  init_utils2();
24013
24270
  init_view_common();
24014
24271
  init_view_base();
24015
- _a129 = entityKind;
24272
+ _a143 = entityKind;
24016
24273
  PgDialect = class {
24017
24274
  constructor(config) {
24018
24275
  /** @internal */
@@ -25080,12 +25337,12 @@ var init_dialect = __esm({
25080
25337
  };
25081
25338
  }
25082
25339
  };
25083
- __publicField(PgDialect, _a129, "PgDialect");
25340
+ __publicField(PgDialect, _a143, "PgDialect");
25084
25341
  }
25085
25342
  });
25086
25343
 
25087
25344
  // ../drizzle-orm/dist/selection-proxy.js
25088
- var _a130, _SelectionProxyHandler, SelectionProxyHandler;
25345
+ var _a144, _SelectionProxyHandler, SelectionProxyHandler;
25089
25346
  var init_selection_proxy = __esm({
25090
25347
  "../drizzle-orm/dist/selection-proxy.js"() {
25091
25348
  "use strict";
@@ -25095,7 +25352,7 @@ var init_selection_proxy = __esm({
25095
25352
  init_sql();
25096
25353
  init_subquery();
25097
25354
  init_view_common();
25098
- _a130 = entityKind;
25355
+ _a144 = entityKind;
25099
25356
  _SelectionProxyHandler = class _SelectionProxyHandler {
25100
25357
  constructor(config) {
25101
25358
  __publicField(this, "config");
@@ -25161,25 +25418,25 @@ var init_selection_proxy = __esm({
25161
25418
  return new Proxy(value, new _SelectionProxyHandler(this.config));
25162
25419
  }
25163
25420
  };
25164
- __publicField(_SelectionProxyHandler, _a130, "SelectionProxyHandler");
25421
+ __publicField(_SelectionProxyHandler, _a144, "SelectionProxyHandler");
25165
25422
  SelectionProxyHandler = _SelectionProxyHandler;
25166
25423
  }
25167
25424
  });
25168
25425
 
25169
25426
  // ../drizzle-orm/dist/query-builders/query-builder.js
25170
- var _a131, TypedQueryBuilder;
25427
+ var _a145, TypedQueryBuilder;
25171
25428
  var init_query_builder = __esm({
25172
25429
  "../drizzle-orm/dist/query-builders/query-builder.js"() {
25173
25430
  "use strict";
25174
25431
  init_entity();
25175
- _a131 = entityKind;
25432
+ _a145 = entityKind;
25176
25433
  TypedQueryBuilder = class {
25177
25434
  /** @internal */
25178
25435
  getSelectedFields() {
25179
25436
  return this._.selectedFields;
25180
25437
  }
25181
25438
  };
25182
- __publicField(TypedQueryBuilder, _a131, "TypedQueryBuilder");
25439
+ __publicField(TypedQueryBuilder, _a145, "TypedQueryBuilder");
25183
25440
  }
25184
25441
  });
25185
25442
 
@@ -25201,7 +25458,7 @@ function createSetOperator(type, isAll) {
25201
25458
  return leftSelect.addSetOperators(setOperators);
25202
25459
  };
25203
25460
  }
25204
- var _a132, PgSelectBuilder, _a133, _b100, PgSelectQueryBuilderBase, _a134, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
25461
+ var _a146, PgSelectBuilder, _a147, _b114, PgSelectQueryBuilderBase, _a148, _b115, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
25205
25462
  var init_select2 = __esm({
25206
25463
  "../drizzle-orm/dist/pg-core/query-builders/select.js"() {
25207
25464
  "use strict";
@@ -25217,7 +25474,7 @@ var init_select2 = __esm({
25217
25474
  init_utils2();
25218
25475
  init_utils2();
25219
25476
  init_view_common();
25220
- _a132 = entityKind;
25477
+ _a146 = entityKind;
25221
25478
  PgSelectBuilder = class {
25222
25479
  constructor(config) {
25223
25480
  __publicField(this, "fields");
@@ -25266,8 +25523,8 @@ var init_select2 = __esm({
25266
25523
  });
25267
25524
  }
25268
25525
  };
25269
- __publicField(PgSelectBuilder, _a132, "PgSelectBuilder");
25270
- PgSelectQueryBuilderBase = class extends (_b100 = TypedQueryBuilder, _a133 = entityKind, _b100) {
25526
+ __publicField(PgSelectBuilder, _a146, "PgSelectBuilder");
25527
+ PgSelectQueryBuilderBase = class extends (_b114 = TypedQueryBuilder, _a147 = entityKind, _b114) {
25271
25528
  constructor({ table: table4, fields, isPartialSelect, session, dialect: dialect4, withList, distinct }) {
25272
25529
  super();
25273
25530
  __publicField(this, "_");
@@ -25867,8 +26124,8 @@ var init_select2 = __esm({
25867
26124
  return this;
25868
26125
  }
25869
26126
  };
25870
- __publicField(PgSelectQueryBuilderBase, _a133, "PgSelectQueryBuilder");
25871
- PgSelectBase = class extends (_b101 = PgSelectQueryBuilderBase, _a134 = entityKind, _b101) {
26127
+ __publicField(PgSelectQueryBuilderBase, _a147, "PgSelectQueryBuilder");
26128
+ PgSelectBase = class extends (_b115 = PgSelectQueryBuilderBase, _a148 = entityKind, _b115) {
25872
26129
  constructor() {
25873
26130
  super(...arguments);
25874
26131
  __publicField(this, "execute", (placeholderValues) => {
@@ -25901,7 +26158,7 @@ var init_select2 = __esm({
25901
26158
  return this._prepare(name2);
25902
26159
  }
25903
26160
  };
25904
- __publicField(PgSelectBase, _a134, "PgSelect");
26161
+ __publicField(PgSelectBase, _a148, "PgSelect");
25905
26162
  applyMixins(PgSelectBase, [QueryPromise]);
25906
26163
  getPgSetOperators = () => ({
25907
26164
  union,
@@ -25921,7 +26178,7 @@ var init_select2 = __esm({
25921
26178
  });
25922
26179
 
25923
26180
  // ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
25924
- var _a135, QueryBuilder;
26181
+ var _a149, QueryBuilder;
25925
26182
  var init_query_builder2 = __esm({
25926
26183
  "../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
25927
26184
  "use strict";
@@ -25930,7 +26187,7 @@ var init_query_builder2 = __esm({
25930
26187
  init_selection_proxy();
25931
26188
  init_subquery();
25932
26189
  init_select2();
25933
- _a135 = entityKind;
26190
+ _a149 = entityKind;
25934
26191
  QueryBuilder = class {
25935
26192
  constructor(dialect4) {
25936
26193
  __publicField(this, "dialect");
@@ -26011,19 +26268,19 @@ var init_query_builder2 = __esm({
26011
26268
  return this.dialect;
26012
26269
  }
26013
26270
  };
26014
- __publicField(QueryBuilder, _a135, "PgQueryBuilder");
26271
+ __publicField(QueryBuilder, _a149, "PgQueryBuilder");
26015
26272
  }
26016
26273
  });
26017
26274
 
26018
26275
  // ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
26019
- var _a136, _b102, PgRefreshMaterializedView;
26276
+ var _a150, _b116, PgRefreshMaterializedView;
26020
26277
  var init_refresh_materialized_view = __esm({
26021
26278
  "../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
26022
26279
  "use strict";
26023
26280
  init_entity();
26024
26281
  init_query_promise();
26025
26282
  init_tracing();
26026
- PgRefreshMaterializedView = class extends (_b102 = QueryPromise, _a136 = entityKind, _b102) {
26283
+ PgRefreshMaterializedView = class extends (_b116 = QueryPromise, _a150 = entityKind, _b116) {
26027
26284
  constructor(view4, session, dialect4) {
26028
26285
  super();
26029
26286
  __publicField(this, "config");
@@ -26068,7 +26325,7 @@ var init_refresh_materialized_view = __esm({
26068
26325
  return this._prepare(name2);
26069
26326
  }
26070
26327
  };
26071
- __publicField(PgRefreshMaterializedView, _a136, "PgRefreshMaterializedView");
26328
+ __publicField(PgRefreshMaterializedView, _a150, "PgRefreshMaterializedView");
26072
26329
  }
26073
26330
  });
26074
26331
 
@@ -26080,7 +26337,7 @@ var init_select_types = __esm({
26080
26337
  });
26081
26338
 
26082
26339
  // ../drizzle-orm/dist/pg-core/query-builders/update.js
26083
- var _a137, PgUpdateBuilder, _a138, _b103, PgUpdateBase;
26340
+ var _a151, PgUpdateBuilder, _a152, _b117, PgUpdateBase;
26084
26341
  var init_update = __esm({
26085
26342
  "../drizzle-orm/dist/pg-core/query-builders/update.js"() {
26086
26343
  "use strict";
@@ -26088,7 +26345,7 @@ var init_update = __esm({
26088
26345
  init_query_promise();
26089
26346
  init_table();
26090
26347
  init_utils2();
26091
- _a137 = entityKind;
26348
+ _a151 = entityKind;
26092
26349
  PgUpdateBuilder = class {
26093
26350
  constructor(table4, session, dialect4, withList) {
26094
26351
  this.table = table4;
@@ -26106,8 +26363,8 @@ var init_update = __esm({
26106
26363
  );
26107
26364
  }
26108
26365
  };
26109
- __publicField(PgUpdateBuilder, _a137, "PgUpdateBuilder");
26110
- PgUpdateBase = class extends (_b103 = QueryPromise, _a138 = entityKind, _b103) {
26366
+ __publicField(PgUpdateBuilder, _a151, "PgUpdateBuilder");
26367
+ PgUpdateBase = class extends (_b117 = QueryPromise, _a152 = entityKind, _b117) {
26111
26368
  constructor(table4, set, session, dialect4, withList) {
26112
26369
  super();
26113
26370
  __publicField(this, "config");
@@ -26178,7 +26435,7 @@ var init_update = __esm({
26178
26435
  return this;
26179
26436
  }
26180
26437
  };
26181
- __publicField(PgUpdateBase, _a138, "PgUpdate");
26438
+ __publicField(PgUpdateBase, _a152, "PgUpdate");
26182
26439
  }
26183
26440
  });
26184
26441
 
@@ -26197,17 +26454,17 @@ var init_query_builders = __esm({
26197
26454
  });
26198
26455
 
26199
26456
  // ../drizzle-orm/dist/pg-core/query-builders/count.js
26200
- var _a139, _b104, _c3, _PgCountBuilder, PgCountBuilder;
26457
+ var _a153, _b118, _c3, _PgCountBuilder, PgCountBuilder;
26201
26458
  var init_count = __esm({
26202
26459
  "../drizzle-orm/dist/pg-core/query-builders/count.js"() {
26203
26460
  "use strict";
26204
26461
  init_entity();
26205
26462
  init_sql();
26206
- _PgCountBuilder = class _PgCountBuilder extends (_c3 = SQL, _b104 = entityKind, _a139 = Symbol.toStringTag, _c3) {
26463
+ _PgCountBuilder = class _PgCountBuilder extends (_c3 = SQL, _b118 = entityKind, _a153 = Symbol.toStringTag, _c3) {
26207
26464
  constructor(params) {
26208
26465
  super(_PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
26209
26466
  __publicField(this, "sql");
26210
- __publicField(this, _a139, "PgCountBuilder");
26467
+ __publicField(this, _a153, "PgCountBuilder");
26211
26468
  __publicField(this, "session");
26212
26469
  this.params = params;
26213
26470
  this.mapWith(Number);
@@ -26245,13 +26502,13 @@ var init_count = __esm({
26245
26502
  );
26246
26503
  }
26247
26504
  };
26248
- __publicField(_PgCountBuilder, _b104, "PgCountBuilder");
26505
+ __publicField(_PgCountBuilder, _b118, "PgCountBuilder");
26249
26506
  PgCountBuilder = _PgCountBuilder;
26250
26507
  }
26251
26508
  });
26252
26509
 
26253
26510
  // ../drizzle-orm/dist/pg-core/query-builders/query.js
26254
- var _a140, RelationalQueryBuilder, _a141, _b105, PgRelationalQuery;
26511
+ var _a154, RelationalQueryBuilder, _a155, _b119, PgRelationalQuery;
26255
26512
  var init_query = __esm({
26256
26513
  "../drizzle-orm/dist/pg-core/query-builders/query.js"() {
26257
26514
  "use strict";
@@ -26259,7 +26516,7 @@ var init_query = __esm({
26259
26516
  init_query_promise();
26260
26517
  init_relations();
26261
26518
  init_tracing();
26262
- _a140 = entityKind;
26519
+ _a154 = entityKind;
26263
26520
  RelationalQueryBuilder = class {
26264
26521
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session) {
26265
26522
  this.fullSchema = fullSchema;
@@ -26297,8 +26554,8 @@ var init_query = __esm({
26297
26554
  );
26298
26555
  }
26299
26556
  };
26300
- __publicField(RelationalQueryBuilder, _a140, "PgRelationalQueryBuilder");
26301
- PgRelationalQuery = class extends (_b105 = QueryPromise, _a141 = entityKind, _b105) {
26557
+ __publicField(RelationalQueryBuilder, _a154, "PgRelationalQueryBuilder");
26558
+ PgRelationalQuery = class extends (_b119 = QueryPromise, _a155 = entityKind, _b119) {
26302
26559
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, config, mode) {
26303
26560
  super();
26304
26561
  this.fullSchema = fullSchema;
@@ -26364,18 +26621,18 @@ var init_query = __esm({
26364
26621
  });
26365
26622
  }
26366
26623
  };
26367
- __publicField(PgRelationalQuery, _a141, "PgRelationalQuery");
26624
+ __publicField(PgRelationalQuery, _a155, "PgRelationalQuery");
26368
26625
  }
26369
26626
  });
26370
26627
 
26371
26628
  // ../drizzle-orm/dist/pg-core/query-builders/raw.js
26372
- var _a142, _b106, PgRaw;
26629
+ var _a156, _b120, PgRaw;
26373
26630
  var init_raw = __esm({
26374
26631
  "../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
26375
26632
  "use strict";
26376
26633
  init_entity();
26377
26634
  init_query_promise();
26378
- PgRaw = class extends (_b106 = QueryPromise, _a142 = entityKind, _b106) {
26635
+ PgRaw = class extends (_b120 = QueryPromise, _a156 = entityKind, _b120) {
26379
26636
  constructor(execute, sql2, query, mapBatchResult) {
26380
26637
  super();
26381
26638
  this.execute = execute;
@@ -26401,12 +26658,12 @@ var init_raw = __esm({
26401
26658
  return false;
26402
26659
  }
26403
26660
  };
26404
- __publicField(PgRaw, _a142, "PgRaw");
26661
+ __publicField(PgRaw, _a156, "PgRaw");
26405
26662
  }
26406
26663
  });
26407
26664
 
26408
26665
  // ../drizzle-orm/dist/pg-core/db.js
26409
- var _a143, PgDatabase;
26666
+ var _a157, PgDatabase;
26410
26667
  var init_db = __esm({
26411
26668
  "../drizzle-orm/dist/pg-core/db.js"() {
26412
26669
  "use strict";
@@ -26419,7 +26676,7 @@ var init_db = __esm({
26419
26676
  init_query();
26420
26677
  init_raw();
26421
26678
  init_refresh_materialized_view();
26422
- _a143 = entityKind;
26679
+ _a157 = entityKind;
26423
26680
  PgDatabase = class {
26424
26681
  constructor(dialect4, session, schema4) {
26425
26682
  __publicField(this, "query");
@@ -26688,19 +26945,19 @@ var init_db = __esm({
26688
26945
  return this.session.transaction(transaction, config);
26689
26946
  }
26690
26947
  };
26691
- __publicField(PgDatabase, _a143, "PgDatabase");
26948
+ __publicField(PgDatabase, _a157, "PgDatabase");
26692
26949
  }
26693
26950
  });
26694
26951
 
26695
26952
  // ../drizzle-orm/dist/pg-core/indexes.js
26696
- var _a144, IndexBuilderOn, _a145, IndexBuilder, _a146, Index2;
26953
+ var _a158, IndexBuilderOn, _a159, IndexBuilder, _a160, Index2;
26697
26954
  var init_indexes = __esm({
26698
26955
  "../drizzle-orm/dist/pg-core/indexes.js"() {
26699
26956
  "use strict";
26700
26957
  init_sql();
26701
26958
  init_entity();
26702
26959
  init_columns();
26703
- _a144 = entityKind;
26960
+ _a158 = entityKind;
26704
26961
  IndexBuilderOn = class {
26705
26962
  constructor(unique, name2) {
26706
26963
  this.unique = unique;
@@ -26767,8 +27024,8 @@ var init_indexes = __esm({
26767
27024
  );
26768
27025
  }
26769
27026
  };
26770
- __publicField(IndexBuilderOn, _a144, "PgIndexBuilderOn");
26771
- _a145 = entityKind;
27027
+ __publicField(IndexBuilderOn, _a158, "PgIndexBuilderOn");
27028
+ _a159 = entityKind;
26772
27029
  IndexBuilder = class {
26773
27030
  constructor(columns, unique, only, name2, method = "btree") {
26774
27031
  /** @internal */
@@ -26798,15 +27055,15 @@ var init_indexes = __esm({
26798
27055
  return new Index2(this.config, table4);
26799
27056
  }
26800
27057
  };
26801
- __publicField(IndexBuilder, _a145, "PgIndexBuilder");
26802
- _a146 = entityKind;
27058
+ __publicField(IndexBuilder, _a159, "PgIndexBuilder");
27059
+ _a160 = entityKind;
26803
27060
  Index2 = class {
26804
27061
  constructor(config, table4) {
26805
27062
  __publicField(this, "config");
26806
27063
  this.config = { ...config, table: table4 };
26807
27064
  }
26808
27065
  };
26809
- __publicField(Index2, _a146, "PgIndex");
27066
+ __publicField(Index2, _a160, "PgIndex");
26810
27067
  }
26811
27068
  });
26812
27069
 
@@ -26817,12 +27074,12 @@ function pgSequenceWithSchema(name2, options, schema4) {
26817
27074
  function isPgSequence(obj) {
26818
27075
  return is(obj, PgSequence);
26819
27076
  }
26820
- var _a147, PgSequence;
27077
+ var _a161, PgSequence;
26821
27078
  var init_sequence = __esm({
26822
27079
  "../drizzle-orm/dist/pg-core/sequence.js"() {
26823
27080
  "use strict";
26824
27081
  init_entity();
26825
- _a147 = entityKind;
27082
+ _a161 = entityKind;
26826
27083
  PgSequence = class {
26827
27084
  constructor(seqName, seqOptions, schema4) {
26828
27085
  this.seqName = seqName;
@@ -26830,7 +27087,7 @@ var init_sequence = __esm({
26830
27087
  this.schema = schema4;
26831
27088
  }
26832
27089
  };
26833
- __publicField(PgSequence, _a147, "PgSequence");
27090
+ __publicField(PgSequence, _a161, "PgSequence");
26834
27091
  }
26835
27092
  });
26836
27093
 
@@ -26862,7 +27119,7 @@ function isPgView(obj) {
26862
27119
  function isPgMaterializedView(obj) {
26863
27120
  return is(obj, PgMaterializedView);
26864
27121
  }
26865
- 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;
27122
+ 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;
26866
27123
  var init_view = __esm({
26867
27124
  "../drizzle-orm/dist/pg-core/view.js"() {
26868
27125
  "use strict";
@@ -26873,7 +27130,7 @@ var init_view = __esm({
26873
27130
  init_table2();
26874
27131
  init_view_base();
26875
27132
  init_view_common2();
26876
- _a148 = entityKind;
27133
+ _a162 = entityKind;
26877
27134
  DefaultViewBuilderCore = class {
26878
27135
  constructor(name2, schema4) {
26879
27136
  __publicField(this, "config", {});
@@ -26885,8 +27142,8 @@ var init_view = __esm({
26885
27142
  return this;
26886
27143
  }
26887
27144
  };
26888
- __publicField(DefaultViewBuilderCore, _a148, "PgDefaultViewBuilderCore");
26889
- ViewBuilder = class extends (_b107 = DefaultViewBuilderCore, _a149 = entityKind, _b107) {
27145
+ __publicField(DefaultViewBuilderCore, _a162, "PgDefaultViewBuilderCore");
27146
+ ViewBuilder = class extends (_b121 = DefaultViewBuilderCore, _a163 = entityKind, _b121) {
26890
27147
  as(qb) {
26891
27148
  if (typeof qb === "function") {
26892
27149
  qb = qb(new QueryBuilder());
@@ -26912,8 +27169,8 @@ var init_view = __esm({
26912
27169
  );
26913
27170
  }
26914
27171
  };
26915
- __publicField(ViewBuilder, _a149, "PgViewBuilder");
26916
- ManualViewBuilder = class extends (_b108 = DefaultViewBuilderCore, _a150 = entityKind, _b108) {
27172
+ __publicField(ViewBuilder, _a163, "PgViewBuilder");
27173
+ ManualViewBuilder = class extends (_b122 = DefaultViewBuilderCore, _a164 = entityKind, _b122) {
26917
27174
  constructor(name2, columns, schema4) {
26918
27175
  super(name2, schema4);
26919
27176
  __publicField(this, "columns");
@@ -26958,8 +27215,8 @@ var init_view = __esm({
26958
27215
  );
26959
27216
  }
26960
27217
  };
26961
- __publicField(ManualViewBuilder, _a150, "PgManualViewBuilder");
26962
- _a151 = entityKind;
27218
+ __publicField(ManualViewBuilder, _a164, "PgManualViewBuilder");
27219
+ _a165 = entityKind;
26963
27220
  MaterializedViewBuilderCore = class {
26964
27221
  constructor(name2, schema4) {
26965
27222
  __publicField(this, "config", {});
@@ -26983,8 +27240,8 @@ var init_view = __esm({
26983
27240
  return this;
26984
27241
  }
26985
27242
  };
26986
- __publicField(MaterializedViewBuilderCore, _a151, "PgMaterializedViewBuilderCore");
26987
- MaterializedViewBuilder = class extends (_b109 = MaterializedViewBuilderCore, _a152 = entityKind, _b109) {
27243
+ __publicField(MaterializedViewBuilderCore, _a165, "PgMaterializedViewBuilderCore");
27244
+ MaterializedViewBuilder = class extends (_b123 = MaterializedViewBuilderCore, _a166 = entityKind, _b123) {
26988
27245
  as(qb) {
26989
27246
  if (typeof qb === "function") {
26990
27247
  qb = qb(new QueryBuilder());
@@ -27015,8 +27272,8 @@ var init_view = __esm({
27015
27272
  );
27016
27273
  }
27017
27274
  };
27018
- __publicField(MaterializedViewBuilder, _a152, "PgMaterializedViewBuilder");
27019
- ManualMaterializedViewBuilder = class extends (_b110 = MaterializedViewBuilderCore, _a153 = entityKind, _b110) {
27275
+ __publicField(MaterializedViewBuilder, _a166, "PgMaterializedViewBuilder");
27276
+ ManualMaterializedViewBuilder = class extends (_b124 = MaterializedViewBuilderCore, _a167 = entityKind, _b124) {
27020
27277
  constructor(name2, columns, schema4) {
27021
27278
  super(name2, schema4);
27022
27279
  __publicField(this, "columns");
@@ -27071,11 +27328,11 @@ var init_view = __esm({
27071
27328
  );
27072
27329
  }
27073
27330
  };
27074
- __publicField(ManualMaterializedViewBuilder, _a153, "PgManualMaterializedViewBuilder");
27075
- PgView2 = class extends (_c4 = PgViewBase, _b111 = entityKind, _a154 = PgViewConfig, _c4) {
27331
+ __publicField(ManualMaterializedViewBuilder, _a167, "PgManualMaterializedViewBuilder");
27332
+ PgView2 = class extends (_c4 = PgViewBase, _b125 = entityKind, _a168 = PgViewConfig, _c4) {
27076
27333
  constructor({ pgConfig, config }) {
27077
27334
  super(config);
27078
- __publicField(this, _a154);
27335
+ __publicField(this, _a168);
27079
27336
  if (pgConfig) {
27080
27337
  this[PgViewConfig] = {
27081
27338
  with: pgConfig.with
@@ -27083,12 +27340,12 @@ var init_view = __esm({
27083
27340
  }
27084
27341
  }
27085
27342
  };
27086
- __publicField(PgView2, _b111, "PgView");
27343
+ __publicField(PgView2, _b125, "PgView");
27087
27344
  PgMaterializedViewConfig = Symbol.for("drizzle:PgMaterializedViewConfig");
27088
- PgMaterializedView = class extends (_c5 = PgViewBase, _b112 = entityKind, _a155 = PgMaterializedViewConfig, _c5) {
27345
+ PgMaterializedView = class extends (_c5 = PgViewBase, _b126 = entityKind, _a169 = PgMaterializedViewConfig, _c5) {
27089
27346
  constructor({ pgConfig, config }) {
27090
27347
  super(config);
27091
- __publicField(this, _a155);
27348
+ __publicField(this, _a169);
27092
27349
  this[PgMaterializedViewConfig] = {
27093
27350
  with: pgConfig?.with,
27094
27351
  using: pgConfig?.using,
@@ -27097,12 +27354,12 @@ var init_view = __esm({
27097
27354
  };
27098
27355
  }
27099
27356
  };
27100
- __publicField(PgMaterializedView, _b112, "PgMaterializedView");
27357
+ __publicField(PgMaterializedView, _b126, "PgMaterializedView");
27101
27358
  }
27102
27359
  });
27103
27360
 
27104
27361
  // ../drizzle-orm/dist/pg-core/schema.js
27105
- var _a156, PgSchema5;
27362
+ var _a170, PgSchema5;
27106
27363
  var init_schema = __esm({
27107
27364
  "../drizzle-orm/dist/pg-core/schema.js"() {
27108
27365
  "use strict";
@@ -27112,7 +27369,7 @@ var init_schema = __esm({
27112
27369
  init_sequence();
27113
27370
  init_table2();
27114
27371
  init_view();
27115
- _a156 = entityKind;
27372
+ _a170 = entityKind;
27116
27373
  PgSchema5 = class {
27117
27374
  constructor(schemaName) {
27118
27375
  __publicField(this, "table", (name2, columns, extraConfig) => {
@@ -27139,12 +27396,12 @@ var init_schema = __esm({
27139
27396
  return true;
27140
27397
  }
27141
27398
  };
27142
- __publicField(PgSchema5, _a156, "PgSchema");
27399
+ __publicField(PgSchema5, _a170, "PgSchema");
27143
27400
  }
27144
27401
  });
27145
27402
 
27146
27403
  // ../drizzle-orm/dist/pg-core/session.js
27147
- var _a157, PgPreparedQuery, _a158, PgSession, _a159, _b113, PgTransaction;
27404
+ var _a171, PgPreparedQuery, _a172, PgSession, _a173, _b127, PgTransaction;
27148
27405
  var init_session = __esm({
27149
27406
  "../drizzle-orm/dist/pg-core/session.js"() {
27150
27407
  "use strict";
@@ -27153,7 +27410,7 @@ var init_session = __esm({
27153
27410
  init_sql2();
27154
27411
  init_tracing();
27155
27412
  init_db();
27156
- _a157 = entityKind;
27413
+ _a171 = entityKind;
27157
27414
  PgPreparedQuery = class {
27158
27415
  constructor(query) {
27159
27416
  /** @internal */
@@ -27167,8 +27424,8 @@ var init_session = __esm({
27167
27424
  return response;
27168
27425
  }
27169
27426
  };
27170
- __publicField(PgPreparedQuery, _a157, "PgPreparedQuery");
27171
- _a158 = entityKind;
27427
+ __publicField(PgPreparedQuery, _a171, "PgPreparedQuery");
27428
+ _a172 = entityKind;
27172
27429
  PgSession = class {
27173
27430
  constructor(dialect4) {
27174
27431
  this.dialect = dialect4;
@@ -27201,8 +27458,8 @@ var init_session = __esm({
27201
27458
  );
27202
27459
  }
27203
27460
  };
27204
- __publicField(PgSession, _a158, "PgSession");
27205
- PgTransaction = class extends (_b113 = PgDatabase, _a159 = entityKind, _b113) {
27461
+ __publicField(PgSession, _a172, "PgSession");
27462
+ PgTransaction = class extends (_b127 = PgDatabase, _a173 = entityKind, _b127) {
27206
27463
  constructor(dialect4, session, schema4, nestedIndex = 0) {
27207
27464
  super(dialect4, session, schema4);
27208
27465
  this.schema = schema4;
@@ -27229,7 +27486,7 @@ var init_session = __esm({
27229
27486
  return this.session.execute(sql`set transaction ${this.getTransactionConfigSQL(config)}`);
27230
27487
  }
27231
27488
  };
27232
- __publicField(PgTransaction, _a159, "PgTransaction");
27489
+ __publicField(PgTransaction, _a173, "PgTransaction");
27233
27490
  }
27234
27491
  });
27235
27492
 
@@ -28761,12 +29018,12 @@ var init_alias3 = __esm({
28761
29018
  });
28762
29019
 
28763
29020
  // ../drizzle-orm/dist/sqlite-core/checks.js
28764
- var _a160, CheckBuilder2, _a161, Check2;
29021
+ var _a174, CheckBuilder2, _a175, Check2;
28765
29022
  var init_checks2 = __esm({
28766
29023
  "../drizzle-orm/dist/sqlite-core/checks.js"() {
28767
29024
  "use strict";
28768
29025
  init_entity();
28769
- _a160 = entityKind;
29026
+ _a174 = entityKind;
28770
29027
  CheckBuilder2 = class {
28771
29028
  constructor(name2, value) {
28772
29029
  __publicField(this, "brand");
@@ -28777,8 +29034,8 @@ var init_checks2 = __esm({
28777
29034
  return new Check2(table4, this);
28778
29035
  }
28779
29036
  };
28780
- __publicField(CheckBuilder2, _a160, "SQLiteCheckBuilder");
28781
- _a161 = entityKind;
29037
+ __publicField(CheckBuilder2, _a174, "SQLiteCheckBuilder");
29038
+ _a175 = entityKind;
28782
29039
  Check2 = class {
28783
29040
  constructor(table4, builder) {
28784
29041
  __publicField(this, "name");
@@ -28788,18 +29045,18 @@ var init_checks2 = __esm({
28788
29045
  this.value = builder.value;
28789
29046
  }
28790
29047
  };
28791
- __publicField(Check2, _a161, "SQLiteCheck");
29048
+ __publicField(Check2, _a175, "SQLiteCheck");
28792
29049
  }
28793
29050
  });
28794
29051
 
28795
29052
  // ../drizzle-orm/dist/sqlite-core/foreign-keys.js
28796
- var _a162, ForeignKeyBuilder2, _a163, ForeignKey2;
29053
+ var _a176, ForeignKeyBuilder2, _a177, ForeignKey2;
28797
29054
  var init_foreign_keys2 = __esm({
28798
29055
  "../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
28799
29056
  "use strict";
28800
29057
  init_entity();
28801
29058
  init_table_utils();
28802
- _a162 = entityKind;
29059
+ _a176 = entityKind;
28803
29060
  ForeignKeyBuilder2 = class {
28804
29061
  constructor(config, actions) {
28805
29062
  /** @internal */
@@ -28830,8 +29087,8 @@ var init_foreign_keys2 = __esm({
28830
29087
  return new ForeignKey2(table4, this);
28831
29088
  }
28832
29089
  };
28833
- __publicField(ForeignKeyBuilder2, _a162, "SQLiteForeignKeyBuilder");
28834
- _a163 = entityKind;
29090
+ __publicField(ForeignKeyBuilder2, _a176, "SQLiteForeignKeyBuilder");
29091
+ _a177 = entityKind;
28835
29092
  ForeignKey2 = class {
28836
29093
  constructor(table4, builder) {
28837
29094
  __publicField(this, "reference");
@@ -28855,7 +29112,7 @@ var init_foreign_keys2 = __esm({
28855
29112
  return name2 ?? `${chunks.join("_")}_fk`;
28856
29113
  }
28857
29114
  };
28858
- __publicField(ForeignKey2, _a163, "SQLiteForeignKey");
29115
+ __publicField(ForeignKey2, _a177, "SQLiteForeignKey");
28859
29116
  }
28860
29117
  });
28861
29118
 
@@ -28863,13 +29120,13 @@ var init_foreign_keys2 = __esm({
28863
29120
  function uniqueKeyName2(table4, columns) {
28864
29121
  return `${table4[TableName]}_${columns.join("_")}_unique`;
28865
29122
  }
28866
- var _a164, UniqueConstraintBuilder2, _a165, UniqueOnConstraintBuilder2, _a166, UniqueConstraint2;
29123
+ var _a178, UniqueConstraintBuilder2, _a179, UniqueOnConstraintBuilder2, _a180, UniqueConstraint2;
28867
29124
  var init_unique_constraint2 = __esm({
28868
29125
  "../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
28869
29126
  "use strict";
28870
29127
  init_entity();
28871
29128
  init_table_utils();
28872
- _a164 = entityKind;
29129
+ _a178 = entityKind;
28873
29130
  UniqueConstraintBuilder2 = class {
28874
29131
  constructor(columns, name2) {
28875
29132
  /** @internal */
@@ -28882,8 +29139,8 @@ var init_unique_constraint2 = __esm({
28882
29139
  return new UniqueConstraint2(table4, this.columns, this.name);
28883
29140
  }
28884
29141
  };
28885
- __publicField(UniqueConstraintBuilder2, _a164, "SQLiteUniqueConstraintBuilder");
28886
- _a165 = entityKind;
29142
+ __publicField(UniqueConstraintBuilder2, _a178, "SQLiteUniqueConstraintBuilder");
29143
+ _a179 = entityKind;
28887
29144
  UniqueOnConstraintBuilder2 = class {
28888
29145
  constructor(name2) {
28889
29146
  /** @internal */
@@ -28894,8 +29151,8 @@ var init_unique_constraint2 = __esm({
28894
29151
  return new UniqueConstraintBuilder2(columns, this.name);
28895
29152
  }
28896
29153
  };
28897
- __publicField(UniqueOnConstraintBuilder2, _a165, "SQLiteUniqueOnConstraintBuilder");
28898
- _a166 = entityKind;
29154
+ __publicField(UniqueOnConstraintBuilder2, _a179, "SQLiteUniqueOnConstraintBuilder");
29155
+ _a180 = entityKind;
28899
29156
  UniqueConstraint2 = class {
28900
29157
  constructor(table4, columns, name2) {
28901
29158
  __publicField(this, "columns");
@@ -28908,12 +29165,12 @@ var init_unique_constraint2 = __esm({
28908
29165
  return this.name;
28909
29166
  }
28910
29167
  };
28911
- __publicField(UniqueConstraint2, _a166, "SQLiteUniqueConstraint");
29168
+ __publicField(UniqueConstraint2, _a180, "SQLiteUniqueConstraint");
28912
29169
  }
28913
29170
  });
28914
29171
 
28915
29172
  // ../drizzle-orm/dist/sqlite-core/columns/common.js
28916
- var _a167, _b114, SQLiteColumnBuilder, _a168, _b115, SQLiteColumn;
29173
+ var _a181, _b128, SQLiteColumnBuilder, _a182, _b129, SQLiteColumn;
28917
29174
  var init_common3 = __esm({
28918
29175
  "../drizzle-orm/dist/sqlite-core/columns/common.js"() {
28919
29176
  "use strict";
@@ -28922,7 +29179,7 @@ var init_common3 = __esm({
28922
29179
  init_entity();
28923
29180
  init_foreign_keys2();
28924
29181
  init_unique_constraint2();
28925
- SQLiteColumnBuilder = class extends (_b114 = ColumnBuilder, _a167 = entityKind, _b114) {
29182
+ SQLiteColumnBuilder = class extends (_b128 = ColumnBuilder, _a181 = entityKind, _b128) {
28926
29183
  constructor() {
28927
29184
  super(...arguments);
28928
29185
  __publicField(this, "foreignKeyConfigs", []);
@@ -28963,8 +29220,8 @@ var init_common3 = __esm({
28963
29220
  });
28964
29221
  }
28965
29222
  };
28966
- __publicField(SQLiteColumnBuilder, _a167, "SQLiteColumnBuilder");
28967
- SQLiteColumn = class extends (_b115 = Column2, _a168 = entityKind, _b115) {
29223
+ __publicField(SQLiteColumnBuilder, _a181, "SQLiteColumnBuilder");
29224
+ SQLiteColumn = class extends (_b129 = Column2, _a182 = entityKind, _b129) {
28968
29225
  constructor(table4, config) {
28969
29226
  if (!config.uniqueName) {
28970
29227
  config.uniqueName = uniqueKeyName2(table4, [config.name]);
@@ -28973,7 +29230,7 @@ var init_common3 = __esm({
28973
29230
  this.table = table4;
28974
29231
  }
28975
29232
  };
28976
- __publicField(SQLiteColumn, _a168, "SQLiteColumn");
29233
+ __publicField(SQLiteColumn, _a182, "SQLiteColumn");
28977
29234
  }
28978
29235
  });
28979
29236
 
@@ -28988,14 +29245,14 @@ function blob(a, b) {
28988
29245
  }
28989
29246
  return new SQLiteBlobBufferBuilder(name2);
28990
29247
  }
28991
- var _a169, _b116, SQLiteBigIntBuilder, _a170, _b117, SQLiteBigInt, _a171, _b118, SQLiteBlobJsonBuilder, _a172, _b119, SQLiteBlobJson, _a173, _b120, SQLiteBlobBufferBuilder, _a174, _b121, SQLiteBlobBuffer;
29248
+ var _a183, _b130, SQLiteBigIntBuilder, _a184, _b131, SQLiteBigInt, _a185, _b132, SQLiteBlobJsonBuilder, _a186, _b133, SQLiteBlobJson, _a187, _b134, SQLiteBlobBufferBuilder, _a188, _b135, SQLiteBlobBuffer;
28992
29249
  var init_blob = __esm({
28993
29250
  "../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
28994
29251
  "use strict";
28995
29252
  init_entity();
28996
29253
  init_utils2();
28997
29254
  init_common3();
28998
- SQLiteBigIntBuilder = class extends (_b116 = SQLiteColumnBuilder, _a169 = entityKind, _b116) {
29255
+ SQLiteBigIntBuilder = class extends (_b130 = SQLiteColumnBuilder, _a183 = entityKind, _b130) {
28999
29256
  constructor(name2) {
29000
29257
  super(name2, "bigint", "SQLiteBigInt");
29001
29258
  }
@@ -29004,8 +29261,8 @@ var init_blob = __esm({
29004
29261
  return new SQLiteBigInt(table4, this.config);
29005
29262
  }
29006
29263
  };
29007
- __publicField(SQLiteBigIntBuilder, _a169, "SQLiteBigIntBuilder");
29008
- SQLiteBigInt = class extends (_b117 = SQLiteColumn, _a170 = entityKind, _b117) {
29264
+ __publicField(SQLiteBigIntBuilder, _a183, "SQLiteBigIntBuilder");
29265
+ SQLiteBigInt = class extends (_b131 = SQLiteColumn, _a184 = entityKind, _b131) {
29009
29266
  getSQLType() {
29010
29267
  return "blob";
29011
29268
  }
@@ -29016,8 +29273,8 @@ var init_blob = __esm({
29016
29273
  return Buffer.from(value.toString());
29017
29274
  }
29018
29275
  };
29019
- __publicField(SQLiteBigInt, _a170, "SQLiteBigInt");
29020
- SQLiteBlobJsonBuilder = class extends (_b118 = SQLiteColumnBuilder, _a171 = entityKind, _b118) {
29276
+ __publicField(SQLiteBigInt, _a184, "SQLiteBigInt");
29277
+ SQLiteBlobJsonBuilder = class extends (_b132 = SQLiteColumnBuilder, _a185 = entityKind, _b132) {
29021
29278
  constructor(name2) {
29022
29279
  super(name2, "json", "SQLiteBlobJson");
29023
29280
  }
@@ -29029,8 +29286,8 @@ var init_blob = __esm({
29029
29286
  );
29030
29287
  }
29031
29288
  };
29032
- __publicField(SQLiteBlobJsonBuilder, _a171, "SQLiteBlobJsonBuilder");
29033
- SQLiteBlobJson = class extends (_b119 = SQLiteColumn, _a172 = entityKind, _b119) {
29289
+ __publicField(SQLiteBlobJsonBuilder, _a185, "SQLiteBlobJsonBuilder");
29290
+ SQLiteBlobJson = class extends (_b133 = SQLiteColumn, _a186 = entityKind, _b133) {
29034
29291
  getSQLType() {
29035
29292
  return "blob";
29036
29293
  }
@@ -29041,8 +29298,8 @@ var init_blob = __esm({
29041
29298
  return Buffer.from(JSON.stringify(value));
29042
29299
  }
29043
29300
  };
29044
- __publicField(SQLiteBlobJson, _a172, "SQLiteBlobJson");
29045
- SQLiteBlobBufferBuilder = class extends (_b120 = SQLiteColumnBuilder, _a173 = entityKind, _b120) {
29301
+ __publicField(SQLiteBlobJson, _a186, "SQLiteBlobJson");
29302
+ SQLiteBlobBufferBuilder = class extends (_b134 = SQLiteColumnBuilder, _a187 = entityKind, _b134) {
29046
29303
  constructor(name2) {
29047
29304
  super(name2, "buffer", "SQLiteBlobBuffer");
29048
29305
  }
@@ -29051,13 +29308,13 @@ var init_blob = __esm({
29051
29308
  return new SQLiteBlobBuffer(table4, this.config);
29052
29309
  }
29053
29310
  };
29054
- __publicField(SQLiteBlobBufferBuilder, _a173, "SQLiteBlobBufferBuilder");
29055
- SQLiteBlobBuffer = class extends (_b121 = SQLiteColumn, _a174 = entityKind, _b121) {
29311
+ __publicField(SQLiteBlobBufferBuilder, _a187, "SQLiteBlobBufferBuilder");
29312
+ SQLiteBlobBuffer = class extends (_b135 = SQLiteColumn, _a188 = entityKind, _b135) {
29056
29313
  getSQLType() {
29057
29314
  return "blob";
29058
29315
  }
29059
29316
  };
29060
- __publicField(SQLiteBlobBuffer, _a174, "SQLiteBlobBuffer");
29317
+ __publicField(SQLiteBlobBuffer, _a188, "SQLiteBlobBuffer");
29061
29318
  }
29062
29319
  });
29063
29320
 
@@ -29072,14 +29329,14 @@ function customType2(customTypeParams) {
29072
29329
  );
29073
29330
  };
29074
29331
  }
29075
- var _a175, _b122, SQLiteCustomColumnBuilder, _a176, _b123, SQLiteCustomColumn;
29332
+ var _a189, _b136, SQLiteCustomColumnBuilder, _a190, _b137, SQLiteCustomColumn;
29076
29333
  var init_custom2 = __esm({
29077
29334
  "../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
29078
29335
  "use strict";
29079
29336
  init_entity();
29080
29337
  init_utils2();
29081
29338
  init_common3();
29082
- SQLiteCustomColumnBuilder = class extends (_b122 = SQLiteColumnBuilder, _a175 = entityKind, _b122) {
29339
+ SQLiteCustomColumnBuilder = class extends (_b136 = SQLiteColumnBuilder, _a189 = entityKind, _b136) {
29083
29340
  constructor(name2, fieldConfig, customTypeParams) {
29084
29341
  super(name2, "custom", "SQLiteCustomColumn");
29085
29342
  this.config.fieldConfig = fieldConfig;
@@ -29093,8 +29350,8 @@ var init_custom2 = __esm({
29093
29350
  );
29094
29351
  }
29095
29352
  };
29096
- __publicField(SQLiteCustomColumnBuilder, _a175, "SQLiteCustomColumnBuilder");
29097
- SQLiteCustomColumn = class extends (_b123 = SQLiteColumn, _a176 = entityKind, _b123) {
29353
+ __publicField(SQLiteCustomColumnBuilder, _a189, "SQLiteCustomColumnBuilder");
29354
+ SQLiteCustomColumn = class extends (_b137 = SQLiteColumn, _a190 = entityKind, _b137) {
29098
29355
  constructor(table4, config) {
29099
29356
  super(table4, config);
29100
29357
  __publicField(this, "sqlName");
@@ -29114,7 +29371,7 @@ var init_custom2 = __esm({
29114
29371
  return typeof this.mapTo === "function" ? this.mapTo(value) : value;
29115
29372
  }
29116
29373
  };
29117
- __publicField(SQLiteCustomColumn, _a176, "SQLiteCustomColumn");
29374
+ __publicField(SQLiteCustomColumn, _a190, "SQLiteCustomColumn");
29118
29375
  }
29119
29376
  });
29120
29377
 
@@ -29129,7 +29386,7 @@ function integer2(a, b) {
29129
29386
  }
29130
29387
  return new SQLiteIntegerBuilder(name2);
29131
29388
  }
29132
- 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;
29389
+ 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;
29133
29390
  var init_integer2 = __esm({
29134
29391
  "../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
29135
29392
  "use strict";
@@ -29137,7 +29394,7 @@ var init_integer2 = __esm({
29137
29394
  init_sql();
29138
29395
  init_utils2();
29139
29396
  init_common3();
29140
- SQLiteBaseIntegerBuilder = class extends (_b124 = SQLiteColumnBuilder, _a177 = entityKind, _b124) {
29397
+ SQLiteBaseIntegerBuilder = class extends (_b138 = SQLiteColumnBuilder, _a191 = entityKind, _b138) {
29141
29398
  constructor(name2, dataType, columnType) {
29142
29399
  super(name2, dataType, columnType);
29143
29400
  this.config.autoIncrement = false;
@@ -29150,8 +29407,8 @@ var init_integer2 = __esm({
29150
29407
  return super.primaryKey();
29151
29408
  }
29152
29409
  };
29153
- __publicField(SQLiteBaseIntegerBuilder, _a177, "SQLiteBaseIntegerBuilder");
29154
- SQLiteBaseInteger = class extends (_b125 = SQLiteColumn, _a178 = entityKind, _b125) {
29410
+ __publicField(SQLiteBaseIntegerBuilder, _a191, "SQLiteBaseIntegerBuilder");
29411
+ SQLiteBaseInteger = class extends (_b139 = SQLiteColumn, _a192 = entityKind, _b139) {
29155
29412
  constructor() {
29156
29413
  super(...arguments);
29157
29414
  __publicField(this, "autoIncrement", this.config.autoIncrement);
@@ -29160,8 +29417,8 @@ var init_integer2 = __esm({
29160
29417
  return "integer";
29161
29418
  }
29162
29419
  };
29163
- __publicField(SQLiteBaseInteger, _a178, "SQLiteBaseInteger");
29164
- SQLiteIntegerBuilder = class extends (_b126 = SQLiteBaseIntegerBuilder, _a179 = entityKind, _b126) {
29420
+ __publicField(SQLiteBaseInteger, _a192, "SQLiteBaseInteger");
29421
+ SQLiteIntegerBuilder = class extends (_b140 = SQLiteBaseIntegerBuilder, _a193 = entityKind, _b140) {
29165
29422
  constructor(name2) {
29166
29423
  super(name2, "number", "SQLiteInteger");
29167
29424
  }
@@ -29172,11 +29429,11 @@ var init_integer2 = __esm({
29172
29429
  );
29173
29430
  }
29174
29431
  };
29175
- __publicField(SQLiteIntegerBuilder, _a179, "SQLiteIntegerBuilder");
29176
- SQLiteInteger = class extends (_b127 = SQLiteBaseInteger, _a180 = entityKind, _b127) {
29432
+ __publicField(SQLiteIntegerBuilder, _a193, "SQLiteIntegerBuilder");
29433
+ SQLiteInteger = class extends (_b141 = SQLiteBaseInteger, _a194 = entityKind, _b141) {
29177
29434
  };
29178
- __publicField(SQLiteInteger, _a180, "SQLiteInteger");
29179
- SQLiteTimestampBuilder = class extends (_b128 = SQLiteBaseIntegerBuilder, _a181 = entityKind, _b128) {
29435
+ __publicField(SQLiteInteger, _a194, "SQLiteInteger");
29436
+ SQLiteTimestampBuilder = class extends (_b142 = SQLiteBaseIntegerBuilder, _a195 = entityKind, _b142) {
29180
29437
  constructor(name2, mode) {
29181
29438
  super(name2, "date", "SQLiteTimestamp");
29182
29439
  this.config.mode = mode;
@@ -29196,8 +29453,8 @@ var init_integer2 = __esm({
29196
29453
  );
29197
29454
  }
29198
29455
  };
29199
- __publicField(SQLiteTimestampBuilder, _a181, "SQLiteTimestampBuilder");
29200
- SQLiteTimestamp = class extends (_b129 = SQLiteBaseInteger, _a182 = entityKind, _b129) {
29456
+ __publicField(SQLiteTimestampBuilder, _a195, "SQLiteTimestampBuilder");
29457
+ SQLiteTimestamp = class extends (_b143 = SQLiteBaseInteger, _a196 = entityKind, _b143) {
29201
29458
  constructor() {
29202
29459
  super(...arguments);
29203
29460
  __publicField(this, "mode", this.config.mode);
@@ -29216,8 +29473,8 @@ var init_integer2 = __esm({
29216
29473
  return unix;
29217
29474
  }
29218
29475
  };
29219
- __publicField(SQLiteTimestamp, _a182, "SQLiteTimestamp");
29220
- SQLiteBooleanBuilder = class extends (_b130 = SQLiteBaseIntegerBuilder, _a183 = entityKind, _b130) {
29476
+ __publicField(SQLiteTimestamp, _a196, "SQLiteTimestamp");
29477
+ SQLiteBooleanBuilder = class extends (_b144 = SQLiteBaseIntegerBuilder, _a197 = entityKind, _b144) {
29221
29478
  constructor(name2, mode) {
29222
29479
  super(name2, "boolean", "SQLiteBoolean");
29223
29480
  this.config.mode = mode;
@@ -29229,8 +29486,8 @@ var init_integer2 = __esm({
29229
29486
  );
29230
29487
  }
29231
29488
  };
29232
- __publicField(SQLiteBooleanBuilder, _a183, "SQLiteBooleanBuilder");
29233
- SQLiteBoolean = class extends (_b131 = SQLiteBaseInteger, _a184 = entityKind, _b131) {
29489
+ __publicField(SQLiteBooleanBuilder, _a197, "SQLiteBooleanBuilder");
29490
+ SQLiteBoolean = class extends (_b145 = SQLiteBaseInteger, _a198 = entityKind, _b145) {
29234
29491
  constructor() {
29235
29492
  super(...arguments);
29236
29493
  __publicField(this, "mode", this.config.mode);
@@ -29242,7 +29499,7 @@ var init_integer2 = __esm({
29242
29499
  return value ? 1 : 0;
29243
29500
  }
29244
29501
  };
29245
- __publicField(SQLiteBoolean, _a184, "SQLiteBoolean");
29502
+ __publicField(SQLiteBoolean, _a198, "SQLiteBoolean");
29246
29503
  }
29247
29504
  });
29248
29505
 
@@ -29250,13 +29507,13 @@ var init_integer2 = __esm({
29250
29507
  function numeric2(name2) {
29251
29508
  return new SQLiteNumericBuilder(name2 ?? "");
29252
29509
  }
29253
- var _a185, _b132, SQLiteNumericBuilder, _a186, _b133, SQLiteNumeric;
29510
+ var _a199, _b146, SQLiteNumericBuilder, _a200, _b147, SQLiteNumeric;
29254
29511
  var init_numeric2 = __esm({
29255
29512
  "../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
29256
29513
  "use strict";
29257
29514
  init_entity();
29258
29515
  init_common3();
29259
- SQLiteNumericBuilder = class extends (_b132 = SQLiteColumnBuilder, _a185 = entityKind, _b132) {
29516
+ SQLiteNumericBuilder = class extends (_b146 = SQLiteColumnBuilder, _a199 = entityKind, _b146) {
29260
29517
  constructor(name2) {
29261
29518
  super(name2, "string", "SQLiteNumeric");
29262
29519
  }
@@ -29268,13 +29525,13 @@ var init_numeric2 = __esm({
29268
29525
  );
29269
29526
  }
29270
29527
  };
29271
- __publicField(SQLiteNumericBuilder, _a185, "SQLiteNumericBuilder");
29272
- SQLiteNumeric = class extends (_b133 = SQLiteColumn, _a186 = entityKind, _b133) {
29528
+ __publicField(SQLiteNumericBuilder, _a199, "SQLiteNumericBuilder");
29529
+ SQLiteNumeric = class extends (_b147 = SQLiteColumn, _a200 = entityKind, _b147) {
29273
29530
  getSQLType() {
29274
29531
  return "numeric";
29275
29532
  }
29276
29533
  };
29277
- __publicField(SQLiteNumeric, _a186, "SQLiteNumeric");
29534
+ __publicField(SQLiteNumeric, _a200, "SQLiteNumeric");
29278
29535
  }
29279
29536
  });
29280
29537
 
@@ -29282,13 +29539,13 @@ var init_numeric2 = __esm({
29282
29539
  function real2(name2) {
29283
29540
  return new SQLiteRealBuilder(name2 ?? "");
29284
29541
  }
29285
- var _a187, _b134, SQLiteRealBuilder, _a188, _b135, SQLiteReal;
29542
+ var _a201, _b148, SQLiteRealBuilder, _a202, _b149, SQLiteReal;
29286
29543
  var init_real2 = __esm({
29287
29544
  "../drizzle-orm/dist/sqlite-core/columns/real.js"() {
29288
29545
  "use strict";
29289
29546
  init_entity();
29290
29547
  init_common3();
29291
- SQLiteRealBuilder = class extends (_b134 = SQLiteColumnBuilder, _a187 = entityKind, _b134) {
29548
+ SQLiteRealBuilder = class extends (_b148 = SQLiteColumnBuilder, _a201 = entityKind, _b148) {
29292
29549
  constructor(name2) {
29293
29550
  super(name2, "number", "SQLiteReal");
29294
29551
  }
@@ -29297,13 +29554,13 @@ var init_real2 = __esm({
29297
29554
  return new SQLiteReal(table4, this.config);
29298
29555
  }
29299
29556
  };
29300
- __publicField(SQLiteRealBuilder, _a187, "SQLiteRealBuilder");
29301
- SQLiteReal = class extends (_b135 = SQLiteColumn, _a188 = entityKind, _b135) {
29557
+ __publicField(SQLiteRealBuilder, _a201, "SQLiteRealBuilder");
29558
+ SQLiteReal = class extends (_b149 = SQLiteColumn, _a202 = entityKind, _b149) {
29302
29559
  getSQLType() {
29303
29560
  return "real";
29304
29561
  }
29305
29562
  };
29306
- __publicField(SQLiteReal, _a188, "SQLiteReal");
29563
+ __publicField(SQLiteReal, _a202, "SQLiteReal");
29307
29564
  }
29308
29565
  });
29309
29566
 
@@ -29315,14 +29572,14 @@ function text2(a, b = {}) {
29315
29572
  }
29316
29573
  return new SQLiteTextBuilder(name2, config);
29317
29574
  }
29318
- var _a189, _b136, SQLiteTextBuilder, _a190, _b137, SQLiteText, _a191, _b138, SQLiteTextJsonBuilder, _a192, _b139, SQLiteTextJson;
29575
+ var _a203, _b150, SQLiteTextBuilder, _a204, _b151, SQLiteText, _a205, _b152, SQLiteTextJsonBuilder, _a206, _b153, SQLiteTextJson;
29319
29576
  var init_text2 = __esm({
29320
29577
  "../drizzle-orm/dist/sqlite-core/columns/text.js"() {
29321
29578
  "use strict";
29322
29579
  init_entity();
29323
29580
  init_utils2();
29324
29581
  init_common3();
29325
- SQLiteTextBuilder = class extends (_b136 = SQLiteColumnBuilder, _a189 = entityKind, _b136) {
29582
+ SQLiteTextBuilder = class extends (_b150 = SQLiteColumnBuilder, _a203 = entityKind, _b150) {
29326
29583
  constructor(name2, config) {
29327
29584
  super(name2, "string", "SQLiteText");
29328
29585
  this.config.enumValues = config.enum;
@@ -29333,8 +29590,8 @@ var init_text2 = __esm({
29333
29590
  return new SQLiteText(table4, this.config);
29334
29591
  }
29335
29592
  };
29336
- __publicField(SQLiteTextBuilder, _a189, "SQLiteTextBuilder");
29337
- SQLiteText = class extends (_b137 = SQLiteColumn, _a190 = entityKind, _b137) {
29593
+ __publicField(SQLiteTextBuilder, _a203, "SQLiteTextBuilder");
29594
+ SQLiteText = class extends (_b151 = SQLiteColumn, _a204 = entityKind, _b151) {
29338
29595
  constructor(table4, config) {
29339
29596
  super(table4, config);
29340
29597
  __publicField(this, "enumValues", this.config.enumValues);
@@ -29344,8 +29601,8 @@ var init_text2 = __esm({
29344
29601
  return `text${this.config.length ? `(${this.config.length})` : ""}`;
29345
29602
  }
29346
29603
  };
29347
- __publicField(SQLiteText, _a190, "SQLiteText");
29348
- SQLiteTextJsonBuilder = class extends (_b138 = SQLiteColumnBuilder, _a191 = entityKind, _b138) {
29604
+ __publicField(SQLiteText, _a204, "SQLiteText");
29605
+ SQLiteTextJsonBuilder = class extends (_b152 = SQLiteColumnBuilder, _a205 = entityKind, _b152) {
29349
29606
  constructor(name2) {
29350
29607
  super(name2, "json", "SQLiteTextJson");
29351
29608
  }
@@ -29357,8 +29614,8 @@ var init_text2 = __esm({
29357
29614
  );
29358
29615
  }
29359
29616
  };
29360
- __publicField(SQLiteTextJsonBuilder, _a191, "SQLiteTextJsonBuilder");
29361
- SQLiteTextJson = class extends (_b139 = SQLiteColumn, _a192 = entityKind, _b139) {
29617
+ __publicField(SQLiteTextJsonBuilder, _a205, "SQLiteTextJsonBuilder");
29618
+ SQLiteTextJson = class extends (_b153 = SQLiteColumn, _a206 = entityKind, _b153) {
29362
29619
  getSQLType() {
29363
29620
  return "text";
29364
29621
  }
@@ -29369,7 +29626,7 @@ var init_text2 = __esm({
29369
29626
  return JSON.stringify(value);
29370
29627
  }
29371
29628
  };
29372
- __publicField(SQLiteTextJson, _a192, "SQLiteTextJson");
29629
+ __publicField(SQLiteTextJson, _a206, "SQLiteTextJson");
29373
29630
  }
29374
29631
  });
29375
29632
 
@@ -29431,7 +29688,7 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
29431
29688
  }
29432
29689
  return table4;
29433
29690
  }
29434
- var InlineForeignKeys2, _a193, _b140, _c6, _d3, _e2, SQLiteTable, sqliteTable;
29691
+ var InlineForeignKeys2, _a207, _b154, _c6, _d3, _e2, SQLiteTable, sqliteTable;
29435
29692
  var init_table3 = __esm({
29436
29693
  "../drizzle-orm/dist/sqlite-core/table.js"() {
29437
29694
  "use strict";
@@ -29439,15 +29696,15 @@ var init_table3 = __esm({
29439
29696
  init_table();
29440
29697
  init_all2();
29441
29698
  InlineForeignKeys2 = Symbol.for("drizzle:SQLiteInlineForeignKeys");
29442
- SQLiteTable = class extends (_e2 = Table, _d3 = entityKind, _c6 = Table.Symbol.Columns, _b140 = InlineForeignKeys2, _a193 = Table.Symbol.ExtraConfigBuilder, _e2) {
29699
+ SQLiteTable = class extends (_e2 = Table, _d3 = entityKind, _c6 = Table.Symbol.Columns, _b154 = InlineForeignKeys2, _a207 = Table.Symbol.ExtraConfigBuilder, _e2) {
29443
29700
  constructor() {
29444
29701
  super(...arguments);
29445
29702
  /** @internal */
29446
29703
  __publicField(this, _c6);
29447
29704
  /** @internal */
29448
- __publicField(this, _b140, []);
29705
+ __publicField(this, _b154, []);
29449
29706
  /** @internal */
29450
- __publicField(this, _a193);
29707
+ __publicField(this, _a207);
29451
29708
  }
29452
29709
  };
29453
29710
  __publicField(SQLiteTable, _d3, "SQLiteTable");
@@ -29462,7 +29719,7 @@ var init_table3 = __esm({
29462
29719
  });
29463
29720
 
29464
29721
  // ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
29465
- var _a194, _b141, SQLiteDeleteBase;
29722
+ var _a208, _b155, SQLiteDeleteBase;
29466
29723
  var init_delete2 = __esm({
29467
29724
  "../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
29468
29725
  "use strict";
@@ -29472,7 +29729,7 @@ var init_delete2 = __esm({
29472
29729
  init_table3();
29473
29730
  init_table();
29474
29731
  init_utils2();
29475
- SQLiteDeleteBase = class extends (_b141 = QueryPromise, _a194 = entityKind, _b141) {
29732
+ SQLiteDeleteBase = class extends (_b155 = QueryPromise, _a208 = entityKind, _b155) {
29476
29733
  constructor(table4, session, dialect4, withList) {
29477
29734
  super();
29478
29735
  /** @internal */
@@ -29578,12 +29835,12 @@ var init_delete2 = __esm({
29578
29835
  return this;
29579
29836
  }
29580
29837
  };
29581
- __publicField(SQLiteDeleteBase, _a194, "SQLiteDelete");
29838
+ __publicField(SQLiteDeleteBase, _a208, "SQLiteDelete");
29582
29839
  }
29583
29840
  });
29584
29841
 
29585
29842
  // ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
29586
- var _a195, SQLiteInsertBuilder, _a196, _b142, SQLiteInsertBase;
29843
+ var _a209, SQLiteInsertBuilder, _a210, _b156, SQLiteInsertBase;
29587
29844
  var init_insert2 = __esm({
29588
29845
  "../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
29589
29846
  "use strict";
@@ -29593,7 +29850,7 @@ var init_insert2 = __esm({
29593
29850
  init_table3();
29594
29851
  init_table();
29595
29852
  init_utils2();
29596
- _a195 = entityKind;
29853
+ _a209 = entityKind;
29597
29854
  SQLiteInsertBuilder = class {
29598
29855
  constructor(table4, session, dialect4, withList) {
29599
29856
  this.table = table4;
@@ -29618,8 +29875,8 @@ var init_insert2 = __esm({
29618
29875
  return new SQLiteInsertBase(this.table, mappedValues, this.session, this.dialect, this.withList);
29619
29876
  }
29620
29877
  };
29621
- __publicField(SQLiteInsertBuilder, _a195, "SQLiteInsertBuilder");
29622
- SQLiteInsertBase = class extends (_b142 = QueryPromise, _a196 = entityKind, _b142) {
29878
+ __publicField(SQLiteInsertBuilder, _a209, "SQLiteInsertBuilder");
29879
+ SQLiteInsertBase = class extends (_b156 = QueryPromise, _a210 = entityKind, _b156) {
29623
29880
  constructor(table4, values, session, dialect4, withList) {
29624
29881
  super();
29625
29882
  /** @internal */
@@ -29746,25 +30003,25 @@ var init_insert2 = __esm({
29746
30003
  return this;
29747
30004
  }
29748
30005
  };
29749
- __publicField(SQLiteInsertBase, _a196, "SQLiteInsert");
30006
+ __publicField(SQLiteInsertBase, _a210, "SQLiteInsert");
29750
30007
  }
29751
30008
  });
29752
30009
 
29753
30010
  // ../drizzle-orm/dist/sqlite-core/view-base.js
29754
- var _a197, _b143, SQLiteViewBase;
30011
+ var _a211, _b157, SQLiteViewBase;
29755
30012
  var init_view_base2 = __esm({
29756
30013
  "../drizzle-orm/dist/sqlite-core/view-base.js"() {
29757
30014
  "use strict";
29758
30015
  init_entity();
29759
30016
  init_sql();
29760
- SQLiteViewBase = class extends (_b143 = View3, _a197 = entityKind, _b143) {
30017
+ SQLiteViewBase = class extends (_b157 = View3, _a211 = entityKind, _b157) {
29761
30018
  };
29762
- __publicField(SQLiteViewBase, _a197, "SQLiteViewBase");
30019
+ __publicField(SQLiteViewBase, _a211, "SQLiteViewBase");
29763
30020
  }
29764
30021
  });
29765
30022
 
29766
30023
  // ../drizzle-orm/dist/sqlite-core/dialect.js
29767
- var _a198, SQLiteDialect, _a199, _b144, SQLiteSyncDialect, _a200, _b145, SQLiteAsyncDialect;
30024
+ var _a212, SQLiteDialect, _a213, _b158, SQLiteSyncDialect, _a214, _b159, SQLiteAsyncDialect;
29768
30025
  var init_dialect2 = __esm({
29769
30026
  "../drizzle-orm/dist/sqlite-core/dialect.js"() {
29770
30027
  "use strict";
@@ -29783,7 +30040,7 @@ var init_dialect2 = __esm({
29783
30040
  init_utils2();
29784
30041
  init_view_common();
29785
30042
  init_view_base2();
29786
- _a198 = entityKind;
30043
+ _a212 = entityKind;
29787
30044
  SQLiteDialect = class {
29788
30045
  constructor(config) {
29789
30046
  /** @internal */
@@ -30305,8 +30562,8 @@ var init_dialect2 = __esm({
30305
30562
  };
30306
30563
  }
30307
30564
  };
30308
- __publicField(SQLiteDialect, _a198, "SQLiteDialect");
30309
- SQLiteSyncDialect = class extends (_b144 = SQLiteDialect, _a199 = entityKind, _b144) {
30565
+ __publicField(SQLiteDialect, _a212, "SQLiteDialect");
30566
+ SQLiteSyncDialect = class extends (_b158 = SQLiteDialect, _a213 = entityKind, _b158) {
30310
30567
  migrate(migrations, session, config) {
30311
30568
  const migrationsTable = config === void 0 ? "__drizzle_migrations" : typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
30312
30569
  const migrationTableCreate = sql`
@@ -30340,8 +30597,8 @@ var init_dialect2 = __esm({
30340
30597
  }
30341
30598
  }
30342
30599
  };
30343
- __publicField(SQLiteSyncDialect, _a199, "SQLiteSyncDialect");
30344
- SQLiteAsyncDialect = class extends (_b145 = SQLiteDialect, _a200 = entityKind, _b145) {
30600
+ __publicField(SQLiteSyncDialect, _a213, "SQLiteSyncDialect");
30601
+ SQLiteAsyncDialect = class extends (_b159 = SQLiteDialect, _a214 = entityKind, _b159) {
30345
30602
  async migrate(migrations, session, config) {
30346
30603
  const migrationsTable = config === void 0 ? "__drizzle_migrations" : typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
30347
30604
  const migrationTableCreate = sql`
@@ -30370,7 +30627,7 @@ var init_dialect2 = __esm({
30370
30627
  });
30371
30628
  }
30372
30629
  };
30373
- __publicField(SQLiteAsyncDialect, _a200, "SQLiteAsyncDialect");
30630
+ __publicField(SQLiteAsyncDialect, _a214, "SQLiteAsyncDialect");
30374
30631
  }
30375
30632
  });
30376
30633
 
@@ -30392,7 +30649,7 @@ function createSetOperator2(type, isAll) {
30392
30649
  return leftSelect.addSetOperators(setOperators);
30393
30650
  };
30394
30651
  }
30395
- var _a201, SQLiteSelectBuilder, _a202, _b146, SQLiteSelectQueryBuilderBase, _a203, _b147, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
30652
+ var _a215, SQLiteSelectBuilder, _a216, _b160, SQLiteSelectQueryBuilderBase, _a217, _b161, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
30396
30653
  var init_select3 = __esm({
30397
30654
  "../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
30398
30655
  "use strict";
@@ -30406,7 +30663,7 @@ var init_select3 = __esm({
30406
30663
  init_utils2();
30407
30664
  init_view_common();
30408
30665
  init_view_base2();
30409
- _a201 = entityKind;
30666
+ _a215 = entityKind;
30410
30667
  SQLiteSelectBuilder = class {
30411
30668
  constructor(config) {
30412
30669
  __publicField(this, "fields");
@@ -30447,8 +30704,8 @@ var init_select3 = __esm({
30447
30704
  });
30448
30705
  }
30449
30706
  };
30450
- __publicField(SQLiteSelectBuilder, _a201, "SQLiteSelectBuilder");
30451
- SQLiteSelectQueryBuilderBase = class extends (_b146 = TypedQueryBuilder, _a202 = entityKind, _b146) {
30707
+ __publicField(SQLiteSelectBuilder, _a215, "SQLiteSelectBuilder");
30708
+ SQLiteSelectQueryBuilderBase = class extends (_b160 = TypedQueryBuilder, _a216 = entityKind, _b160) {
30452
30709
  constructor({ table: table4, fields, isPartialSelect, session, dialect: dialect4, withList, distinct }) {
30453
30710
  super();
30454
30711
  __publicField(this, "_");
@@ -30953,8 +31210,8 @@ var init_select3 = __esm({
30953
31210
  return this;
30954
31211
  }
30955
31212
  };
30956
- __publicField(SQLiteSelectQueryBuilderBase, _a202, "SQLiteSelectQueryBuilder");
30957
- SQLiteSelectBase = class extends (_b147 = SQLiteSelectQueryBuilderBase, _a203 = entityKind, _b147) {
31213
+ __publicField(SQLiteSelectQueryBuilderBase, _a216, "SQLiteSelectQueryBuilder");
31214
+ SQLiteSelectBase = class extends (_b161 = SQLiteSelectQueryBuilderBase, _a217 = entityKind, _b161) {
30958
31215
  constructor() {
30959
31216
  super(...arguments);
30960
31217
  __publicField(this, "run", (placeholderValues) => {
@@ -30992,7 +31249,7 @@ var init_select3 = __esm({
30992
31249
  return this.all();
30993
31250
  }
30994
31251
  };
30995
- __publicField(SQLiteSelectBase, _a203, "SQLiteSelect");
31252
+ __publicField(SQLiteSelectBase, _a217, "SQLiteSelect");
30996
31253
  applyMixins(SQLiteSelectBase, [QueryPromise]);
30997
31254
  getSQLiteSetOperators = () => ({
30998
31255
  union: union2,
@@ -31008,7 +31265,7 @@ var init_select3 = __esm({
31008
31265
  });
31009
31266
 
31010
31267
  // ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
31011
- var _a204, QueryBuilder2;
31268
+ var _a218, QueryBuilder2;
31012
31269
  var init_query_builder3 = __esm({
31013
31270
  "../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
31014
31271
  "use strict";
@@ -31017,7 +31274,7 @@ var init_query_builder3 = __esm({
31017
31274
  init_dialect2();
31018
31275
  init_subquery();
31019
31276
  init_select3();
31020
- _a204 = entityKind;
31277
+ _a218 = entityKind;
31021
31278
  QueryBuilder2 = class {
31022
31279
  constructor(dialect4) {
31023
31280
  __publicField(this, "dialect");
@@ -31079,7 +31336,7 @@ var init_query_builder3 = __esm({
31079
31336
  return this.dialect;
31080
31337
  }
31081
31338
  };
31082
- __publicField(QueryBuilder2, _a204, "SQLiteQueryBuilder");
31339
+ __publicField(QueryBuilder2, _a218, "SQLiteQueryBuilder");
31083
31340
  }
31084
31341
  });
31085
31342
 
@@ -31091,7 +31348,7 @@ var init_select_types2 = __esm({
31091
31348
  });
31092
31349
 
31093
31350
  // ../drizzle-orm/dist/sqlite-core/query-builders/update.js
31094
- var _a205, SQLiteUpdateBuilder, _a206, _b148, SQLiteUpdateBase;
31351
+ var _a219, SQLiteUpdateBuilder, _a220, _b162, SQLiteUpdateBase;
31095
31352
  var init_update2 = __esm({
31096
31353
  "../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
31097
31354
  "use strict";
@@ -31101,7 +31358,7 @@ var init_update2 = __esm({
31101
31358
  init_table3();
31102
31359
  init_table();
31103
31360
  init_utils2();
31104
- _a205 = entityKind;
31361
+ _a219 = entityKind;
31105
31362
  SQLiteUpdateBuilder = class {
31106
31363
  constructor(table4, session, dialect4, withList) {
31107
31364
  this.table = table4;
@@ -31119,8 +31376,8 @@ var init_update2 = __esm({
31119
31376
  );
31120
31377
  }
31121
31378
  };
31122
- __publicField(SQLiteUpdateBuilder, _a205, "SQLiteUpdateBuilder");
31123
- SQLiteUpdateBase = class extends (_b148 = QueryPromise, _a206 = entityKind, _b148) {
31379
+ __publicField(SQLiteUpdateBuilder, _a219, "SQLiteUpdateBuilder");
31380
+ SQLiteUpdateBase = class extends (_b162 = QueryPromise, _a220 = entityKind, _b162) {
31124
31381
  constructor(table4, set, session, dialect4, withList) {
31125
31382
  super();
31126
31383
  /** @internal */
@@ -31229,7 +31486,7 @@ var init_update2 = __esm({
31229
31486
  return this;
31230
31487
  }
31231
31488
  };
31232
- __publicField(SQLiteUpdateBase, _a206, "SQLiteUpdate");
31489
+ __publicField(SQLiteUpdateBase, _a220, "SQLiteUpdate");
31233
31490
  }
31234
31491
  });
31235
31492
 
@@ -31247,17 +31504,17 @@ var init_query_builders2 = __esm({
31247
31504
  });
31248
31505
 
31249
31506
  // ../drizzle-orm/dist/sqlite-core/query-builders/count.js
31250
- var _a207, _b149, _c7, _SQLiteCountBuilder, SQLiteCountBuilder;
31507
+ var _a221, _b163, _c7, _SQLiteCountBuilder, SQLiteCountBuilder;
31251
31508
  var init_count2 = __esm({
31252
31509
  "../drizzle-orm/dist/sqlite-core/query-builders/count.js"() {
31253
31510
  "use strict";
31254
31511
  init_entity();
31255
31512
  init_sql();
31256
- _SQLiteCountBuilder = class _SQLiteCountBuilder extends (_c7 = SQL, _b149 = entityKind, _a207 = Symbol.toStringTag, _c7) {
31513
+ _SQLiteCountBuilder = class _SQLiteCountBuilder extends (_c7 = SQL, _b163 = entityKind, _a221 = Symbol.toStringTag, _c7) {
31257
31514
  constructor(params) {
31258
31515
  super(_SQLiteCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
31259
31516
  __publicField(this, "sql");
31260
- __publicField(this, _a207, "SQLiteCountBuilderAsync");
31517
+ __publicField(this, _a221, "SQLiteCountBuilderAsync");
31261
31518
  __publicField(this, "session");
31262
31519
  this.params = params;
31263
31520
  this.session = params.session;
@@ -31294,20 +31551,20 @@ var init_count2 = __esm({
31294
31551
  );
31295
31552
  }
31296
31553
  };
31297
- __publicField(_SQLiteCountBuilder, _b149, "SQLiteCountBuilderAsync");
31554
+ __publicField(_SQLiteCountBuilder, _b163, "SQLiteCountBuilderAsync");
31298
31555
  SQLiteCountBuilder = _SQLiteCountBuilder;
31299
31556
  }
31300
31557
  });
31301
31558
 
31302
31559
  // ../drizzle-orm/dist/sqlite-core/query-builders/query.js
31303
- var _a208, RelationalQueryBuilder2, _a209, _b150, SQLiteRelationalQuery, _a210, _b151, SQLiteSyncRelationalQuery;
31560
+ var _a222, RelationalQueryBuilder2, _a223, _b164, SQLiteRelationalQuery, _a224, _b165, SQLiteSyncRelationalQuery;
31304
31561
  var init_query2 = __esm({
31305
31562
  "../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
31306
31563
  "use strict";
31307
31564
  init_entity();
31308
31565
  init_query_promise();
31309
31566
  init_relations();
31310
- _a208 = entityKind;
31567
+ _a222 = entityKind;
31311
31568
  RelationalQueryBuilder2 = class {
31312
31569
  constructor(mode, fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session) {
31313
31570
  this.mode = mode;
@@ -31366,8 +31623,8 @@ var init_query2 = __esm({
31366
31623
  );
31367
31624
  }
31368
31625
  };
31369
- __publicField(RelationalQueryBuilder2, _a208, "SQLiteAsyncRelationalQueryBuilder");
31370
- SQLiteRelationalQuery = class extends (_b150 = QueryPromise, _a209 = entityKind, _b150) {
31626
+ __publicField(RelationalQueryBuilder2, _a222, "SQLiteAsyncRelationalQueryBuilder");
31627
+ SQLiteRelationalQuery = class extends (_b164 = QueryPromise, _a223 = entityKind, _b164) {
31371
31628
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, config, mode) {
31372
31629
  super();
31373
31630
  /** @internal */
@@ -31443,24 +31700,24 @@ var init_query2 = __esm({
31443
31700
  return this.executeRaw();
31444
31701
  }
31445
31702
  };
31446
- __publicField(SQLiteRelationalQuery, _a209, "SQLiteAsyncRelationalQuery");
31447
- SQLiteSyncRelationalQuery = class extends (_b151 = SQLiteRelationalQuery, _a210 = entityKind, _b151) {
31703
+ __publicField(SQLiteRelationalQuery, _a223, "SQLiteAsyncRelationalQuery");
31704
+ SQLiteSyncRelationalQuery = class extends (_b165 = SQLiteRelationalQuery, _a224 = entityKind, _b165) {
31448
31705
  sync() {
31449
31706
  return this.executeRaw();
31450
31707
  }
31451
31708
  };
31452
- __publicField(SQLiteSyncRelationalQuery, _a210, "SQLiteSyncRelationalQuery");
31709
+ __publicField(SQLiteSyncRelationalQuery, _a224, "SQLiteSyncRelationalQuery");
31453
31710
  }
31454
31711
  });
31455
31712
 
31456
31713
  // ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
31457
- var _a211, _b152, SQLiteRaw;
31714
+ var _a225, _b166, SQLiteRaw;
31458
31715
  var init_raw2 = __esm({
31459
31716
  "../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
31460
31717
  "use strict";
31461
31718
  init_entity();
31462
31719
  init_query_promise();
31463
- SQLiteRaw = class extends (_b152 = QueryPromise, _a211 = entityKind, _b152) {
31720
+ SQLiteRaw = class extends (_b166 = QueryPromise, _a225 = entityKind, _b166) {
31464
31721
  constructor(execute, getSQL, action, dialect4, mapBatchResult) {
31465
31722
  super();
31466
31723
  /** @internal */
@@ -31485,12 +31742,12 @@ var init_raw2 = __esm({
31485
31742
  return false;
31486
31743
  }
31487
31744
  };
31488
- __publicField(SQLiteRaw, _a211, "SQLiteRaw");
31745
+ __publicField(SQLiteRaw, _a225, "SQLiteRaw");
31489
31746
  }
31490
31747
  });
31491
31748
 
31492
31749
  // ../drizzle-orm/dist/sqlite-core/db.js
31493
- var _a212, BaseSQLiteDatabase;
31750
+ var _a226, BaseSQLiteDatabase;
31494
31751
  var init_db2 = __esm({
31495
31752
  "../drizzle-orm/dist/sqlite-core/db.js"() {
31496
31753
  "use strict";
@@ -31502,7 +31759,7 @@ var init_db2 = __esm({
31502
31759
  init_count2();
31503
31760
  init_query2();
31504
31761
  init_raw2();
31505
- _a212 = entityKind;
31762
+ _a226 = entityKind;
31506
31763
  BaseSQLiteDatabase = class {
31507
31764
  constructor(resultKind, dialect4, session, schema4) {
31508
31765
  __publicField(this, "query");
@@ -31784,17 +32041,17 @@ var init_db2 = __esm({
31784
32041
  return this.session.transaction(transaction, config);
31785
32042
  }
31786
32043
  };
31787
- __publicField(BaseSQLiteDatabase, _a212, "BaseSQLiteDatabase");
32044
+ __publicField(BaseSQLiteDatabase, _a226, "BaseSQLiteDatabase");
31788
32045
  }
31789
32046
  });
31790
32047
 
31791
32048
  // ../drizzle-orm/dist/sqlite-core/indexes.js
31792
- var _a213, IndexBuilderOn2, _a214, IndexBuilder2, _a215, Index4;
32049
+ var _a227, IndexBuilderOn2, _a228, IndexBuilder2, _a229, Index4;
31793
32050
  var init_indexes2 = __esm({
31794
32051
  "../drizzle-orm/dist/sqlite-core/indexes.js"() {
31795
32052
  "use strict";
31796
32053
  init_entity();
31797
- _a213 = entityKind;
32054
+ _a227 = entityKind;
31798
32055
  IndexBuilderOn2 = class {
31799
32056
  constructor(name2, unique) {
31800
32057
  this.name = name2;
@@ -31804,8 +32061,8 @@ var init_indexes2 = __esm({
31804
32061
  return new IndexBuilder2(this.name, columns, this.unique);
31805
32062
  }
31806
32063
  };
31807
- __publicField(IndexBuilderOn2, _a213, "SQLiteIndexBuilderOn");
31808
- _a214 = entityKind;
32064
+ __publicField(IndexBuilderOn2, _a227, "SQLiteIndexBuilderOn");
32065
+ _a228 = entityKind;
31809
32066
  IndexBuilder2 = class {
31810
32067
  constructor(name2, columns, unique) {
31811
32068
  /** @internal */
@@ -31829,26 +32086,26 @@ var init_indexes2 = __esm({
31829
32086
  return new Index4(this.config, table4);
31830
32087
  }
31831
32088
  };
31832
- __publicField(IndexBuilder2, _a214, "SQLiteIndexBuilder");
31833
- _a215 = entityKind;
32089
+ __publicField(IndexBuilder2, _a228, "SQLiteIndexBuilder");
32090
+ _a229 = entityKind;
31834
32091
  Index4 = class {
31835
32092
  constructor(config, table4) {
31836
32093
  __publicField(this, "config");
31837
32094
  this.config = { ...config, table: table4 };
31838
32095
  }
31839
32096
  };
31840
- __publicField(Index4, _a215, "SQLiteIndex");
32097
+ __publicField(Index4, _a229, "SQLiteIndex");
31841
32098
  }
31842
32099
  });
31843
32100
 
31844
32101
  // ../drizzle-orm/dist/sqlite-core/primary-keys.js
31845
- var _a216, PrimaryKeyBuilder2, _a217, PrimaryKey2;
32102
+ var _a230, PrimaryKeyBuilder2, _a231, PrimaryKey2;
31846
32103
  var init_primary_keys2 = __esm({
31847
32104
  "../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
31848
32105
  "use strict";
31849
32106
  init_entity();
31850
32107
  init_table3();
31851
- _a216 = entityKind;
32108
+ _a230 = entityKind;
31852
32109
  PrimaryKeyBuilder2 = class {
31853
32110
  constructor(columns, name2) {
31854
32111
  /** @internal */
@@ -31863,8 +32120,8 @@ var init_primary_keys2 = __esm({
31863
32120
  return new PrimaryKey2(table4, this.columns, this.name);
31864
32121
  }
31865
32122
  };
31866
- __publicField(PrimaryKeyBuilder2, _a216, "SQLitePrimaryKeyBuilder");
31867
- _a217 = entityKind;
32123
+ __publicField(PrimaryKeyBuilder2, _a230, "SQLitePrimaryKeyBuilder");
32124
+ _a231 = entityKind;
31868
32125
  PrimaryKey2 = class {
31869
32126
  constructor(table4, columns, name2) {
31870
32127
  __publicField(this, "columns");
@@ -31877,12 +32134,12 @@ var init_primary_keys2 = __esm({
31877
32134
  return this.name ?? `${this.table[SQLiteTable.Symbol.Name]}_${this.columns.map((column4) => column4.name).join("_")}_pk`;
31878
32135
  }
31879
32136
  };
31880
- __publicField(PrimaryKey2, _a217, "SQLitePrimaryKey");
32137
+ __publicField(PrimaryKey2, _a231, "SQLitePrimaryKey");
31881
32138
  }
31882
32139
  });
31883
32140
 
31884
32141
  // ../drizzle-orm/dist/sqlite-core/session.js
31885
- var _a218, _b153, ExecuteResultSync, _a219, SQLitePreparedQuery, _a220, SQLiteSession, _a221, _b154, SQLiteTransaction;
32142
+ var _a232, _b167, ExecuteResultSync, _a233, SQLitePreparedQuery, _a234, SQLiteSession, _a235, _b168, SQLiteTransaction;
31886
32143
  var init_session2 = __esm({
31887
32144
  "../drizzle-orm/dist/sqlite-core/session.js"() {
31888
32145
  "use strict";
@@ -31890,7 +32147,7 @@ var init_session2 = __esm({
31890
32147
  init_errors();
31891
32148
  init_query_promise();
31892
32149
  init_db2();
31893
- ExecuteResultSync = class extends (_b153 = QueryPromise, _a218 = entityKind, _b153) {
32150
+ ExecuteResultSync = class extends (_b167 = QueryPromise, _a232 = entityKind, _b167) {
31894
32151
  constructor(resultCb) {
31895
32152
  super();
31896
32153
  this.resultCb = resultCb;
@@ -31902,8 +32159,8 @@ var init_session2 = __esm({
31902
32159
  return this.resultCb();
31903
32160
  }
31904
32161
  };
31905
- __publicField(ExecuteResultSync, _a218, "ExecuteResultSync");
31906
- _a219 = entityKind;
32162
+ __publicField(ExecuteResultSync, _a232, "ExecuteResultSync");
32163
+ _a233 = entityKind;
31907
32164
  SQLitePreparedQuery = class {
31908
32165
  constructor(mode, executeMethod, query) {
31909
32166
  /** @internal */
@@ -31944,8 +32201,8 @@ var init_session2 = __esm({
31944
32201
  }
31945
32202
  }
31946
32203
  };
31947
- __publicField(SQLitePreparedQuery, _a219, "PreparedQuery");
31948
- _a220 = entityKind;
32204
+ __publicField(SQLitePreparedQuery, _a233, "PreparedQuery");
32205
+ _a234 = entityKind;
31949
32206
  SQLiteSession = class {
31950
32207
  constructor(dialect4) {
31951
32208
  this.dialect = dialect4;
@@ -31991,8 +32248,8 @@ var init_session2 = __esm({
31991
32248
  throw new Error("Not implemented");
31992
32249
  }
31993
32250
  };
31994
- __publicField(SQLiteSession, _a220, "SQLiteSession");
31995
- SQLiteTransaction = class extends (_b154 = BaseSQLiteDatabase, _a221 = entityKind, _b154) {
32251
+ __publicField(SQLiteSession, _a234, "SQLiteSession");
32252
+ SQLiteTransaction = class extends (_b168 = BaseSQLiteDatabase, _a235 = entityKind, _b168) {
31996
32253
  constructor(resultType, dialect4, session, schema4, nestedIndex = 0) {
31997
32254
  super(resultType, dialect4, session, schema4);
31998
32255
  this.schema = schema4;
@@ -32002,7 +32259,7 @@ var init_session2 = __esm({
32002
32259
  throw new TransactionRollbackError();
32003
32260
  }
32004
32261
  };
32005
- __publicField(SQLiteTransaction, _a221, "SQLiteTransaction");
32262
+ __publicField(SQLiteTransaction, _a235, "SQLiteTransaction");
32006
32263
  }
32007
32264
  });
32008
32265
 
@@ -32071,7 +32328,7 @@ var init_utils6 = __esm({
32071
32328
  });
32072
32329
 
32073
32330
  // ../drizzle-orm/dist/sqlite-core/view.js
32074
- var _a222, ViewBuilderCore, _a223, _b155, ViewBuilder2, _a224, _b156, ManualViewBuilder2, _a225, _b157, SQLiteView2;
32331
+ var _a236, ViewBuilderCore, _a237, _b169, ViewBuilder2, _a238, _b170, ManualViewBuilder2, _a239, _b171, SQLiteView2;
32075
32332
  var init_view2 = __esm({
32076
32333
  "../drizzle-orm/dist/sqlite-core/view.js"() {
32077
32334
  "use strict";
@@ -32081,15 +32338,15 @@ var init_view2 = __esm({
32081
32338
  init_query_builder3();
32082
32339
  init_table3();
32083
32340
  init_view_base2();
32084
- _a222 = entityKind;
32341
+ _a236 = entityKind;
32085
32342
  ViewBuilderCore = class {
32086
32343
  constructor(name2) {
32087
32344
  __publicField(this, "config", {});
32088
32345
  this.name = name2;
32089
32346
  }
32090
32347
  };
32091
- __publicField(ViewBuilderCore, _a222, "SQLiteViewBuilderCore");
32092
- ViewBuilder2 = class extends (_b155 = ViewBuilderCore, _a223 = entityKind, _b155) {
32348
+ __publicField(ViewBuilderCore, _a236, "SQLiteViewBuilderCore");
32349
+ ViewBuilder2 = class extends (_b169 = ViewBuilderCore, _a237 = entityKind, _b169) {
32093
32350
  as(qb) {
32094
32351
  if (typeof qb === "function") {
32095
32352
  qb = qb(new QueryBuilder2());
@@ -32115,8 +32372,8 @@ var init_view2 = __esm({
32115
32372
  );
32116
32373
  }
32117
32374
  };
32118
- __publicField(ViewBuilder2, _a223, "SQLiteViewBuilder");
32119
- ManualViewBuilder2 = class extends (_b156 = ViewBuilderCore, _a224 = entityKind, _b156) {
32375
+ __publicField(ViewBuilder2, _a237, "SQLiteViewBuilder");
32376
+ ManualViewBuilder2 = class extends (_b170 = ViewBuilderCore, _a238 = entityKind, _b170) {
32120
32377
  constructor(name2, columns) {
32121
32378
  super(name2);
32122
32379
  __publicField(this, "columns");
@@ -32159,13 +32416,13 @@ var init_view2 = __esm({
32159
32416
  );
32160
32417
  }
32161
32418
  };
32162
- __publicField(ManualViewBuilder2, _a224, "SQLiteManualViewBuilder");
32163
- SQLiteView2 = class extends (_b157 = SQLiteViewBase, _a225 = entityKind, _b157) {
32419
+ __publicField(ManualViewBuilder2, _a238, "SQLiteManualViewBuilder");
32420
+ SQLiteView2 = class extends (_b171 = SQLiteViewBase, _a239 = entityKind, _b171) {
32164
32421
  constructor({ config }) {
32165
32422
  super(config);
32166
32423
  }
32167
32424
  };
32168
- __publicField(SQLiteView2, _a225, "SQLiteView");
32425
+ __publicField(SQLiteView2, _a239, "SQLiteView");
32169
32426
  }
32170
32427
  });
32171
32428
 
@@ -32864,12 +33121,12 @@ var init_alias4 = __esm({
32864
33121
  });
32865
33122
 
32866
33123
  // ../drizzle-orm/dist/mysql-core/checks.js
32867
- var _a226, CheckBuilder3, _a227, Check3;
33124
+ var _a240, CheckBuilder3, _a241, Check3;
32868
33125
  var init_checks3 = __esm({
32869
33126
  "../drizzle-orm/dist/mysql-core/checks.js"() {
32870
33127
  "use strict";
32871
33128
  init_entity();
32872
- _a226 = entityKind;
33129
+ _a240 = entityKind;
32873
33130
  CheckBuilder3 = class {
32874
33131
  constructor(name2, value) {
32875
33132
  __publicField(this, "brand");
@@ -32881,8 +33138,8 @@ var init_checks3 = __esm({
32881
33138
  return new Check3(table4, this);
32882
33139
  }
32883
33140
  };
32884
- __publicField(CheckBuilder3, _a226, "MySqlCheckBuilder");
32885
- _a227 = entityKind;
33141
+ __publicField(CheckBuilder3, _a240, "MySqlCheckBuilder");
33142
+ _a241 = entityKind;
32886
33143
  Check3 = class {
32887
33144
  constructor(table4, builder) {
32888
33145
  __publicField(this, "name");
@@ -32892,18 +33149,18 @@ var init_checks3 = __esm({
32892
33149
  this.value = builder.value;
32893
33150
  }
32894
33151
  };
32895
- __publicField(Check3, _a227, "MySqlCheck");
33152
+ __publicField(Check3, _a241, "MySqlCheck");
32896
33153
  }
32897
33154
  });
32898
33155
 
32899
33156
  // ../drizzle-orm/dist/mysql-core/foreign-keys.js
32900
- var _a228, ForeignKeyBuilder3, _a229, ForeignKey3;
33157
+ var _a242, ForeignKeyBuilder3, _a243, ForeignKey3;
32901
33158
  var init_foreign_keys3 = __esm({
32902
33159
  "../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
32903
33160
  "use strict";
32904
33161
  init_entity();
32905
33162
  init_table_utils();
32906
- _a228 = entityKind;
33163
+ _a242 = entityKind;
32907
33164
  ForeignKeyBuilder3 = class {
32908
33165
  constructor(config, actions) {
32909
33166
  /** @internal */
@@ -32934,8 +33191,8 @@ var init_foreign_keys3 = __esm({
32934
33191
  return new ForeignKey3(table4, this);
32935
33192
  }
32936
33193
  };
32937
- __publicField(ForeignKeyBuilder3, _a228, "MySqlForeignKeyBuilder");
32938
- _a229 = entityKind;
33194
+ __publicField(ForeignKeyBuilder3, _a242, "MySqlForeignKeyBuilder");
33195
+ _a243 = entityKind;
32939
33196
  ForeignKey3 = class {
32940
33197
  constructor(table4, builder) {
32941
33198
  __publicField(this, "reference");
@@ -32959,7 +33216,7 @@ var init_foreign_keys3 = __esm({
32959
33216
  return name2 ?? `${chunks.join("_")}_fk`;
32960
33217
  }
32961
33218
  };
32962
- __publicField(ForeignKey3, _a229, "MySqlForeignKey");
33219
+ __publicField(ForeignKey3, _a243, "MySqlForeignKey");
32963
33220
  }
32964
33221
  });
32965
33222
 
@@ -32967,13 +33224,13 @@ var init_foreign_keys3 = __esm({
32967
33224
  function uniqueKeyName3(table4, columns) {
32968
33225
  return `${table4[TableName]}_${columns.join("_")}_unique`;
32969
33226
  }
32970
- var _a230, UniqueConstraintBuilder3, _a231, UniqueOnConstraintBuilder3, _a232, UniqueConstraint3;
33227
+ var _a244, UniqueConstraintBuilder3, _a245, UniqueOnConstraintBuilder3, _a246, UniqueConstraint3;
32971
33228
  var init_unique_constraint3 = __esm({
32972
33229
  "../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
32973
33230
  "use strict";
32974
33231
  init_entity();
32975
33232
  init_table_utils();
32976
- _a230 = entityKind;
33233
+ _a244 = entityKind;
32977
33234
  UniqueConstraintBuilder3 = class {
32978
33235
  constructor(columns, name2) {
32979
33236
  /** @internal */
@@ -32986,8 +33243,8 @@ var init_unique_constraint3 = __esm({
32986
33243
  return new UniqueConstraint3(table4, this.columns, this.name);
32987
33244
  }
32988
33245
  };
32989
- __publicField(UniqueConstraintBuilder3, _a230, "MySqlUniqueConstraintBuilder");
32990
- _a231 = entityKind;
33246
+ __publicField(UniqueConstraintBuilder3, _a244, "MySqlUniqueConstraintBuilder");
33247
+ _a245 = entityKind;
32991
33248
  UniqueOnConstraintBuilder3 = class {
32992
33249
  constructor(name2) {
32993
33250
  /** @internal */
@@ -32998,8 +33255,8 @@ var init_unique_constraint3 = __esm({
32998
33255
  return new UniqueConstraintBuilder3(columns, this.name);
32999
33256
  }
33000
33257
  };
33001
- __publicField(UniqueOnConstraintBuilder3, _a231, "MySqlUniqueOnConstraintBuilder");
33002
- _a232 = entityKind;
33258
+ __publicField(UniqueOnConstraintBuilder3, _a245, "MySqlUniqueOnConstraintBuilder");
33259
+ _a246 = entityKind;
33003
33260
  UniqueConstraint3 = class {
33004
33261
  constructor(table4, columns, name2) {
33005
33262
  __publicField(this, "columns");
@@ -33013,12 +33270,12 @@ var init_unique_constraint3 = __esm({
33013
33270
  return this.name;
33014
33271
  }
33015
33272
  };
33016
- __publicField(UniqueConstraint3, _a232, "MySqlUniqueConstraint");
33273
+ __publicField(UniqueConstraint3, _a246, "MySqlUniqueConstraint");
33017
33274
  }
33018
33275
  });
33019
33276
 
33020
33277
  // ../drizzle-orm/dist/mysql-core/columns/common.js
33021
- var _a233, _b158, MySqlColumnBuilder, _a234, _b159, MySqlColumn, _a235, _b160, MySqlColumnBuilderWithAutoIncrement, _a236, _b161, MySqlColumnWithAutoIncrement;
33278
+ var _a247, _b172, MySqlColumnBuilder, _a248, _b173, MySqlColumn, _a249, _b174, MySqlColumnBuilderWithAutoIncrement, _a250, _b175, MySqlColumnWithAutoIncrement;
33022
33279
  var init_common4 = __esm({
33023
33280
  "../drizzle-orm/dist/mysql-core/columns/common.js"() {
33024
33281
  "use strict";
@@ -33027,7 +33284,7 @@ var init_common4 = __esm({
33027
33284
  init_entity();
33028
33285
  init_foreign_keys3();
33029
33286
  init_unique_constraint3();
33030
- MySqlColumnBuilder = class extends (_b158 = ColumnBuilder, _a233 = entityKind, _b158) {
33287
+ MySqlColumnBuilder = class extends (_b172 = ColumnBuilder, _a247 = entityKind, _b172) {
33031
33288
  constructor() {
33032
33289
  super(...arguments);
33033
33290
  __publicField(this, "foreignKeyConfigs", []);
@@ -33068,8 +33325,8 @@ var init_common4 = __esm({
33068
33325
  });
33069
33326
  }
33070
33327
  };
33071
- __publicField(MySqlColumnBuilder, _a233, "MySqlColumnBuilder");
33072
- MySqlColumn = class extends (_b159 = Column2, _a234 = entityKind, _b159) {
33328
+ __publicField(MySqlColumnBuilder, _a247, "MySqlColumnBuilder");
33329
+ MySqlColumn = class extends (_b173 = Column2, _a248 = entityKind, _b173) {
33073
33330
  constructor(table4, config) {
33074
33331
  if (!config.uniqueName) {
33075
33332
  config.uniqueName = uniqueKeyName3(table4, [config.name]);
@@ -33078,8 +33335,8 @@ var init_common4 = __esm({
33078
33335
  this.table = table4;
33079
33336
  }
33080
33337
  };
33081
- __publicField(MySqlColumn, _a234, "MySqlColumn");
33082
- MySqlColumnBuilderWithAutoIncrement = class extends (_b160 = MySqlColumnBuilder, _a235 = entityKind, _b160) {
33338
+ __publicField(MySqlColumn, _a248, "MySqlColumn");
33339
+ MySqlColumnBuilderWithAutoIncrement = class extends (_b174 = MySqlColumnBuilder, _a249 = entityKind, _b174) {
33083
33340
  constructor(name2, dataType, columnType) {
33084
33341
  super(name2, dataType, columnType);
33085
33342
  this.config.autoIncrement = false;
@@ -33090,14 +33347,14 @@ var init_common4 = __esm({
33090
33347
  return this;
33091
33348
  }
33092
33349
  };
33093
- __publicField(MySqlColumnBuilderWithAutoIncrement, _a235, "MySqlColumnBuilderWithAutoIncrement");
33094
- MySqlColumnWithAutoIncrement = class extends (_b161 = MySqlColumn, _a236 = entityKind, _b161) {
33350
+ __publicField(MySqlColumnBuilderWithAutoIncrement, _a249, "MySqlColumnBuilderWithAutoIncrement");
33351
+ MySqlColumnWithAutoIncrement = class extends (_b175 = MySqlColumn, _a250 = entityKind, _b175) {
33095
33352
  constructor() {
33096
33353
  super(...arguments);
33097
33354
  __publicField(this, "autoIncrement", this.config.autoIncrement);
33098
33355
  }
33099
33356
  };
33100
- __publicField(MySqlColumnWithAutoIncrement, _a236, "MySqlColumnWithAutoIncrement");
33357
+ __publicField(MySqlColumnWithAutoIncrement, _a250, "MySqlColumnWithAutoIncrement");
33101
33358
  }
33102
33359
  });
33103
33360
 
@@ -33109,14 +33366,14 @@ function bigint2(a, b) {
33109
33366
  }
33110
33367
  return new MySqlBigInt64Builder(name2, config.unsigned);
33111
33368
  }
33112
- var _a237, _b162, MySqlBigInt53Builder, _a238, _b163, MySqlBigInt53, _a239, _b164, MySqlBigInt64Builder, _a240, _b165, MySqlBigInt64;
33369
+ var _a251, _b176, MySqlBigInt53Builder, _a252, _b177, MySqlBigInt53, _a253, _b178, MySqlBigInt64Builder, _a254, _b179, MySqlBigInt64;
33113
33370
  var init_bigint2 = __esm({
33114
33371
  "../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
33115
33372
  "use strict";
33116
33373
  init_entity();
33117
33374
  init_utils2();
33118
33375
  init_common4();
33119
- MySqlBigInt53Builder = class extends (_b162 = MySqlColumnBuilderWithAutoIncrement, _a237 = entityKind, _b162) {
33376
+ MySqlBigInt53Builder = class extends (_b176 = MySqlColumnBuilderWithAutoIncrement, _a251 = entityKind, _b176) {
33120
33377
  constructor(name2, unsigned = false) {
33121
33378
  super(name2, "number", "MySqlBigInt53");
33122
33379
  this.config.unsigned = unsigned;
@@ -33129,8 +33386,8 @@ var init_bigint2 = __esm({
33129
33386
  );
33130
33387
  }
33131
33388
  };
33132
- __publicField(MySqlBigInt53Builder, _a237, "MySqlBigInt53Builder");
33133
- MySqlBigInt53 = class extends (_b163 = MySqlColumnWithAutoIncrement, _a238 = entityKind, _b163) {
33389
+ __publicField(MySqlBigInt53Builder, _a251, "MySqlBigInt53Builder");
33390
+ MySqlBigInt53 = class extends (_b177 = MySqlColumnWithAutoIncrement, _a252 = entityKind, _b177) {
33134
33391
  getSQLType() {
33135
33392
  return `bigint${this.config.unsigned ? " unsigned" : ""}`;
33136
33393
  }
@@ -33141,8 +33398,8 @@ var init_bigint2 = __esm({
33141
33398
  return Number(value);
33142
33399
  }
33143
33400
  };
33144
- __publicField(MySqlBigInt53, _a238, "MySqlBigInt53");
33145
- MySqlBigInt64Builder = class extends (_b164 = MySqlColumnBuilderWithAutoIncrement, _a239 = entityKind, _b164) {
33401
+ __publicField(MySqlBigInt53, _a252, "MySqlBigInt53");
33402
+ MySqlBigInt64Builder = class extends (_b178 = MySqlColumnBuilderWithAutoIncrement, _a253 = entityKind, _b178) {
33146
33403
  constructor(name2, unsigned = false) {
33147
33404
  super(name2, "bigint", "MySqlBigInt64");
33148
33405
  this.config.unsigned = unsigned;
@@ -33155,8 +33412,8 @@ var init_bigint2 = __esm({
33155
33412
  );
33156
33413
  }
33157
33414
  };
33158
- __publicField(MySqlBigInt64Builder, _a239, "MySqlBigInt64Builder");
33159
- MySqlBigInt64 = class extends (_b165 = MySqlColumnWithAutoIncrement, _a240 = entityKind, _b165) {
33415
+ __publicField(MySqlBigInt64Builder, _a253, "MySqlBigInt64Builder");
33416
+ MySqlBigInt64 = class extends (_b179 = MySqlColumnWithAutoIncrement, _a254 = entityKind, _b179) {
33160
33417
  getSQLType() {
33161
33418
  return `bigint${this.config.unsigned ? " unsigned" : ""}`;
33162
33419
  }
@@ -33165,7 +33422,7 @@ var init_bigint2 = __esm({
33165
33422
  return BigInt(value);
33166
33423
  }
33167
33424
  };
33168
- __publicField(MySqlBigInt64, _a240, "MySqlBigInt64");
33425
+ __publicField(MySqlBigInt64, _a254, "MySqlBigInt64");
33169
33426
  }
33170
33427
  });
33171
33428
 
@@ -33174,14 +33431,14 @@ function binary(a, b = {}) {
33174
33431
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33175
33432
  return new MySqlBinaryBuilder(name2, config.length);
33176
33433
  }
33177
- var _a241, _b166, MySqlBinaryBuilder, _a242, _b167, MySqlBinary;
33434
+ var _a255, _b180, MySqlBinaryBuilder, _a256, _b181, MySqlBinary;
33178
33435
  var init_binary = __esm({
33179
33436
  "../drizzle-orm/dist/mysql-core/columns/binary.js"() {
33180
33437
  "use strict";
33181
33438
  init_entity();
33182
33439
  init_utils2();
33183
33440
  init_common4();
33184
- MySqlBinaryBuilder = class extends (_b166 = MySqlColumnBuilder, _a241 = entityKind, _b166) {
33441
+ MySqlBinaryBuilder = class extends (_b180 = MySqlColumnBuilder, _a255 = entityKind, _b180) {
33185
33442
  constructor(name2, length) {
33186
33443
  super(name2, "string", "MySqlBinary");
33187
33444
  this.config.length = length;
@@ -33191,8 +33448,8 @@ var init_binary = __esm({
33191
33448
  return new MySqlBinary(table4, this.config);
33192
33449
  }
33193
33450
  };
33194
- __publicField(MySqlBinaryBuilder, _a241, "MySqlBinaryBuilder");
33195
- MySqlBinary = class extends (_b167 = MySqlColumn, _a242 = entityKind, _b167) {
33451
+ __publicField(MySqlBinaryBuilder, _a255, "MySqlBinaryBuilder");
33452
+ MySqlBinary = class extends (_b181 = MySqlColumn, _a256 = entityKind, _b181) {
33196
33453
  constructor() {
33197
33454
  super(...arguments);
33198
33455
  __publicField(this, "length", this.config.length);
@@ -33201,7 +33458,7 @@ var init_binary = __esm({
33201
33458
  return this.length === void 0 ? `binary` : `binary(${this.length})`;
33202
33459
  }
33203
33460
  };
33204
- __publicField(MySqlBinary, _a242, "MySqlBinary");
33461
+ __publicField(MySqlBinary, _a256, "MySqlBinary");
33205
33462
  }
33206
33463
  });
33207
33464
 
@@ -33209,13 +33466,13 @@ var init_binary = __esm({
33209
33466
  function boolean2(name2) {
33210
33467
  return new MySqlBooleanBuilder(name2 ?? "");
33211
33468
  }
33212
- var _a243, _b168, MySqlBooleanBuilder, _a244, _b169, MySqlBoolean;
33469
+ var _a257, _b182, MySqlBooleanBuilder, _a258, _b183, MySqlBoolean;
33213
33470
  var init_boolean2 = __esm({
33214
33471
  "../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
33215
33472
  "use strict";
33216
33473
  init_entity();
33217
33474
  init_common4();
33218
- MySqlBooleanBuilder = class extends (_b168 = MySqlColumnBuilder, _a243 = entityKind, _b168) {
33475
+ MySqlBooleanBuilder = class extends (_b182 = MySqlColumnBuilder, _a257 = entityKind, _b182) {
33219
33476
  constructor(name2) {
33220
33477
  super(name2, "boolean", "MySqlBoolean");
33221
33478
  }
@@ -33227,8 +33484,8 @@ var init_boolean2 = __esm({
33227
33484
  );
33228
33485
  }
33229
33486
  };
33230
- __publicField(MySqlBooleanBuilder, _a243, "MySqlBooleanBuilder");
33231
- MySqlBoolean = class extends (_b169 = MySqlColumn, _a244 = entityKind, _b169) {
33487
+ __publicField(MySqlBooleanBuilder, _a257, "MySqlBooleanBuilder");
33488
+ MySqlBoolean = class extends (_b183 = MySqlColumn, _a258 = entityKind, _b183) {
33232
33489
  getSQLType() {
33233
33490
  return "boolean";
33234
33491
  }
@@ -33239,7 +33496,7 @@ var init_boolean2 = __esm({
33239
33496
  return value === 1;
33240
33497
  }
33241
33498
  };
33242
- __publicField(MySqlBoolean, _a244, "MySqlBoolean");
33499
+ __publicField(MySqlBoolean, _a258, "MySqlBoolean");
33243
33500
  }
33244
33501
  });
33245
33502
 
@@ -33248,14 +33505,14 @@ function char2(a, b = {}) {
33248
33505
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33249
33506
  return new MySqlCharBuilder(name2, config);
33250
33507
  }
33251
- var _a245, _b170, MySqlCharBuilder, _a246, _b171, MySqlChar;
33508
+ var _a259, _b184, MySqlCharBuilder, _a260, _b185, MySqlChar;
33252
33509
  var init_char2 = __esm({
33253
33510
  "../drizzle-orm/dist/mysql-core/columns/char.js"() {
33254
33511
  "use strict";
33255
33512
  init_entity();
33256
33513
  init_utils2();
33257
33514
  init_common4();
33258
- MySqlCharBuilder = class extends (_b170 = MySqlColumnBuilder, _a245 = entityKind, _b170) {
33515
+ MySqlCharBuilder = class extends (_b184 = MySqlColumnBuilder, _a259 = entityKind, _b184) {
33259
33516
  constructor(name2, config) {
33260
33517
  super(name2, "string", "MySqlChar");
33261
33518
  this.config.length = config.length;
@@ -33269,8 +33526,8 @@ var init_char2 = __esm({
33269
33526
  );
33270
33527
  }
33271
33528
  };
33272
- __publicField(MySqlCharBuilder, _a245, "MySqlCharBuilder");
33273
- MySqlChar = class extends (_b171 = MySqlColumn, _a246 = entityKind, _b171) {
33529
+ __publicField(MySqlCharBuilder, _a259, "MySqlCharBuilder");
33530
+ MySqlChar = class extends (_b185 = MySqlColumn, _a260 = entityKind, _b185) {
33274
33531
  constructor() {
33275
33532
  super(...arguments);
33276
33533
  __publicField(this, "length", this.config.length);
@@ -33280,7 +33537,7 @@ var init_char2 = __esm({
33280
33537
  return this.length === void 0 ? `char` : `char(${this.length})`;
33281
33538
  }
33282
33539
  };
33283
- __publicField(MySqlChar, _a246, "MySqlChar");
33540
+ __publicField(MySqlChar, _a260, "MySqlChar");
33284
33541
  }
33285
33542
  });
33286
33543
 
@@ -33291,14 +33548,14 @@ function customType3(customTypeParams) {
33291
33548
  return new MySqlCustomColumnBuilder(name2, config, customTypeParams);
33292
33549
  };
33293
33550
  }
33294
- var _a247, _b172, MySqlCustomColumnBuilder, _a248, _b173, MySqlCustomColumn;
33551
+ var _a261, _b186, MySqlCustomColumnBuilder, _a262, _b187, MySqlCustomColumn;
33295
33552
  var init_custom3 = __esm({
33296
33553
  "../drizzle-orm/dist/mysql-core/columns/custom.js"() {
33297
33554
  "use strict";
33298
33555
  init_entity();
33299
33556
  init_utils2();
33300
33557
  init_common4();
33301
- MySqlCustomColumnBuilder = class extends (_b172 = MySqlColumnBuilder, _a247 = entityKind, _b172) {
33558
+ MySqlCustomColumnBuilder = class extends (_b186 = MySqlColumnBuilder, _a261 = entityKind, _b186) {
33302
33559
  constructor(name2, fieldConfig, customTypeParams) {
33303
33560
  super(name2, "custom", "MySqlCustomColumn");
33304
33561
  this.config.fieldConfig = fieldConfig;
@@ -33312,8 +33569,8 @@ var init_custom3 = __esm({
33312
33569
  );
33313
33570
  }
33314
33571
  };
33315
- __publicField(MySqlCustomColumnBuilder, _a247, "MySqlCustomColumnBuilder");
33316
- MySqlCustomColumn = class extends (_b173 = MySqlColumn, _a248 = entityKind, _b173) {
33572
+ __publicField(MySqlCustomColumnBuilder, _a261, "MySqlCustomColumnBuilder");
33573
+ MySqlCustomColumn = class extends (_b187 = MySqlColumn, _a262 = entityKind, _b187) {
33317
33574
  constructor(table4, config) {
33318
33575
  super(table4, config);
33319
33576
  __publicField(this, "sqlName");
@@ -33333,7 +33590,7 @@ var init_custom3 = __esm({
33333
33590
  return typeof this.mapTo === "function" ? this.mapTo(value) : value;
33334
33591
  }
33335
33592
  };
33336
- __publicField(MySqlCustomColumn, _a248, "MySqlCustomColumn");
33593
+ __publicField(MySqlCustomColumn, _a262, "MySqlCustomColumn");
33337
33594
  }
33338
33595
  });
33339
33596
 
@@ -33345,14 +33602,14 @@ function date2(a, b) {
33345
33602
  }
33346
33603
  return new MySqlDateBuilder(name2);
33347
33604
  }
33348
- var _a249, _b174, MySqlDateBuilder, _a250, _b175, MySqlDate, _a251, _b176, MySqlDateStringBuilder, _a252, _b177, MySqlDateString;
33605
+ var _a263, _b188, MySqlDateBuilder, _a264, _b189, MySqlDate, _a265, _b190, MySqlDateStringBuilder, _a266, _b191, MySqlDateString;
33349
33606
  var init_date2 = __esm({
33350
33607
  "../drizzle-orm/dist/mysql-core/columns/date.js"() {
33351
33608
  "use strict";
33352
33609
  init_entity();
33353
33610
  init_utils2();
33354
33611
  init_common4();
33355
- MySqlDateBuilder = class extends (_b174 = MySqlColumnBuilder, _a249 = entityKind, _b174) {
33612
+ MySqlDateBuilder = class extends (_b188 = MySqlColumnBuilder, _a263 = entityKind, _b188) {
33356
33613
  constructor(name2) {
33357
33614
  super(name2, "date", "MySqlDate");
33358
33615
  }
@@ -33361,8 +33618,8 @@ var init_date2 = __esm({
33361
33618
  return new MySqlDate(table4, this.config);
33362
33619
  }
33363
33620
  };
33364
- __publicField(MySqlDateBuilder, _a249, "MySqlDateBuilder");
33365
- MySqlDate = class extends (_b175 = MySqlColumn, _a250 = entityKind, _b175) {
33621
+ __publicField(MySqlDateBuilder, _a263, "MySqlDateBuilder");
33622
+ MySqlDate = class extends (_b189 = MySqlColumn, _a264 = entityKind, _b189) {
33366
33623
  constructor(table4, config) {
33367
33624
  super(table4, config);
33368
33625
  }
@@ -33373,8 +33630,8 @@ var init_date2 = __esm({
33373
33630
  return new Date(value);
33374
33631
  }
33375
33632
  };
33376
- __publicField(MySqlDate, _a250, "MySqlDate");
33377
- MySqlDateStringBuilder = class extends (_b176 = MySqlColumnBuilder, _a251 = entityKind, _b176) {
33633
+ __publicField(MySqlDate, _a264, "MySqlDate");
33634
+ MySqlDateStringBuilder = class extends (_b190 = MySqlColumnBuilder, _a265 = entityKind, _b190) {
33378
33635
  constructor(name2) {
33379
33636
  super(name2, "string", "MySqlDateString");
33380
33637
  }
@@ -33386,8 +33643,8 @@ var init_date2 = __esm({
33386
33643
  );
33387
33644
  }
33388
33645
  };
33389
- __publicField(MySqlDateStringBuilder, _a251, "MySqlDateStringBuilder");
33390
- MySqlDateString = class extends (_b177 = MySqlColumn, _a252 = entityKind, _b177) {
33646
+ __publicField(MySqlDateStringBuilder, _a265, "MySqlDateStringBuilder");
33647
+ MySqlDateString = class extends (_b191 = MySqlColumn, _a266 = entityKind, _b191) {
33391
33648
  constructor(table4, config) {
33392
33649
  super(table4, config);
33393
33650
  }
@@ -33395,7 +33652,7 @@ var init_date2 = __esm({
33395
33652
  return `date`;
33396
33653
  }
33397
33654
  };
33398
- __publicField(MySqlDateString, _a252, "MySqlDateString");
33655
+ __publicField(MySqlDateString, _a266, "MySqlDateString");
33399
33656
  }
33400
33657
  });
33401
33658
 
@@ -33407,14 +33664,14 @@ function datetime(a, b) {
33407
33664
  }
33408
33665
  return new MySqlDateTimeBuilder(name2, config);
33409
33666
  }
33410
- var _a253, _b178, MySqlDateTimeBuilder, _a254, _b179, MySqlDateTime, _a255, _b180, MySqlDateTimeStringBuilder, _a256, _b181, MySqlDateTimeString;
33667
+ var _a267, _b192, MySqlDateTimeBuilder, _a268, _b193, MySqlDateTime, _a269, _b194, MySqlDateTimeStringBuilder, _a270, _b195, MySqlDateTimeString;
33411
33668
  var init_datetime = __esm({
33412
33669
  "../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
33413
33670
  "use strict";
33414
33671
  init_entity();
33415
33672
  init_utils2();
33416
33673
  init_common4();
33417
- MySqlDateTimeBuilder = class extends (_b178 = MySqlColumnBuilder, _a253 = entityKind, _b178) {
33674
+ MySqlDateTimeBuilder = class extends (_b192 = MySqlColumnBuilder, _a267 = entityKind, _b192) {
33418
33675
  constructor(name2, config) {
33419
33676
  super(name2, "date", "MySqlDateTime");
33420
33677
  this.config.fsp = config?.fsp;
@@ -33427,8 +33684,8 @@ var init_datetime = __esm({
33427
33684
  );
33428
33685
  }
33429
33686
  };
33430
- __publicField(MySqlDateTimeBuilder, _a253, "MySqlDateTimeBuilder");
33431
- MySqlDateTime = class extends (_b179 = MySqlColumn, _a254 = entityKind, _b179) {
33687
+ __publicField(MySqlDateTimeBuilder, _a267, "MySqlDateTimeBuilder");
33688
+ MySqlDateTime = class extends (_b193 = MySqlColumn, _a268 = entityKind, _b193) {
33432
33689
  constructor(table4, config) {
33433
33690
  super(table4, config);
33434
33691
  __publicField(this, "fsp");
@@ -33445,8 +33702,8 @@ var init_datetime = __esm({
33445
33702
  return /* @__PURE__ */ new Date(value.replace(" ", "T") + "Z");
33446
33703
  }
33447
33704
  };
33448
- __publicField(MySqlDateTime, _a254, "MySqlDateTime");
33449
- MySqlDateTimeStringBuilder = class extends (_b180 = MySqlColumnBuilder, _a255 = entityKind, _b180) {
33705
+ __publicField(MySqlDateTime, _a268, "MySqlDateTime");
33706
+ MySqlDateTimeStringBuilder = class extends (_b194 = MySqlColumnBuilder, _a269 = entityKind, _b194) {
33450
33707
  constructor(name2, config) {
33451
33708
  super(name2, "string", "MySqlDateTimeString");
33452
33709
  this.config.fsp = config?.fsp;
@@ -33459,8 +33716,8 @@ var init_datetime = __esm({
33459
33716
  );
33460
33717
  }
33461
33718
  };
33462
- __publicField(MySqlDateTimeStringBuilder, _a255, "MySqlDateTimeStringBuilder");
33463
- MySqlDateTimeString = class extends (_b181 = MySqlColumn, _a256 = entityKind, _b181) {
33719
+ __publicField(MySqlDateTimeStringBuilder, _a269, "MySqlDateTimeStringBuilder");
33720
+ MySqlDateTimeString = class extends (_b195 = MySqlColumn, _a270 = entityKind, _b195) {
33464
33721
  constructor(table4, config) {
33465
33722
  super(table4, config);
33466
33723
  __publicField(this, "fsp");
@@ -33471,7 +33728,7 @@ var init_datetime = __esm({
33471
33728
  return `datetime${precision}`;
33472
33729
  }
33473
33730
  };
33474
- __publicField(MySqlDateTimeString, _a256, "MySqlDateTimeString");
33731
+ __publicField(MySqlDateTimeString, _a270, "MySqlDateTimeString");
33475
33732
  }
33476
33733
  });
33477
33734
 
@@ -33480,14 +33737,14 @@ function decimal(a, b = {}) {
33480
33737
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33481
33738
  return new MySqlDecimalBuilder(name2, config.precision, config.scale);
33482
33739
  }
33483
- var _a257, _b182, MySqlDecimalBuilder, _a258, _b183, MySqlDecimal;
33740
+ var _a271, _b196, MySqlDecimalBuilder, _a272, _b197, MySqlDecimal;
33484
33741
  var init_decimal = __esm({
33485
33742
  "../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
33486
33743
  "use strict";
33487
33744
  init_entity();
33488
33745
  init_utils2();
33489
33746
  init_common4();
33490
- MySqlDecimalBuilder = class extends (_b182 = MySqlColumnBuilderWithAutoIncrement, _a257 = entityKind, _b182) {
33747
+ MySqlDecimalBuilder = class extends (_b196 = MySqlColumnBuilderWithAutoIncrement, _a271 = entityKind, _b196) {
33491
33748
  constructor(name2, precision, scale) {
33492
33749
  super(name2, "string", "MySqlDecimal");
33493
33750
  this.config.precision = precision;
@@ -33501,8 +33758,8 @@ var init_decimal = __esm({
33501
33758
  );
33502
33759
  }
33503
33760
  };
33504
- __publicField(MySqlDecimalBuilder, _a257, "MySqlDecimalBuilder");
33505
- MySqlDecimal = class extends (_b183 = MySqlColumnWithAutoIncrement, _a258 = entityKind, _b183) {
33761
+ __publicField(MySqlDecimalBuilder, _a271, "MySqlDecimalBuilder");
33762
+ MySqlDecimal = class extends (_b197 = MySqlColumnWithAutoIncrement, _a272 = entityKind, _b197) {
33506
33763
  constructor() {
33507
33764
  super(...arguments);
33508
33765
  __publicField(this, "precision", this.config.precision);
@@ -33518,7 +33775,7 @@ var init_decimal = __esm({
33518
33775
  }
33519
33776
  }
33520
33777
  };
33521
- __publicField(MySqlDecimal, _a258, "MySqlDecimal");
33778
+ __publicField(MySqlDecimal, _a272, "MySqlDecimal");
33522
33779
  }
33523
33780
  });
33524
33781
 
@@ -33527,14 +33784,14 @@ function double(a, b) {
33527
33784
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33528
33785
  return new MySqlDoubleBuilder(name2, config);
33529
33786
  }
33530
- var _a259, _b184, MySqlDoubleBuilder, _a260, _b185, MySqlDouble;
33787
+ var _a273, _b198, MySqlDoubleBuilder, _a274, _b199, MySqlDouble;
33531
33788
  var init_double = __esm({
33532
33789
  "../drizzle-orm/dist/mysql-core/columns/double.js"() {
33533
33790
  "use strict";
33534
33791
  init_entity();
33535
33792
  init_utils2();
33536
33793
  init_common4();
33537
- MySqlDoubleBuilder = class extends (_b184 = MySqlColumnBuilderWithAutoIncrement, _a259 = entityKind, _b184) {
33794
+ MySqlDoubleBuilder = class extends (_b198 = MySqlColumnBuilderWithAutoIncrement, _a273 = entityKind, _b198) {
33538
33795
  constructor(name2, config) {
33539
33796
  super(name2, "number", "MySqlDouble");
33540
33797
  this.config.precision = config?.precision;
@@ -33545,8 +33802,8 @@ var init_double = __esm({
33545
33802
  return new MySqlDouble(table4, this.config);
33546
33803
  }
33547
33804
  };
33548
- __publicField(MySqlDoubleBuilder, _a259, "MySqlDoubleBuilder");
33549
- MySqlDouble = class extends (_b185 = MySqlColumnWithAutoIncrement, _a260 = entityKind, _b185) {
33805
+ __publicField(MySqlDoubleBuilder, _a273, "MySqlDoubleBuilder");
33806
+ MySqlDouble = class extends (_b199 = MySqlColumnWithAutoIncrement, _a274 = entityKind, _b199) {
33550
33807
  constructor() {
33551
33808
  super(...arguments);
33552
33809
  __publicField(this, "precision", this.config.precision);
@@ -33562,7 +33819,7 @@ var init_double = __esm({
33562
33819
  }
33563
33820
  }
33564
33821
  };
33565
- __publicField(MySqlDouble, _a260, "MySqlDouble");
33822
+ __publicField(MySqlDouble, _a274, "MySqlDouble");
33566
33823
  }
33567
33824
  });
33568
33825
 
@@ -33574,14 +33831,14 @@ function mysqlEnum(a, b) {
33574
33831
  }
33575
33832
  return new MySqlEnumColumnBuilder(name2, values);
33576
33833
  }
33577
- var _a261, _b186, MySqlEnumColumnBuilder, _a262, _b187, MySqlEnumColumn;
33834
+ var _a275, _b200, MySqlEnumColumnBuilder, _a276, _b201, MySqlEnumColumn;
33578
33835
  var init_enum2 = __esm({
33579
33836
  "../drizzle-orm/dist/mysql-core/columns/enum.js"() {
33580
33837
  "use strict";
33581
33838
  init_entity();
33582
33839
  init_utils2();
33583
33840
  init_common4();
33584
- MySqlEnumColumnBuilder = class extends (_b186 = MySqlColumnBuilder, _a261 = entityKind, _b186) {
33841
+ MySqlEnumColumnBuilder = class extends (_b200 = MySqlColumnBuilder, _a275 = entityKind, _b200) {
33585
33842
  constructor(name2, values) {
33586
33843
  super(name2, "string", "MySqlEnumColumn");
33587
33844
  this.config.enumValues = values;
@@ -33594,8 +33851,8 @@ var init_enum2 = __esm({
33594
33851
  );
33595
33852
  }
33596
33853
  };
33597
- __publicField(MySqlEnumColumnBuilder, _a261, "MySqlEnumColumnBuilder");
33598
- MySqlEnumColumn = class extends (_b187 = MySqlColumn, _a262 = entityKind, _b187) {
33854
+ __publicField(MySqlEnumColumnBuilder, _a275, "MySqlEnumColumnBuilder");
33855
+ MySqlEnumColumn = class extends (_b201 = MySqlColumn, _a276 = entityKind, _b201) {
33599
33856
  constructor() {
33600
33857
  super(...arguments);
33601
33858
  __publicField(this, "enumValues", this.config.enumValues);
@@ -33604,7 +33861,7 @@ var init_enum2 = __esm({
33604
33861
  return `enum(${this.enumValues.map((value) => `'${value}'`).join(",")})`;
33605
33862
  }
33606
33863
  };
33607
- __publicField(MySqlEnumColumn, _a262, "MySqlEnumColumn");
33864
+ __publicField(MySqlEnumColumn, _a276, "MySqlEnumColumn");
33608
33865
  }
33609
33866
  });
33610
33867
 
@@ -33612,13 +33869,13 @@ var init_enum2 = __esm({
33612
33869
  function float(name2) {
33613
33870
  return new MySqlFloatBuilder(name2 ?? "");
33614
33871
  }
33615
- var _a263, _b188, MySqlFloatBuilder, _a264, _b189, MySqlFloat;
33872
+ var _a277, _b202, MySqlFloatBuilder, _a278, _b203, MySqlFloat;
33616
33873
  var init_float = __esm({
33617
33874
  "../drizzle-orm/dist/mysql-core/columns/float.js"() {
33618
33875
  "use strict";
33619
33876
  init_entity();
33620
33877
  init_common4();
33621
- MySqlFloatBuilder = class extends (_b188 = MySqlColumnBuilderWithAutoIncrement, _a263 = entityKind, _b188) {
33878
+ MySqlFloatBuilder = class extends (_b202 = MySqlColumnBuilderWithAutoIncrement, _a277 = entityKind, _b202) {
33622
33879
  constructor(name2) {
33623
33880
  super(name2, "number", "MySqlFloat");
33624
33881
  }
@@ -33627,13 +33884,13 @@ var init_float = __esm({
33627
33884
  return new MySqlFloat(table4, this.config);
33628
33885
  }
33629
33886
  };
33630
- __publicField(MySqlFloatBuilder, _a263, "MySqlFloatBuilder");
33631
- MySqlFloat = class extends (_b189 = MySqlColumnWithAutoIncrement, _a264 = entityKind, _b189) {
33887
+ __publicField(MySqlFloatBuilder, _a277, "MySqlFloatBuilder");
33888
+ MySqlFloat = class extends (_b203 = MySqlColumnWithAutoIncrement, _a278 = entityKind, _b203) {
33632
33889
  getSQLType() {
33633
33890
  return "float";
33634
33891
  }
33635
33892
  };
33636
- __publicField(MySqlFloat, _a264, "MySqlFloat");
33893
+ __publicField(MySqlFloat, _a278, "MySqlFloat");
33637
33894
  }
33638
33895
  });
33639
33896
 
@@ -33642,14 +33899,14 @@ function int(a, b) {
33642
33899
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33643
33900
  return new MySqlIntBuilder(name2, config);
33644
33901
  }
33645
- var _a265, _b190, MySqlIntBuilder, _a266, _b191, MySqlInt;
33902
+ var _a279, _b204, MySqlIntBuilder, _a280, _b205, MySqlInt;
33646
33903
  var init_int = __esm({
33647
33904
  "../drizzle-orm/dist/mysql-core/columns/int.js"() {
33648
33905
  "use strict";
33649
33906
  init_entity();
33650
33907
  init_utils2();
33651
33908
  init_common4();
33652
- MySqlIntBuilder = class extends (_b190 = MySqlColumnBuilderWithAutoIncrement, _a265 = entityKind, _b190) {
33909
+ MySqlIntBuilder = class extends (_b204 = MySqlColumnBuilderWithAutoIncrement, _a279 = entityKind, _b204) {
33653
33910
  constructor(name2, config) {
33654
33911
  super(name2, "number", "MySqlInt");
33655
33912
  this.config.unsigned = config ? config.unsigned : false;
@@ -33659,8 +33916,8 @@ var init_int = __esm({
33659
33916
  return new MySqlInt(table4, this.config);
33660
33917
  }
33661
33918
  };
33662
- __publicField(MySqlIntBuilder, _a265, "MySqlIntBuilder");
33663
- MySqlInt = class extends (_b191 = MySqlColumnWithAutoIncrement, _a266 = entityKind, _b191) {
33919
+ __publicField(MySqlIntBuilder, _a279, "MySqlIntBuilder");
33920
+ MySqlInt = class extends (_b205 = MySqlColumnWithAutoIncrement, _a280 = entityKind, _b205) {
33664
33921
  getSQLType() {
33665
33922
  return `int${this.config.unsigned ? " unsigned" : ""}`;
33666
33923
  }
@@ -33671,7 +33928,7 @@ var init_int = __esm({
33671
33928
  return value;
33672
33929
  }
33673
33930
  };
33674
- __publicField(MySqlInt, _a266, "MySqlInt");
33931
+ __publicField(MySqlInt, _a280, "MySqlInt");
33675
33932
  }
33676
33933
  });
33677
33934
 
@@ -33679,13 +33936,13 @@ var init_int = __esm({
33679
33936
  function json2(name2) {
33680
33937
  return new MySqlJsonBuilder(name2 ?? "");
33681
33938
  }
33682
- var _a267, _b192, MySqlJsonBuilder, _a268, _b193, MySqlJson;
33939
+ var _a281, _b206, MySqlJsonBuilder, _a282, _b207, MySqlJson;
33683
33940
  var init_json2 = __esm({
33684
33941
  "../drizzle-orm/dist/mysql-core/columns/json.js"() {
33685
33942
  "use strict";
33686
33943
  init_entity();
33687
33944
  init_common4();
33688
- MySqlJsonBuilder = class extends (_b192 = MySqlColumnBuilder, _a267 = entityKind, _b192) {
33945
+ MySqlJsonBuilder = class extends (_b206 = MySqlColumnBuilder, _a281 = entityKind, _b206) {
33689
33946
  constructor(name2) {
33690
33947
  super(name2, "json", "MySqlJson");
33691
33948
  }
@@ -33694,8 +33951,8 @@ var init_json2 = __esm({
33694
33951
  return new MySqlJson(table4, this.config);
33695
33952
  }
33696
33953
  };
33697
- __publicField(MySqlJsonBuilder, _a267, "MySqlJsonBuilder");
33698
- MySqlJson = class extends (_b193 = MySqlColumn, _a268 = entityKind, _b193) {
33954
+ __publicField(MySqlJsonBuilder, _a281, "MySqlJsonBuilder");
33955
+ MySqlJson = class extends (_b207 = MySqlColumn, _a282 = entityKind, _b207) {
33699
33956
  getSQLType() {
33700
33957
  return "json";
33701
33958
  }
@@ -33703,7 +33960,7 @@ var init_json2 = __esm({
33703
33960
  return JSON.stringify(value);
33704
33961
  }
33705
33962
  };
33706
- __publicField(MySqlJson, _a268, "MySqlJson");
33963
+ __publicField(MySqlJson, _a282, "MySqlJson");
33707
33964
  }
33708
33965
  });
33709
33966
 
@@ -33712,14 +33969,14 @@ function mediumint(a, b) {
33712
33969
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33713
33970
  return new MySqlMediumIntBuilder(name2, config);
33714
33971
  }
33715
- var _a269, _b194, MySqlMediumIntBuilder, _a270, _b195, MySqlMediumInt;
33972
+ var _a283, _b208, MySqlMediumIntBuilder, _a284, _b209, MySqlMediumInt;
33716
33973
  var init_mediumint = __esm({
33717
33974
  "../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
33718
33975
  "use strict";
33719
33976
  init_entity();
33720
33977
  init_utils2();
33721
33978
  init_common4();
33722
- MySqlMediumIntBuilder = class extends (_b194 = MySqlColumnBuilderWithAutoIncrement, _a269 = entityKind, _b194) {
33979
+ MySqlMediumIntBuilder = class extends (_b208 = MySqlColumnBuilderWithAutoIncrement, _a283 = entityKind, _b208) {
33723
33980
  constructor(name2, config) {
33724
33981
  super(name2, "number", "MySqlMediumInt");
33725
33982
  this.config.unsigned = config ? config.unsigned : false;
@@ -33732,8 +33989,8 @@ var init_mediumint = __esm({
33732
33989
  );
33733
33990
  }
33734
33991
  };
33735
- __publicField(MySqlMediumIntBuilder, _a269, "MySqlMediumIntBuilder");
33736
- MySqlMediumInt = class extends (_b195 = MySqlColumnWithAutoIncrement, _a270 = entityKind, _b195) {
33992
+ __publicField(MySqlMediumIntBuilder, _a283, "MySqlMediumIntBuilder");
33993
+ MySqlMediumInt = class extends (_b209 = MySqlColumnWithAutoIncrement, _a284 = entityKind, _b209) {
33737
33994
  getSQLType() {
33738
33995
  return `mediumint${this.config.unsigned ? " unsigned" : ""}`;
33739
33996
  }
@@ -33744,7 +34001,7 @@ var init_mediumint = __esm({
33744
34001
  return value;
33745
34002
  }
33746
34003
  };
33747
- __publicField(MySqlMediumInt, _a270, "MySqlMediumInt");
34004
+ __publicField(MySqlMediumInt, _a284, "MySqlMediumInt");
33748
34005
  }
33749
34006
  });
33750
34007
 
@@ -33753,14 +34010,14 @@ function real3(a, b = {}) {
33753
34010
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33754
34011
  return new MySqlRealBuilder(name2, config);
33755
34012
  }
33756
- var _a271, _b196, MySqlRealBuilder, _a272, _b197, MySqlReal;
34013
+ var _a285, _b210, MySqlRealBuilder, _a286, _b211, MySqlReal;
33757
34014
  var init_real3 = __esm({
33758
34015
  "../drizzle-orm/dist/mysql-core/columns/real.js"() {
33759
34016
  "use strict";
33760
34017
  init_entity();
33761
34018
  init_utils2();
33762
34019
  init_common4();
33763
- MySqlRealBuilder = class extends (_b196 = MySqlColumnBuilderWithAutoIncrement, _a271 = entityKind, _b196) {
34020
+ MySqlRealBuilder = class extends (_b210 = MySqlColumnBuilderWithAutoIncrement, _a285 = entityKind, _b210) {
33764
34021
  constructor(name2, config) {
33765
34022
  super(name2, "number", "MySqlReal");
33766
34023
  this.config.precision = config?.precision;
@@ -33771,8 +34028,8 @@ var init_real3 = __esm({
33771
34028
  return new MySqlReal(table4, this.config);
33772
34029
  }
33773
34030
  };
33774
- __publicField(MySqlRealBuilder, _a271, "MySqlRealBuilder");
33775
- MySqlReal = class extends (_b197 = MySqlColumnWithAutoIncrement, _a272 = entityKind, _b197) {
34031
+ __publicField(MySqlRealBuilder, _a285, "MySqlRealBuilder");
34032
+ MySqlReal = class extends (_b211 = MySqlColumnWithAutoIncrement, _a286 = entityKind, _b211) {
33776
34033
  constructor() {
33777
34034
  super(...arguments);
33778
34035
  __publicField(this, "precision", this.config.precision);
@@ -33788,7 +34045,7 @@ var init_real3 = __esm({
33788
34045
  }
33789
34046
  }
33790
34047
  };
33791
- __publicField(MySqlReal, _a272, "MySqlReal");
34048
+ __publicField(MySqlReal, _a286, "MySqlReal");
33792
34049
  }
33793
34050
  });
33794
34051
 
@@ -33796,13 +34053,13 @@ var init_real3 = __esm({
33796
34053
  function serial2(name2) {
33797
34054
  return new MySqlSerialBuilder(name2 ?? "");
33798
34055
  }
33799
- var _a273, _b198, MySqlSerialBuilder, _a274, _b199, MySqlSerial;
34056
+ var _a287, _b212, MySqlSerialBuilder, _a288, _b213, MySqlSerial;
33800
34057
  var init_serial2 = __esm({
33801
34058
  "../drizzle-orm/dist/mysql-core/columns/serial.js"() {
33802
34059
  "use strict";
33803
34060
  init_entity();
33804
34061
  init_common4();
33805
- MySqlSerialBuilder = class extends (_b198 = MySqlColumnBuilderWithAutoIncrement, _a273 = entityKind, _b198) {
34062
+ MySqlSerialBuilder = class extends (_b212 = MySqlColumnBuilderWithAutoIncrement, _a287 = entityKind, _b212) {
33806
34063
  constructor(name2) {
33807
34064
  super(name2, "number", "MySqlSerial");
33808
34065
  this.config.hasDefault = true;
@@ -33813,8 +34070,8 @@ var init_serial2 = __esm({
33813
34070
  return new MySqlSerial(table4, this.config);
33814
34071
  }
33815
34072
  };
33816
- __publicField(MySqlSerialBuilder, _a273, "MySqlSerialBuilder");
33817
- MySqlSerial = class extends (_b199 = MySqlColumnWithAutoIncrement, _a274 = entityKind, _b199) {
34073
+ __publicField(MySqlSerialBuilder, _a287, "MySqlSerialBuilder");
34074
+ MySqlSerial = class extends (_b213 = MySqlColumnWithAutoIncrement, _a288 = entityKind, _b213) {
33818
34075
  getSQLType() {
33819
34076
  return "serial";
33820
34077
  }
@@ -33825,7 +34082,7 @@ var init_serial2 = __esm({
33825
34082
  return value;
33826
34083
  }
33827
34084
  };
33828
- __publicField(MySqlSerial, _a274, "MySqlSerial");
34085
+ __publicField(MySqlSerial, _a288, "MySqlSerial");
33829
34086
  }
33830
34087
  });
33831
34088
 
@@ -33834,14 +34091,14 @@ function smallint2(a, b) {
33834
34091
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33835
34092
  return new MySqlSmallIntBuilder(name2, config);
33836
34093
  }
33837
- var _a275, _b200, MySqlSmallIntBuilder, _a276, _b201, MySqlSmallInt;
34094
+ var _a289, _b214, MySqlSmallIntBuilder, _a290, _b215, MySqlSmallInt;
33838
34095
  var init_smallint2 = __esm({
33839
34096
  "../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
33840
34097
  "use strict";
33841
34098
  init_entity();
33842
34099
  init_utils2();
33843
34100
  init_common4();
33844
- MySqlSmallIntBuilder = class extends (_b200 = MySqlColumnBuilderWithAutoIncrement, _a275 = entityKind, _b200) {
34101
+ MySqlSmallIntBuilder = class extends (_b214 = MySqlColumnBuilderWithAutoIncrement, _a289 = entityKind, _b214) {
33845
34102
  constructor(name2, config) {
33846
34103
  super(name2, "number", "MySqlSmallInt");
33847
34104
  this.config.unsigned = config ? config.unsigned : false;
@@ -33854,8 +34111,8 @@ var init_smallint2 = __esm({
33854
34111
  );
33855
34112
  }
33856
34113
  };
33857
- __publicField(MySqlSmallIntBuilder, _a275, "MySqlSmallIntBuilder");
33858
- MySqlSmallInt = class extends (_b201 = MySqlColumnWithAutoIncrement, _a276 = entityKind, _b201) {
34114
+ __publicField(MySqlSmallIntBuilder, _a289, "MySqlSmallIntBuilder");
34115
+ MySqlSmallInt = class extends (_b215 = MySqlColumnWithAutoIncrement, _a290 = entityKind, _b215) {
33859
34116
  getSQLType() {
33860
34117
  return `smallint${this.config.unsigned ? " unsigned" : ""}`;
33861
34118
  }
@@ -33866,7 +34123,7 @@ var init_smallint2 = __esm({
33866
34123
  return value;
33867
34124
  }
33868
34125
  };
33869
- __publicField(MySqlSmallInt, _a276, "MySqlSmallInt");
34126
+ __publicField(MySqlSmallInt, _a290, "MySqlSmallInt");
33870
34127
  }
33871
34128
  });
33872
34129
 
@@ -33875,14 +34132,14 @@ function text3(a, b = {}) {
33875
34132
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33876
34133
  return new MySqlTextBuilder(name2, "text", config);
33877
34134
  }
33878
- var _a277, _b202, MySqlTextBuilder, _a278, _b203, MySqlText;
34135
+ var _a291, _b216, MySqlTextBuilder, _a292, _b217, MySqlText;
33879
34136
  var init_text3 = __esm({
33880
34137
  "../drizzle-orm/dist/mysql-core/columns/text.js"() {
33881
34138
  "use strict";
33882
34139
  init_entity();
33883
34140
  init_utils2();
33884
34141
  init_common4();
33885
- MySqlTextBuilder = class extends (_b202 = MySqlColumnBuilder, _a277 = entityKind, _b202) {
34142
+ MySqlTextBuilder = class extends (_b216 = MySqlColumnBuilder, _a291 = entityKind, _b216) {
33886
34143
  constructor(name2, textType, config) {
33887
34144
  super(name2, "string", "MySqlText");
33888
34145
  this.config.textType = textType;
@@ -33893,8 +34150,8 @@ var init_text3 = __esm({
33893
34150
  return new MySqlText(table4, this.config);
33894
34151
  }
33895
34152
  };
33896
- __publicField(MySqlTextBuilder, _a277, "MySqlTextBuilder");
33897
- MySqlText = class extends (_b203 = MySqlColumn, _a278 = entityKind, _b203) {
34153
+ __publicField(MySqlTextBuilder, _a291, "MySqlTextBuilder");
34154
+ MySqlText = class extends (_b217 = MySqlColumn, _a292 = entityKind, _b217) {
33898
34155
  constructor() {
33899
34156
  super(...arguments);
33900
34157
  __publicField(this, "textType", this.config.textType);
@@ -33904,7 +34161,7 @@ var init_text3 = __esm({
33904
34161
  return this.textType;
33905
34162
  }
33906
34163
  };
33907
- __publicField(MySqlText, _a278, "MySqlText");
34164
+ __publicField(MySqlText, _a292, "MySqlText");
33908
34165
  }
33909
34166
  });
33910
34167
 
@@ -33913,14 +34170,14 @@ function time2(a, b) {
33913
34170
  const { name: name2, config } = getColumnNameAndConfig(a, b);
33914
34171
  return new MySqlTimeBuilder(name2, config);
33915
34172
  }
33916
- var _a279, _b204, MySqlTimeBuilder, _a280, _b205, MySqlTime;
34173
+ var _a293, _b218, MySqlTimeBuilder, _a294, _b219, MySqlTime;
33917
34174
  var init_time2 = __esm({
33918
34175
  "../drizzle-orm/dist/mysql-core/columns/time.js"() {
33919
34176
  "use strict";
33920
34177
  init_entity();
33921
34178
  init_utils2();
33922
34179
  init_common4();
33923
- MySqlTimeBuilder = class extends (_b204 = MySqlColumnBuilder, _a279 = entityKind, _b204) {
34180
+ MySqlTimeBuilder = class extends (_b218 = MySqlColumnBuilder, _a293 = entityKind, _b218) {
33924
34181
  constructor(name2, config) {
33925
34182
  super(name2, "string", "MySqlTime");
33926
34183
  this.config.fsp = config?.fsp;
@@ -33930,8 +34187,8 @@ var init_time2 = __esm({
33930
34187
  return new MySqlTime(table4, this.config);
33931
34188
  }
33932
34189
  };
33933
- __publicField(MySqlTimeBuilder, _a279, "MySqlTimeBuilder");
33934
- MySqlTime = class extends (_b205 = MySqlColumn, _a280 = entityKind, _b205) {
34190
+ __publicField(MySqlTimeBuilder, _a293, "MySqlTimeBuilder");
34191
+ MySqlTime = class extends (_b219 = MySqlColumn, _a294 = entityKind, _b219) {
33935
34192
  constructor() {
33936
34193
  super(...arguments);
33937
34194
  __publicField(this, "fsp", this.config.fsp);
@@ -33941,19 +34198,19 @@ var init_time2 = __esm({
33941
34198
  return `time${precision}`;
33942
34199
  }
33943
34200
  };
33944
- __publicField(MySqlTime, _a280, "MySqlTime");
34201
+ __publicField(MySqlTime, _a294, "MySqlTime");
33945
34202
  }
33946
34203
  });
33947
34204
 
33948
34205
  // ../drizzle-orm/dist/mysql-core/columns/date.common.js
33949
- var _a281, _b206, MySqlDateColumnBaseBuilder, _a282, _b207, MySqlDateBaseColumn;
34206
+ var _a295, _b220, MySqlDateColumnBaseBuilder, _a296, _b221, MySqlDateBaseColumn;
33950
34207
  var init_date_common2 = __esm({
33951
34208
  "../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
33952
34209
  "use strict";
33953
34210
  init_entity();
33954
34211
  init_sql();
33955
34212
  init_common4();
33956
- MySqlDateColumnBaseBuilder = class extends (_b206 = MySqlColumnBuilder, _a281 = entityKind, _b206) {
34213
+ MySqlDateColumnBaseBuilder = class extends (_b220 = MySqlColumnBuilder, _a295 = entityKind, _b220) {
33957
34214
  defaultNow() {
33958
34215
  return this.default(sql`(now())`);
33959
34216
  }
@@ -33964,14 +34221,14 @@ var init_date_common2 = __esm({
33964
34221
  return this;
33965
34222
  }
33966
34223
  };
33967
- __publicField(MySqlDateColumnBaseBuilder, _a281, "MySqlDateColumnBuilder");
33968
- MySqlDateBaseColumn = class extends (_b207 = MySqlColumn, _a282 = entityKind, _b207) {
34224
+ __publicField(MySqlDateColumnBaseBuilder, _a295, "MySqlDateColumnBuilder");
34225
+ MySqlDateBaseColumn = class extends (_b221 = MySqlColumn, _a296 = entityKind, _b221) {
33969
34226
  constructor() {
33970
34227
  super(...arguments);
33971
34228
  __publicField(this, "hasOnUpdateNow", this.config.hasOnUpdateNow);
33972
34229
  }
33973
34230
  };
33974
- __publicField(MySqlDateBaseColumn, _a282, "MySqlDateColumn");
34231
+ __publicField(MySqlDateBaseColumn, _a296, "MySqlDateColumn");
33975
34232
  }
33976
34233
  });
33977
34234
 
@@ -33983,14 +34240,14 @@ function timestamp2(a, b = {}) {
33983
34240
  }
33984
34241
  return new MySqlTimestampBuilder(name2, config);
33985
34242
  }
33986
- var _a283, _b208, MySqlTimestampBuilder, _a284, _b209, MySqlTimestamp, _a285, _b210, MySqlTimestampStringBuilder, _a286, _b211, MySqlTimestampString;
34243
+ var _a297, _b222, MySqlTimestampBuilder, _a298, _b223, MySqlTimestamp, _a299, _b224, MySqlTimestampStringBuilder, _a300, _b225, MySqlTimestampString;
33987
34244
  var init_timestamp2 = __esm({
33988
34245
  "../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
33989
34246
  "use strict";
33990
34247
  init_entity();
33991
34248
  init_utils2();
33992
34249
  init_date_common2();
33993
- MySqlTimestampBuilder = class extends (_b208 = MySqlDateColumnBaseBuilder, _a283 = entityKind, _b208) {
34250
+ MySqlTimestampBuilder = class extends (_b222 = MySqlDateColumnBaseBuilder, _a297 = entityKind, _b222) {
33994
34251
  constructor(name2, config) {
33995
34252
  super(name2, "date", "MySqlTimestamp");
33996
34253
  this.config.fsp = config?.fsp;
@@ -34003,8 +34260,8 @@ var init_timestamp2 = __esm({
34003
34260
  );
34004
34261
  }
34005
34262
  };
34006
- __publicField(MySqlTimestampBuilder, _a283, "MySqlTimestampBuilder");
34007
- MySqlTimestamp = class extends (_b209 = MySqlDateBaseColumn, _a284 = entityKind, _b209) {
34263
+ __publicField(MySqlTimestampBuilder, _a297, "MySqlTimestampBuilder");
34264
+ MySqlTimestamp = class extends (_b223 = MySqlDateBaseColumn, _a298 = entityKind, _b223) {
34008
34265
  constructor() {
34009
34266
  super(...arguments);
34010
34267
  __publicField(this, "fsp", this.config.fsp);
@@ -34020,8 +34277,8 @@ var init_timestamp2 = __esm({
34020
34277
  return value.toISOString().slice(0, -1).replace("T", " ");
34021
34278
  }
34022
34279
  };
34023
- __publicField(MySqlTimestamp, _a284, "MySqlTimestamp");
34024
- MySqlTimestampStringBuilder = class extends (_b210 = MySqlDateColumnBaseBuilder, _a285 = entityKind, _b210) {
34280
+ __publicField(MySqlTimestamp, _a298, "MySqlTimestamp");
34281
+ MySqlTimestampStringBuilder = class extends (_b224 = MySqlDateColumnBaseBuilder, _a299 = entityKind, _b224) {
34025
34282
  constructor(name2, config) {
34026
34283
  super(name2, "string", "MySqlTimestampString");
34027
34284
  this.config.fsp = config?.fsp;
@@ -34034,8 +34291,8 @@ var init_timestamp2 = __esm({
34034
34291
  );
34035
34292
  }
34036
34293
  };
34037
- __publicField(MySqlTimestampStringBuilder, _a285, "MySqlTimestampStringBuilder");
34038
- MySqlTimestampString = class extends (_b211 = MySqlDateBaseColumn, _a286 = entityKind, _b211) {
34294
+ __publicField(MySqlTimestampStringBuilder, _a299, "MySqlTimestampStringBuilder");
34295
+ MySqlTimestampString = class extends (_b225 = MySqlDateBaseColumn, _a300 = entityKind, _b225) {
34039
34296
  constructor() {
34040
34297
  super(...arguments);
34041
34298
  __publicField(this, "fsp", this.config.fsp);
@@ -34045,7 +34302,7 @@ var init_timestamp2 = __esm({
34045
34302
  return `timestamp${precision}`;
34046
34303
  }
34047
34304
  };
34048
- __publicField(MySqlTimestampString, _a286, "MySqlTimestampString");
34305
+ __publicField(MySqlTimestampString, _a300, "MySqlTimestampString");
34049
34306
  }
34050
34307
  });
34051
34308
 
@@ -34054,14 +34311,14 @@ function tinyint(a, b) {
34054
34311
  const { name: name2, config } = getColumnNameAndConfig(a, b);
34055
34312
  return new MySqlTinyIntBuilder(name2, config);
34056
34313
  }
34057
- var _a287, _b212, MySqlTinyIntBuilder, _a288, _b213, MySqlTinyInt;
34314
+ var _a301, _b226, MySqlTinyIntBuilder, _a302, _b227, MySqlTinyInt;
34058
34315
  var init_tinyint = __esm({
34059
34316
  "../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
34060
34317
  "use strict";
34061
34318
  init_entity();
34062
34319
  init_utils2();
34063
34320
  init_common4();
34064
- MySqlTinyIntBuilder = class extends (_b212 = MySqlColumnBuilderWithAutoIncrement, _a287 = entityKind, _b212) {
34321
+ MySqlTinyIntBuilder = class extends (_b226 = MySqlColumnBuilderWithAutoIncrement, _a301 = entityKind, _b226) {
34065
34322
  constructor(name2, config) {
34066
34323
  super(name2, "number", "MySqlTinyInt");
34067
34324
  this.config.unsigned = config ? config.unsigned : false;
@@ -34074,8 +34331,8 @@ var init_tinyint = __esm({
34074
34331
  );
34075
34332
  }
34076
34333
  };
34077
- __publicField(MySqlTinyIntBuilder, _a287, "MySqlTinyIntBuilder");
34078
- MySqlTinyInt = class extends (_b213 = MySqlColumnWithAutoIncrement, _a288 = entityKind, _b213) {
34334
+ __publicField(MySqlTinyIntBuilder, _a301, "MySqlTinyIntBuilder");
34335
+ MySqlTinyInt = class extends (_b227 = MySqlColumnWithAutoIncrement, _a302 = entityKind, _b227) {
34079
34336
  getSQLType() {
34080
34337
  return `tinyint${this.config.unsigned ? " unsigned" : ""}`;
34081
34338
  }
@@ -34086,7 +34343,7 @@ var init_tinyint = __esm({
34086
34343
  return value;
34087
34344
  }
34088
34345
  };
34089
- __publicField(MySqlTinyInt, _a288, "MySqlTinyInt");
34346
+ __publicField(MySqlTinyInt, _a302, "MySqlTinyInt");
34090
34347
  }
34091
34348
  });
34092
34349
 
@@ -34095,14 +34352,14 @@ function varbinary(a, b) {
34095
34352
  const { name: name2, config } = getColumnNameAndConfig(a, b);
34096
34353
  return new MySqlVarBinaryBuilder(name2, config);
34097
34354
  }
34098
- var _a289, _b214, MySqlVarBinaryBuilder, _a290, _b215, MySqlVarBinary;
34355
+ var _a303, _b228, MySqlVarBinaryBuilder, _a304, _b229, MySqlVarBinary;
34099
34356
  var init_varbinary = __esm({
34100
34357
  "../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
34101
34358
  "use strict";
34102
34359
  init_entity();
34103
34360
  init_utils2();
34104
34361
  init_common4();
34105
- MySqlVarBinaryBuilder = class extends (_b214 = MySqlColumnBuilder, _a289 = entityKind, _b214) {
34362
+ MySqlVarBinaryBuilder = class extends (_b228 = MySqlColumnBuilder, _a303 = entityKind, _b228) {
34106
34363
  /** @internal */
34107
34364
  constructor(name2, config) {
34108
34365
  super(name2, "string", "MySqlVarBinary");
@@ -34116,8 +34373,8 @@ var init_varbinary = __esm({
34116
34373
  );
34117
34374
  }
34118
34375
  };
34119
- __publicField(MySqlVarBinaryBuilder, _a289, "MySqlVarBinaryBuilder");
34120
- MySqlVarBinary = class extends (_b215 = MySqlColumn, _a290 = entityKind, _b215) {
34376
+ __publicField(MySqlVarBinaryBuilder, _a303, "MySqlVarBinaryBuilder");
34377
+ MySqlVarBinary = class extends (_b229 = MySqlColumn, _a304 = entityKind, _b229) {
34121
34378
  constructor() {
34122
34379
  super(...arguments);
34123
34380
  __publicField(this, "length", this.config.length);
@@ -34126,7 +34383,7 @@ var init_varbinary = __esm({
34126
34383
  return this.length === void 0 ? `varbinary` : `varbinary(${this.length})`;
34127
34384
  }
34128
34385
  };
34129
- __publicField(MySqlVarBinary, _a290, "MySqlVarBinary");
34386
+ __publicField(MySqlVarBinary, _a304, "MySqlVarBinary");
34130
34387
  }
34131
34388
  });
34132
34389
 
@@ -34135,14 +34392,14 @@ function varchar2(a, b) {
34135
34392
  const { name: name2, config } = getColumnNameAndConfig(a, b);
34136
34393
  return new MySqlVarCharBuilder(name2, config);
34137
34394
  }
34138
- var _a291, _b216, MySqlVarCharBuilder, _a292, _b217, MySqlVarChar;
34395
+ var _a305, _b230, MySqlVarCharBuilder, _a306, _b231, MySqlVarChar;
34139
34396
  var init_varchar2 = __esm({
34140
34397
  "../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
34141
34398
  "use strict";
34142
34399
  init_entity();
34143
34400
  init_utils2();
34144
34401
  init_common4();
34145
- MySqlVarCharBuilder = class extends (_b216 = MySqlColumnBuilder, _a291 = entityKind, _b216) {
34402
+ MySqlVarCharBuilder = class extends (_b230 = MySqlColumnBuilder, _a305 = entityKind, _b230) {
34146
34403
  /** @internal */
34147
34404
  constructor(name2, config) {
34148
34405
  super(name2, "string", "MySqlVarChar");
@@ -34157,8 +34414,8 @@ var init_varchar2 = __esm({
34157
34414
  );
34158
34415
  }
34159
34416
  };
34160
- __publicField(MySqlVarCharBuilder, _a291, "MySqlVarCharBuilder");
34161
- MySqlVarChar = class extends (_b217 = MySqlColumn, _a292 = entityKind, _b217) {
34417
+ __publicField(MySqlVarCharBuilder, _a305, "MySqlVarCharBuilder");
34418
+ MySqlVarChar = class extends (_b231 = MySqlColumn, _a306 = entityKind, _b231) {
34162
34419
  constructor() {
34163
34420
  super(...arguments);
34164
34421
  __publicField(this, "length", this.config.length);
@@ -34168,7 +34425,7 @@ var init_varchar2 = __esm({
34168
34425
  return this.length === void 0 ? `varchar` : `varchar(${this.length})`;
34169
34426
  }
34170
34427
  };
34171
- __publicField(MySqlVarChar, _a292, "MySqlVarChar");
34428
+ __publicField(MySqlVarChar, _a306, "MySqlVarChar");
34172
34429
  }
34173
34430
  });
34174
34431
 
@@ -34176,13 +34433,13 @@ var init_varchar2 = __esm({
34176
34433
  function year(name2) {
34177
34434
  return new MySqlYearBuilder(name2 ?? "");
34178
34435
  }
34179
- var _a293, _b218, MySqlYearBuilder, _a294, _b219, MySqlYear;
34436
+ var _a307, _b232, MySqlYearBuilder, _a308, _b233, MySqlYear;
34180
34437
  var init_year = __esm({
34181
34438
  "../drizzle-orm/dist/mysql-core/columns/year.js"() {
34182
34439
  "use strict";
34183
34440
  init_entity();
34184
34441
  init_common4();
34185
- MySqlYearBuilder = class extends (_b218 = MySqlColumnBuilder, _a293 = entityKind, _b218) {
34442
+ MySqlYearBuilder = class extends (_b232 = MySqlColumnBuilder, _a307 = entityKind, _b232) {
34186
34443
  constructor(name2) {
34187
34444
  super(name2, "number", "MySqlYear");
34188
34445
  }
@@ -34191,13 +34448,13 @@ var init_year = __esm({
34191
34448
  return new MySqlYear(table4, this.config);
34192
34449
  }
34193
34450
  };
34194
- __publicField(MySqlYearBuilder, _a293, "MySqlYearBuilder");
34195
- MySqlYear = class extends (_b219 = MySqlColumn, _a294 = entityKind, _b219) {
34451
+ __publicField(MySqlYearBuilder, _a307, "MySqlYearBuilder");
34452
+ MySqlYear = class extends (_b233 = MySqlColumn, _a308 = entityKind, _b233) {
34196
34453
  getSQLType() {
34197
34454
  return `year`;
34198
34455
  }
34199
34456
  };
34200
- __publicField(MySqlYear, _a294, "MySqlYear");
34457
+ __publicField(MySqlYear, _a308, "MySqlYear");
34201
34458
  }
34202
34459
  });
34203
34460
 
@@ -34234,17 +34491,17 @@ var init_columns3 = __esm({
34234
34491
  });
34235
34492
 
34236
34493
  // ../drizzle-orm/dist/mysql-core/query-builders/count.js
34237
- var _a295, _b220, _c8, _MySqlCountBuilder, MySqlCountBuilder;
34494
+ var _a309, _b234, _c8, _MySqlCountBuilder, MySqlCountBuilder;
34238
34495
  var init_count3 = __esm({
34239
34496
  "../drizzle-orm/dist/mysql-core/query-builders/count.js"() {
34240
34497
  "use strict";
34241
34498
  init_entity();
34242
34499
  init_sql();
34243
- _MySqlCountBuilder = class _MySqlCountBuilder extends (_c8 = SQL, _b220 = entityKind, _a295 = Symbol.toStringTag, _c8) {
34500
+ _MySqlCountBuilder = class _MySqlCountBuilder extends (_c8 = SQL, _b234 = entityKind, _a309 = Symbol.toStringTag, _c8) {
34244
34501
  constructor(params) {
34245
34502
  super(_MySqlCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
34246
34503
  __publicField(this, "sql");
34247
- __publicField(this, _a295, "MySqlCountBuilder");
34504
+ __publicField(this, _a309, "MySqlCountBuilder");
34248
34505
  __publicField(this, "session");
34249
34506
  this.params = params;
34250
34507
  this.mapWith(Number);
@@ -34282,13 +34539,13 @@ var init_count3 = __esm({
34282
34539
  );
34283
34540
  }
34284
34541
  };
34285
- __publicField(_MySqlCountBuilder, _b220, "MySqlCountBuilder");
34542
+ __publicField(_MySqlCountBuilder, _b234, "MySqlCountBuilder");
34286
34543
  MySqlCountBuilder = _MySqlCountBuilder;
34287
34544
  }
34288
34545
  });
34289
34546
 
34290
34547
  // ../drizzle-orm/dist/mysql-core/query-builders/delete.js
34291
- var _a296, _b221, MySqlDeleteBase;
34548
+ var _a310, _b235, MySqlDeleteBase;
34292
34549
  var init_delete3 = __esm({
34293
34550
  "../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
34294
34551
  "use strict";
@@ -34296,7 +34553,7 @@ var init_delete3 = __esm({
34296
34553
  init_query_promise();
34297
34554
  init_selection_proxy();
34298
34555
  init_table();
34299
- MySqlDeleteBase = class extends (_b221 = QueryPromise, _a296 = entityKind, _b221) {
34556
+ MySqlDeleteBase = class extends (_b235 = QueryPromise, _a310 = entityKind, _b235) {
34300
34557
  constructor(table4, session, dialect4, withList) {
34301
34558
  super();
34302
34559
  __publicField(this, "config");
@@ -34386,12 +34643,12 @@ var init_delete3 = __esm({
34386
34643
  return this;
34387
34644
  }
34388
34645
  };
34389
- __publicField(MySqlDeleteBase, _a296, "MySqlDelete");
34646
+ __publicField(MySqlDeleteBase, _a310, "MySqlDelete");
34390
34647
  }
34391
34648
  });
34392
34649
 
34393
34650
  // ../drizzle-orm/dist/mysql-core/query-builders/insert.js
34394
- var _a297, MySqlInsertBuilder, _a298, _b222, MySqlInsertBase;
34651
+ var _a311, MySqlInsertBuilder, _a312, _b236, MySqlInsertBase;
34395
34652
  var init_insert3 = __esm({
34396
34653
  "../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
34397
34654
  "use strict";
@@ -34400,7 +34657,7 @@ var init_insert3 = __esm({
34400
34657
  init_sql();
34401
34658
  init_table();
34402
34659
  init_utils2();
34403
- _a297 = entityKind;
34660
+ _a311 = entityKind;
34404
34661
  MySqlInsertBuilder = class {
34405
34662
  constructor(table4, session, dialect4) {
34406
34663
  __publicField(this, "shouldIgnore", false);
@@ -34429,8 +34686,8 @@ var init_insert3 = __esm({
34429
34686
  return new MySqlInsertBase(this.table, mappedValues, this.shouldIgnore, this.session, this.dialect);
34430
34687
  }
34431
34688
  };
34432
- __publicField(MySqlInsertBuilder, _a297, "MySqlInsertBuilder");
34433
- MySqlInsertBase = class extends (_b222 = QueryPromise, _a298 = entityKind, _b222) {
34689
+ __publicField(MySqlInsertBuilder, _a311, "MySqlInsertBuilder");
34690
+ MySqlInsertBase = class extends (_b236 = QueryPromise, _a312 = entityKind, _b236) {
34434
34691
  constructor(table4, values, ignore, session, dialect4) {
34435
34692
  super();
34436
34693
  __publicField(this, "config");
@@ -34511,7 +34768,7 @@ var init_insert3 = __esm({
34511
34768
  return this;
34512
34769
  }
34513
34770
  };
34514
- __publicField(MySqlInsertBase, _a298, "MySqlInsert");
34771
+ __publicField(MySqlInsertBase, _a312, "MySqlInsert");
34515
34772
  }
34516
34773
  });
34517
34774
 
@@ -34595,7 +34852,7 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
34595
34852
  }
34596
34853
  return table4;
34597
34854
  }
34598
- var InlineForeignKeys3, _a299, _b223, _c9, _d4, _e3, MySqlTable, mysqlTable;
34855
+ var InlineForeignKeys3, _a313, _b237, _c9, _d4, _e3, MySqlTable, mysqlTable;
34599
34856
  var init_table4 = __esm({
34600
34857
  "../drizzle-orm/dist/mysql-core/table.js"() {
34601
34858
  "use strict";
@@ -34603,15 +34860,15 @@ var init_table4 = __esm({
34603
34860
  init_table();
34604
34861
  init_all3();
34605
34862
  InlineForeignKeys3 = Symbol.for("drizzle:MySqlInlineForeignKeys");
34606
- MySqlTable = class extends (_e3 = Table, _d4 = entityKind, _c9 = Table.Symbol.Columns, _b223 = InlineForeignKeys3, _a299 = Table.Symbol.ExtraConfigBuilder, _e3) {
34863
+ MySqlTable = class extends (_e3 = Table, _d4 = entityKind, _c9 = Table.Symbol.Columns, _b237 = InlineForeignKeys3, _a313 = Table.Symbol.ExtraConfigBuilder, _e3) {
34607
34864
  constructor() {
34608
34865
  super(...arguments);
34609
34866
  /** @internal */
34610
34867
  __publicField(this, _c9);
34611
34868
  /** @internal */
34612
- __publicField(this, _b223, []);
34869
+ __publicField(this, _b237, []);
34613
34870
  /** @internal */
34614
- __publicField(this, _a299);
34871
+ __publicField(this, _a313);
34615
34872
  }
34616
34873
  };
34617
34874
  __publicField(MySqlTable, _d4, "MySqlTable");
@@ -34626,20 +34883,20 @@ var init_table4 = __esm({
34626
34883
  });
34627
34884
 
34628
34885
  // ../drizzle-orm/dist/mysql-core/view-base.js
34629
- var _a300, _b224, MySqlViewBase;
34886
+ var _a314, _b238, MySqlViewBase;
34630
34887
  var init_view_base3 = __esm({
34631
34888
  "../drizzle-orm/dist/mysql-core/view-base.js"() {
34632
34889
  "use strict";
34633
34890
  init_entity();
34634
34891
  init_sql();
34635
- MySqlViewBase = class extends (_b224 = View3, _a300 = entityKind, _b224) {
34892
+ MySqlViewBase = class extends (_b238 = View3, _a314 = entityKind, _b238) {
34636
34893
  };
34637
- __publicField(MySqlViewBase, _a300, "MySqlViewBase");
34894
+ __publicField(MySqlViewBase, _a314, "MySqlViewBase");
34638
34895
  }
34639
34896
  });
34640
34897
 
34641
34898
  // ../drizzle-orm/dist/mysql-core/dialect.js
34642
- var _a301, MySqlDialect;
34899
+ var _a315, MySqlDialect;
34643
34900
  var init_dialect3 = __esm({
34644
34901
  "../drizzle-orm/dist/mysql-core/dialect.js"() {
34645
34902
  "use strict";
@@ -34658,7 +34915,7 @@ var init_dialect3 = __esm({
34658
34915
  init_common4();
34659
34916
  init_table4();
34660
34917
  init_view_base3();
34661
- _a301 = entityKind;
34918
+ _a315 = entityKind;
34662
34919
  MySqlDialect = class {
34663
34920
  constructor(config) {
34664
34921
  /** @internal */
@@ -35444,7 +35701,7 @@ var init_dialect3 = __esm({
35444
35701
  };
35445
35702
  }
35446
35703
  };
35447
- __publicField(MySqlDialect, _a301, "MySqlDialect");
35704
+ __publicField(MySqlDialect, _a315, "MySqlDialect");
35448
35705
  }
35449
35706
  });
35450
35707
 
@@ -35466,7 +35723,7 @@ function createSetOperator3(type, isAll) {
35466
35723
  return leftSelect.addSetOperators(setOperators);
35467
35724
  };
35468
35725
  }
35469
- var _a302, MySqlSelectBuilder, _a303, _b225, MySqlSelectQueryBuilderBase, _a304, _b226, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
35726
+ var _a316, MySqlSelectBuilder, _a317, _b239, MySqlSelectQueryBuilderBase, _a318, _b240, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
35470
35727
  var init_select4 = __esm({
35471
35728
  "../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
35472
35729
  "use strict";
@@ -35481,7 +35738,7 @@ var init_select4 = __esm({
35481
35738
  init_utils2();
35482
35739
  init_view_common();
35483
35740
  init_view_base3();
35484
- _a302 = entityKind;
35741
+ _a316 = entityKind;
35485
35742
  MySqlSelectBuilder = class {
35486
35743
  constructor(config) {
35487
35744
  __publicField(this, "fields");
@@ -35526,8 +35783,8 @@ var init_select4 = __esm({
35526
35783
  );
35527
35784
  }
35528
35785
  };
35529
- __publicField(MySqlSelectBuilder, _a302, "MySqlSelectBuilder");
35530
- MySqlSelectQueryBuilderBase = class extends (_b225 = TypedQueryBuilder, _a303 = entityKind, _b225) {
35786
+ __publicField(MySqlSelectBuilder, _a316, "MySqlSelectBuilder");
35787
+ MySqlSelectQueryBuilderBase = class extends (_b239 = TypedQueryBuilder, _a317 = entityKind, _b239) {
35531
35788
  constructor({ table: table4, fields, isPartialSelect, session, dialect: dialect4, withList, distinct }) {
35532
35789
  super();
35533
35790
  __publicField(this, "_");
@@ -36128,8 +36385,8 @@ var init_select4 = __esm({
36128
36385
  return this;
36129
36386
  }
36130
36387
  };
36131
- __publicField(MySqlSelectQueryBuilderBase, _a303, "MySqlSelectQueryBuilder");
36132
- MySqlSelectBase = class extends (_b226 = MySqlSelectQueryBuilderBase, _a304 = entityKind, _b226) {
36388
+ __publicField(MySqlSelectQueryBuilderBase, _a317, "MySqlSelectQueryBuilder");
36389
+ MySqlSelectBase = class extends (_b240 = MySqlSelectQueryBuilderBase, _a318 = entityKind, _b240) {
36133
36390
  constructor() {
36134
36391
  super(...arguments);
36135
36392
  __publicField(this, "execute", (placeholderValues) => {
@@ -36153,7 +36410,7 @@ var init_select4 = __esm({
36153
36410
  return query;
36154
36411
  }
36155
36412
  };
36156
- __publicField(MySqlSelectBase, _a304, "MySqlSelect");
36413
+ __publicField(MySqlSelectBase, _a318, "MySqlSelect");
36157
36414
  applyMixins(MySqlSelectBase, [QueryPromise]);
36158
36415
  getMySqlSetOperators = () => ({
36159
36416
  union: union3,
@@ -36173,7 +36430,7 @@ var init_select4 = __esm({
36173
36430
  });
36174
36431
 
36175
36432
  // ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
36176
- var _a305, QueryBuilder3;
36433
+ var _a319, QueryBuilder3;
36177
36434
  var init_query_builder4 = __esm({
36178
36435
  "../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
36179
36436
  "use strict";
@@ -36182,7 +36439,7 @@ var init_query_builder4 = __esm({
36182
36439
  init_selection_proxy();
36183
36440
  init_subquery();
36184
36441
  init_select4();
36185
- _a305 = entityKind;
36442
+ _a319 = entityKind;
36186
36443
  QueryBuilder3 = class {
36187
36444
  constructor(dialect4) {
36188
36445
  __publicField(this, "dialect");
@@ -36244,7 +36501,7 @@ var init_query_builder4 = __esm({
36244
36501
  return this.dialect;
36245
36502
  }
36246
36503
  };
36247
- __publicField(QueryBuilder3, _a305, "MySqlQueryBuilder");
36504
+ __publicField(QueryBuilder3, _a319, "MySqlQueryBuilder");
36248
36505
  }
36249
36506
  });
36250
36507
 
@@ -36256,7 +36513,7 @@ var init_select_types3 = __esm({
36256
36513
  });
36257
36514
 
36258
36515
  // ../drizzle-orm/dist/mysql-core/query-builders/update.js
36259
- var _a306, MySqlUpdateBuilder, _a307, _b227, MySqlUpdateBase;
36516
+ var _a320, MySqlUpdateBuilder, _a321, _b241, MySqlUpdateBase;
36260
36517
  var init_update3 = __esm({
36261
36518
  "../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
36262
36519
  "use strict";
@@ -36265,7 +36522,7 @@ var init_update3 = __esm({
36265
36522
  init_selection_proxy();
36266
36523
  init_table();
36267
36524
  init_utils2();
36268
- _a306 = entityKind;
36525
+ _a320 = entityKind;
36269
36526
  MySqlUpdateBuilder = class {
36270
36527
  constructor(table4, session, dialect4, withList) {
36271
36528
  this.table = table4;
@@ -36277,8 +36534,8 @@ var init_update3 = __esm({
36277
36534
  return new MySqlUpdateBase(this.table, mapUpdateSet(this.table, values), this.session, this.dialect, this.withList);
36278
36535
  }
36279
36536
  };
36280
- __publicField(MySqlUpdateBuilder, _a306, "MySqlUpdateBuilder");
36281
- MySqlUpdateBase = class extends (_b227 = QueryPromise, _a307 = entityKind, _b227) {
36537
+ __publicField(MySqlUpdateBuilder, _a320, "MySqlUpdateBuilder");
36538
+ MySqlUpdateBase = class extends (_b241 = QueryPromise, _a321 = entityKind, _b241) {
36282
36539
  constructor(table4, set, session, dialect4, withList) {
36283
36540
  super();
36284
36541
  __publicField(this, "config");
@@ -36371,7 +36628,7 @@ var init_update3 = __esm({
36371
36628
  return this;
36372
36629
  }
36373
36630
  };
36374
- __publicField(MySqlUpdateBase, _a307, "MySqlUpdate");
36631
+ __publicField(MySqlUpdateBase, _a321, "MySqlUpdate");
36375
36632
  }
36376
36633
  });
36377
36634
 
@@ -36389,14 +36646,14 @@ var init_query_builders3 = __esm({
36389
36646
  });
36390
36647
 
36391
36648
  // ../drizzle-orm/dist/mysql-core/query-builders/query.js
36392
- var _a308, RelationalQueryBuilder3, _a309, _b228, MySqlRelationalQuery;
36649
+ var _a322, RelationalQueryBuilder3, _a323, _b242, MySqlRelationalQuery;
36393
36650
  var init_query3 = __esm({
36394
36651
  "../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
36395
36652
  "use strict";
36396
36653
  init_entity();
36397
36654
  init_query_promise();
36398
36655
  init_relations();
36399
- _a308 = entityKind;
36656
+ _a322 = entityKind;
36400
36657
  RelationalQueryBuilder3 = class {
36401
36658
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, mode) {
36402
36659
  this.fullSchema = fullSchema;
@@ -36437,8 +36694,8 @@ var init_query3 = __esm({
36437
36694
  );
36438
36695
  }
36439
36696
  };
36440
- __publicField(RelationalQueryBuilder3, _a308, "MySqlRelationalQueryBuilder");
36441
- MySqlRelationalQuery = class extends (_b228 = QueryPromise, _a309 = entityKind, _b228) {
36697
+ __publicField(RelationalQueryBuilder3, _a322, "MySqlRelationalQueryBuilder");
36698
+ MySqlRelationalQuery = class extends (_b242 = QueryPromise, _a323 = entityKind, _b242) {
36442
36699
  constructor(fullSchema, schema4, tableNamesMap, table4, tableConfig, dialect4, session, config, queryMode, mode) {
36443
36700
  super();
36444
36701
  this.fullSchema = fullSchema;
@@ -36502,12 +36759,12 @@ var init_query3 = __esm({
36502
36759
  return this.prepare().execute();
36503
36760
  }
36504
36761
  };
36505
- __publicField(MySqlRelationalQuery, _a309, "MySqlRelationalQuery");
36762
+ __publicField(MySqlRelationalQuery, _a323, "MySqlRelationalQuery");
36506
36763
  }
36507
36764
  });
36508
36765
 
36509
36766
  // ../drizzle-orm/dist/mysql-core/db.js
36510
- var _a310, MySqlDatabase;
36767
+ var _a324, MySqlDatabase;
36511
36768
  var init_db3 = __esm({
36512
36769
  "../drizzle-orm/dist/mysql-core/db.js"() {
36513
36770
  "use strict";
@@ -36518,7 +36775,7 @@ var init_db3 = __esm({
36518
36775
  init_count3();
36519
36776
  init_query_builders3();
36520
36777
  init_query3();
36521
- _a310 = entityKind;
36778
+ _a324 = entityKind;
36522
36779
  MySqlDatabase = class {
36523
36780
  constructor(dialect4, session, schema4, mode) {
36524
36781
  __publicField(this, "query");
@@ -36731,17 +36988,17 @@ var init_db3 = __esm({
36731
36988
  return this.session.transaction(transaction, config);
36732
36989
  }
36733
36990
  };
36734
- __publicField(MySqlDatabase, _a310, "MySqlDatabase");
36991
+ __publicField(MySqlDatabase, _a324, "MySqlDatabase");
36735
36992
  }
36736
36993
  });
36737
36994
 
36738
36995
  // ../drizzle-orm/dist/mysql-core/indexes.js
36739
- var _a311, IndexBuilderOn3, _a312, IndexBuilder3, _a313, Index5;
36996
+ var _a325, IndexBuilderOn3, _a326, IndexBuilder3, _a327, Index5;
36740
36997
  var init_indexes3 = __esm({
36741
36998
  "../drizzle-orm/dist/mysql-core/indexes.js"() {
36742
36999
  "use strict";
36743
37000
  init_entity();
36744
- _a311 = entityKind;
37001
+ _a325 = entityKind;
36745
37002
  IndexBuilderOn3 = class {
36746
37003
  constructor(name2, unique) {
36747
37004
  this.name = name2;
@@ -36751,8 +37008,8 @@ var init_indexes3 = __esm({
36751
37008
  return new IndexBuilder3(this.name, columns, this.unique);
36752
37009
  }
36753
37010
  };
36754
- __publicField(IndexBuilderOn3, _a311, "MySqlIndexBuilderOn");
36755
- _a312 = entityKind;
37011
+ __publicField(IndexBuilderOn3, _a325, "MySqlIndexBuilderOn");
37012
+ _a326 = entityKind;
36756
37013
  IndexBuilder3 = class {
36757
37014
  constructor(name2, columns, unique) {
36758
37015
  /** @internal */
@@ -36780,26 +37037,26 @@ var init_indexes3 = __esm({
36780
37037
  return new Index5(this.config, table4);
36781
37038
  }
36782
37039
  };
36783
- __publicField(IndexBuilder3, _a312, "MySqlIndexBuilder");
36784
- _a313 = entityKind;
37040
+ __publicField(IndexBuilder3, _a326, "MySqlIndexBuilder");
37041
+ _a327 = entityKind;
36785
37042
  Index5 = class {
36786
37043
  constructor(config, table4) {
36787
37044
  __publicField(this, "config");
36788
37045
  this.config = { ...config, table: table4 };
36789
37046
  }
36790
37047
  };
36791
- __publicField(Index5, _a313, "MySqlIndex");
37048
+ __publicField(Index5, _a327, "MySqlIndex");
36792
37049
  }
36793
37050
  });
36794
37051
 
36795
37052
  // ../drizzle-orm/dist/mysql-core/primary-keys.js
36796
- var _a314, PrimaryKeyBuilder3, _a315, PrimaryKey3;
37053
+ var _a328, PrimaryKeyBuilder3, _a329, PrimaryKey3;
36797
37054
  var init_primary_keys3 = __esm({
36798
37055
  "../drizzle-orm/dist/mysql-core/primary-keys.js"() {
36799
37056
  "use strict";
36800
37057
  init_entity();
36801
37058
  init_table4();
36802
- _a314 = entityKind;
37059
+ _a328 = entityKind;
36803
37060
  PrimaryKeyBuilder3 = class {
36804
37061
  constructor(columns, name2) {
36805
37062
  /** @internal */
@@ -36814,8 +37071,8 @@ var init_primary_keys3 = __esm({
36814
37071
  return new PrimaryKey3(table4, this.columns, this.name);
36815
37072
  }
36816
37073
  };
36817
- __publicField(PrimaryKeyBuilder3, _a314, "MySqlPrimaryKeyBuilder");
36818
- _a315 = entityKind;
37074
+ __publicField(PrimaryKeyBuilder3, _a328, "MySqlPrimaryKeyBuilder");
37075
+ _a329 = entityKind;
36819
37076
  PrimaryKey3 = class {
36820
37077
  constructor(table4, columns, name2) {
36821
37078
  __publicField(this, "columns");
@@ -36828,7 +37085,7 @@ var init_primary_keys3 = __esm({
36828
37085
  return this.name ?? `${this.table[MySqlTable.Symbol.Name]}_${this.columns.map((column4) => column4.name).join("_")}_pk`;
36829
37086
  }
36830
37087
  };
36831
- __publicField(PrimaryKey3, _a315, "MySqlPrimaryKey");
37088
+ __publicField(PrimaryKey3, _a329, "MySqlPrimaryKey");
36832
37089
  }
36833
37090
  });
36834
37091
 
@@ -36848,7 +37105,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
36848
37105
  }
36849
37106
  return new ViewBuilder3(name2, schema4);
36850
37107
  }
36851
- var _a316, ViewBuilderCore2, _a317, _b229, ViewBuilder3, _a318, _b230, ManualViewBuilder3, _a319, _b231, _c10, MySqlView2;
37108
+ var _a330, ViewBuilderCore2, _a331, _b243, ViewBuilder3, _a332, _b244, ManualViewBuilder3, _a333, _b245, _c10, MySqlView2;
36852
37109
  var init_view3 = __esm({
36853
37110
  "../drizzle-orm/dist/mysql-core/view.js"() {
36854
37111
  "use strict";
@@ -36859,7 +37116,7 @@ var init_view3 = __esm({
36859
37116
  init_table4();
36860
37117
  init_view_base3();
36861
37118
  init_view_common3();
36862
- _a316 = entityKind;
37119
+ _a330 = entityKind;
36863
37120
  ViewBuilderCore2 = class {
36864
37121
  constructor(name2, schema4) {
36865
37122
  __publicField(this, "config", {});
@@ -36879,8 +37136,8 @@ var init_view3 = __esm({
36879
37136
  return this;
36880
37137
  }
36881
37138
  };
36882
- __publicField(ViewBuilderCore2, _a316, "MySqlViewBuilder");
36883
- ViewBuilder3 = class extends (_b229 = ViewBuilderCore2, _a317 = entityKind, _b229) {
37139
+ __publicField(ViewBuilderCore2, _a330, "MySqlViewBuilder");
37140
+ ViewBuilder3 = class extends (_b243 = ViewBuilderCore2, _a331 = entityKind, _b243) {
36884
37141
  as(qb) {
36885
37142
  if (typeof qb === "function") {
36886
37143
  qb = qb(new QueryBuilder3());
@@ -36906,8 +37163,8 @@ var init_view3 = __esm({
36906
37163
  );
36907
37164
  }
36908
37165
  };
36909
- __publicField(ViewBuilder3, _a317, "MySqlViewBuilder");
36910
- ManualViewBuilder3 = class extends (_b230 = ViewBuilderCore2, _a318 = entityKind, _b230) {
37166
+ __publicField(ViewBuilder3, _a331, "MySqlViewBuilder");
37167
+ ManualViewBuilder3 = class extends (_b244 = ViewBuilderCore2, _a332 = entityKind, _b244) {
36911
37168
  constructor(name2, columns, schema4) {
36912
37169
  super(name2, schema4);
36913
37170
  __publicField(this, "columns");
@@ -36952,27 +37209,27 @@ var init_view3 = __esm({
36952
37209
  );
36953
37210
  }
36954
37211
  };
36955
- __publicField(ManualViewBuilder3, _a318, "MySqlManualViewBuilder");
36956
- MySqlView2 = class extends (_c10 = MySqlViewBase, _b231 = entityKind, _a319 = MySqlViewConfig, _c10) {
37212
+ __publicField(ManualViewBuilder3, _a332, "MySqlManualViewBuilder");
37213
+ MySqlView2 = class extends (_c10 = MySqlViewBase, _b245 = entityKind, _a333 = MySqlViewConfig, _c10) {
36957
37214
  constructor({ mysqlConfig, config }) {
36958
37215
  super(config);
36959
- __publicField(this, _a319);
37216
+ __publicField(this, _a333);
36960
37217
  this[MySqlViewConfig] = mysqlConfig;
36961
37218
  }
36962
37219
  };
36963
- __publicField(MySqlView2, _b231, "MySqlView");
37220
+ __publicField(MySqlView2, _b245, "MySqlView");
36964
37221
  }
36965
37222
  });
36966
37223
 
36967
37224
  // ../drizzle-orm/dist/mysql-core/schema.js
36968
- var _a320, MySqlSchema5;
37225
+ var _a334, MySqlSchema5;
36969
37226
  var init_schema2 = __esm({
36970
37227
  "../drizzle-orm/dist/mysql-core/schema.js"() {
36971
37228
  "use strict";
36972
37229
  init_entity();
36973
37230
  init_table4();
36974
37231
  init_view3();
36975
- _a320 = entityKind;
37232
+ _a334 = entityKind;
36976
37233
  MySqlSchema5 = class {
36977
37234
  constructor(schemaName) {
36978
37235
  __publicField(this, "table", (name2, columns, extraConfig) => {
@@ -36984,12 +37241,12 @@ var init_schema2 = __esm({
36984
37241
  this.schemaName = schemaName;
36985
37242
  }
36986
37243
  };
36987
- __publicField(MySqlSchema5, _a320, "MySqlSchema");
37244
+ __publicField(MySqlSchema5, _a334, "MySqlSchema");
36988
37245
  }
36989
37246
  });
36990
37247
 
36991
37248
  // ../drizzle-orm/dist/mysql-core/session.js
36992
- var _a321, MySqlPreparedQuery, _a322, MySqlSession, _a323, _b232, MySqlTransaction;
37249
+ var _a335, MySqlPreparedQuery, _a336, MySqlSession, _a337, _b246, MySqlTransaction;
36993
37250
  var init_session3 = __esm({
36994
37251
  "../drizzle-orm/dist/mysql-core/session.js"() {
36995
37252
  "use strict";
@@ -36997,15 +37254,15 @@ var init_session3 = __esm({
36997
37254
  init_errors();
36998
37255
  init_sql();
36999
37256
  init_db3();
37000
- _a321 = entityKind;
37257
+ _a335 = entityKind;
37001
37258
  MySqlPreparedQuery = class {
37002
37259
  constructor() {
37003
37260
  /** @internal */
37004
37261
  __publicField(this, "joinsNotNullableMap");
37005
37262
  }
37006
37263
  };
37007
- __publicField(MySqlPreparedQuery, _a321, "MySqlPreparedQuery");
37008
- _a322 = entityKind;
37264
+ __publicField(MySqlPreparedQuery, _a335, "MySqlPreparedQuery");
37265
+ _a336 = entityKind;
37009
37266
  MySqlSession = class {
37010
37267
  constructor(dialect4) {
37011
37268
  this.dialect = dialect4;
@@ -37040,8 +37297,8 @@ var init_session3 = __esm({
37040
37297
  return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
37041
37298
  }
37042
37299
  };
37043
- __publicField(MySqlSession, _a322, "MySqlSession");
37044
- MySqlTransaction = class extends (_b232 = MySqlDatabase, _a323 = entityKind, _b232) {
37300
+ __publicField(MySqlSession, _a336, "MySqlSession");
37301
+ MySqlTransaction = class extends (_b246 = MySqlDatabase, _a337 = entityKind, _b246) {
37045
37302
  constructor(dialect4, session, schema4, nestedIndex, mode) {
37046
37303
  super(dialect4, session, schema4, mode);
37047
37304
  this.schema = schema4;
@@ -37051,7 +37308,7 @@ var init_session3 = __esm({
37051
37308
  throw new TransactionRollbackError();
37052
37309
  }
37053
37310
  };
37054
- __publicField(MySqlTransaction, _a323, "MySqlTransaction");
37311
+ __publicField(MySqlTransaction, _a337, "MySqlTransaction");
37055
37312
  }
37056
37313
  });
37057
37314