drizzle-orm 1.0.0-beta.6-d6f09ef → 1.0.0-beta.6-9514357
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_relations.d.cts +12 -12
- package/_relations.d.ts +6 -6
- package/alias.cjs +3 -3
- package/alias.d.cts +7 -7
- package/alias.d.ts +7 -7
- package/alias.js +3 -3
- package/aws-data-api/common/index.d.cts +1 -1
- package/aws-data-api/common/index.d.ts +1 -1
- package/aws-data-api/pg/driver.cjs +2 -2
- package/aws-data-api/pg/driver.d.cts +10 -10
- package/aws-data-api/pg/driver.d.ts +10 -10
- package/aws-data-api/pg/driver.js +5 -5
- package/aws-data-api/pg/driver.js.map +1 -1
- package/aws-data-api/pg/index.d.cts +2 -2
- package/aws-data-api/pg/index.d.ts +2 -2
- package/aws-data-api/pg/migrator.d.cts +4 -4
- package/aws-data-api/pg/migrator.d.ts +3 -3
- package/aws-data-api/pg/session.d.cts +9 -9
- package/aws-data-api/pg/session.d.ts +9 -9
- package/batch.d.cts +2 -2
- package/batch.d.ts +2 -2
- package/better-sqlite3/driver.cjs +1 -1
- package/better-sqlite3/driver.d.cts +4 -4
- package/better-sqlite3/driver.d.ts +4 -4
- package/better-sqlite3/driver.js +1 -1
- package/better-sqlite3/index.d.cts +2 -2
- package/better-sqlite3/index.d.ts +2 -2
- package/better-sqlite3/migrator.d.cts +4 -4
- package/better-sqlite3/migrator.d.ts +3 -3
- package/better-sqlite3/session.cjs +1 -1
- package/better-sqlite3/session.d.cts +11 -11
- package/better-sqlite3/session.d.ts +11 -11
- package/better-sqlite3/session.js +1 -1
- package/bun-sql/driver.d.cts +5 -5
- package/bun-sql/driver.d.ts +5 -5
- package/bun-sql/index.d.cts +2 -2
- package/bun-sql/index.d.ts +2 -2
- package/bun-sql/migrator.d.cts +9 -9
- package/bun-sql/migrator.d.ts +5 -5
- package/bun-sql/mysql/driver.cjs +2 -2
- package/bun-sql/mysql/driver.d.cts +6 -6
- package/bun-sql/mysql/driver.d.ts +6 -6
- package/bun-sql/mysql/driver.js +2 -2
- package/bun-sql/mysql/index.d.cts +2 -2
- package/bun-sql/mysql/index.d.ts +2 -2
- package/bun-sql/mysql/migrator.d.cts +4 -4
- package/bun-sql/mysql/migrator.d.ts +3 -3
- package/bun-sql/mysql/session.cjs +1 -1
- package/bun-sql/mysql/session.d.cts +11 -11
- package/bun-sql/mysql/session.d.ts +11 -11
- package/bun-sql/mysql/session.js +1 -1
- package/bun-sql/postgres/driver.cjs +1 -1
- package/bun-sql/postgres/driver.d.cts +5 -5
- package/bun-sql/postgres/driver.d.ts +5 -5
- package/bun-sql/postgres/driver.js +1 -1
- package/bun-sql/postgres/index.d.cts +2 -2
- package/bun-sql/postgres/index.d.ts +2 -2
- package/bun-sql/postgres/migrator.d.cts +4 -4
- package/bun-sql/postgres/migrator.d.ts +3 -3
- package/bun-sql/postgres/session.cjs +1 -1
- package/bun-sql/postgres/session.d.cts +13 -13
- package/bun-sql/postgres/session.d.ts +13 -13
- package/bun-sql/postgres/session.js +1 -1
- package/bun-sql/session.d.cts +1 -1
- package/bun-sql/session.d.ts +1 -1
- package/bun-sql/sqlite/driver.cjs +1 -1
- package/bun-sql/sqlite/driver.d.cts +5 -5
- package/bun-sql/sqlite/driver.d.ts +5 -5
- package/bun-sql/sqlite/driver.js +1 -1
- package/bun-sql/sqlite/index.d.cts +2 -2
- package/bun-sql/sqlite/index.d.ts +2 -2
- package/bun-sql/sqlite/migrator.d.cts +4 -4
- package/bun-sql/sqlite/migrator.d.ts +3 -3
- package/bun-sql/sqlite/session.cjs +2 -2
- package/bun-sql/sqlite/session.d.cts +12 -12
- package/bun-sql/sqlite/session.d.ts +12 -12
- package/bun-sql/sqlite/session.js +2 -2
- package/bun-sqlite/driver.cjs +1 -1
- package/bun-sqlite/driver.d.cts +4 -4
- package/bun-sqlite/driver.d.ts +4 -4
- package/bun-sqlite/driver.js +1 -1
- package/bun-sqlite/index.d.cts +2 -2
- package/bun-sqlite/index.d.ts +2 -2
- package/bun-sqlite/migrator.d.cts +4 -4
- package/bun-sqlite/migrator.d.ts +3 -3
- package/bun-sqlite/session.d.cts +10 -10
- package/bun-sqlite/session.d.ts +10 -10
- package/cache/core/cache.d.cts +3 -3
- package/cache/core/cache.d.ts +3 -3
- package/cache/core/index.d.cts +1 -1
- package/cache/core/index.d.ts +1 -1
- package/cache/upstash/cache.cjs +1 -1
- package/cache/upstash/cache.d.cts +4 -4
- package/cache/upstash/cache.d.ts +4 -4
- package/cache/upstash/cache.js +1 -1
- package/cache/upstash/index.d.cts +1 -1
- package/cache/upstash/index.d.ts +1 -1
- package/casing.d.cts +3 -3
- package/casing.d.ts +3 -3
- package/cockroach/driver.cjs +2 -2
- package/cockroach/driver.d.cts +8 -8
- package/cockroach/driver.d.ts +8 -8
- package/cockroach/driver.js +2 -2
- package/cockroach/index.d.cts +2 -2
- package/cockroach/index.d.ts +2 -2
- package/cockroach/migrator.d.cts +3 -3
- package/cockroach/migrator.d.ts +2 -2
- package/cockroach/session.d.cts +10 -10
- package/cockroach/session.d.ts +10 -10
- package/cockroach-core/alias.d.cts +3 -3
- package/cockroach-core/alias.d.ts +3 -3
- package/cockroach-core/checks.d.cts +3 -3
- package/cockroach-core/checks.d.ts +3 -3
- package/cockroach-core/columns/all.d.cts +22 -22
- package/cockroach-core/columns/all.d.ts +22 -22
- package/cockroach-core/columns/bigint.d.cts +4 -4
- package/cockroach-core/columns/bigint.d.ts +4 -4
- package/cockroach-core/columns/bit.d.cts +3 -3
- package/cockroach-core/columns/bit.d.ts +3 -3
- package/cockroach-core/columns/bool.d.cts +3 -3
- package/cockroach-core/columns/bool.d.ts +3 -3
- package/cockroach-core/columns/char.d.cts +4 -4
- package/cockroach-core/columns/char.d.ts +4 -4
- package/cockroach-core/columns/common.cjs +1 -1
- package/cockroach-core/columns/common.d.cts +9 -9
- package/cockroach-core/columns/common.d.ts +9 -9
- package/cockroach-core/columns/common.js +1 -1
- package/cockroach-core/columns/custom.d.cts +7 -7
- package/cockroach-core/columns/custom.d.ts +7 -7
- package/cockroach-core/columns/date.common.d.cts +4 -4
- package/cockroach-core/columns/date.common.d.ts +3 -3
- package/cockroach-core/columns/date.d.cts +5 -5
- package/cockroach-core/columns/date.d.ts +5 -5
- package/cockroach-core/columns/decimal.d.cts +5 -5
- package/cockroach-core/columns/decimal.d.ts +5 -5
- package/cockroach-core/columns/enum.d.cts +5 -5
- package/cockroach-core/columns/enum.d.ts +5 -5
- package/cockroach-core/columns/float.d.cts +3 -3
- package/cockroach-core/columns/float.d.ts +3 -3
- package/cockroach-core/columns/geometry.d.cts +4 -4
- package/cockroach-core/columns/geometry.d.ts +4 -4
- package/cockroach-core/columns/index.d.cts +25 -25
- package/cockroach-core/columns/index.d.ts +25 -25
- package/cockroach-core/columns/inet.d.cts +3 -3
- package/cockroach-core/columns/inet.d.ts +3 -3
- package/cockroach-core/columns/int.common.d.cts +4 -4
- package/cockroach-core/columns/int.common.d.ts +4 -4
- package/cockroach-core/columns/integer.d.cts +4 -4
- package/cockroach-core/columns/integer.d.ts +4 -4
- package/cockroach-core/columns/interval.d.cts +4 -4
- package/cockroach-core/columns/interval.d.ts +4 -4
- package/cockroach-core/columns/jsonb.d.cts +4 -4
- package/cockroach-core/columns/jsonb.d.ts +4 -4
- package/cockroach-core/columns/real.d.cts +4 -4
- package/cockroach-core/columns/real.d.ts +4 -4
- package/cockroach-core/columns/smallint.d.cts +4 -4
- package/cockroach-core/columns/smallint.d.ts +4 -4
- package/cockroach-core/columns/string.d.cts +4 -4
- package/cockroach-core/columns/string.d.ts +4 -4
- package/cockroach-core/columns/time.d.cts +5 -5
- package/cockroach-core/columns/time.d.ts +5 -5
- package/cockroach-core/columns/timestamp.d.cts +6 -6
- package/cockroach-core/columns/timestamp.d.ts +6 -6
- package/cockroach-core/columns/uuid.d.cts +3 -3
- package/cockroach-core/columns/uuid.d.ts +3 -3
- package/cockroach-core/columns/varbit.d.cts +3 -3
- package/cockroach-core/columns/varbit.d.ts +3 -3
- package/cockroach-core/columns/varchar.d.cts +4 -4
- package/cockroach-core/columns/varchar.d.ts +4 -4
- package/cockroach-core/columns/vector.d.cts +3 -3
- package/cockroach-core/columns/vector.d.ts +3 -3
- package/cockroach-core/db.d.cts +18 -18
- package/cockroach-core/db.d.ts +18 -18
- package/cockroach-core/dialect.cjs +1 -1
- package/cockroach-core/dialect.d.cts +11 -11
- package/cockroach-core/dialect.d.ts +11 -11
- package/cockroach-core/dialect.js +1 -1
- package/cockroach-core/expressions.d.cts +3 -3
- package/cockroach-core/expressions.d.ts +3 -3
- package/cockroach-core/foreign-keys.d.cts +3 -3
- package/cockroach-core/foreign-keys.d.ts +3 -3
- package/cockroach-core/index.cjs +12 -12
- package/cockroach-core/index.d.cts +20 -20
- package/cockroach-core/index.d.ts +20 -20
- package/cockroach-core/index.js +12 -12
- package/cockroach-core/indexes.d.cts +6 -6
- package/cockroach-core/indexes.d.ts +6 -6
- package/cockroach-core/policies.d.cts +4 -4
- package/cockroach-core/policies.d.ts +4 -4
- package/cockroach-core/primary-keys.d.cts +3 -3
- package/cockroach-core/primary-keys.d.ts +3 -3
- package/cockroach-core/query-builders/count.d.cts +6 -6
- package/cockroach-core/query-builders/count.d.ts +6 -6
- package/cockroach-core/query-builders/delete.d.cts +11 -11
- package/cockroach-core/query-builders/delete.d.ts +11 -11
- package/cockroach-core/query-builders/index.d.cts +7 -7
- package/cockroach-core/query-builders/index.d.ts +7 -7
- package/cockroach-core/query-builders/insert.d.cts +17 -17
- package/cockroach-core/query-builders/insert.d.ts +17 -17
- package/cockroach-core/query-builders/query-builder.d.cts +9 -9
- package/cockroach-core/query-builders/query-builder.d.ts +9 -9
- package/cockroach-core/query-builders/query.d.cts +9 -9
- package/cockroach-core/query-builders/query.d.ts +9 -9
- package/cockroach-core/query-builders/raw.d.cts +5 -5
- package/cockroach-core/query-builders/raw.d.ts +5 -5
- package/cockroach-core/query-builders/refresh-materialized-view.d.cts +7 -7
- package/cockroach-core/query-builders/refresh-materialized-view.d.ts +7 -7
- package/cockroach-core/query-builders/select.cjs +1 -1
- package/cockroach-core/query-builders/select.d.cts +16 -16
- package/cockroach-core/query-builders/select.d.ts +16 -16
- package/cockroach-core/query-builders/select.js +1 -1
- package/cockroach-core/query-builders/select.types.d.cts +13 -13
- package/cockroach-core/query-builders/select.types.d.ts +13 -13
- package/cockroach-core/query-builders/update.d.cts +16 -16
- package/cockroach-core/query-builders/update.d.ts +16 -16
- package/cockroach-core/roles.d.cts +1 -1
- package/cockroach-core/roles.d.ts +1 -1
- package/cockroach-core/schema.cjs +2 -2
- package/cockroach-core/schema.d.cts +7 -7
- package/cockroach-core/schema.d.ts +7 -7
- package/cockroach-core/schema.js +2 -2
- package/cockroach-core/sequence.d.cts +1 -1
- package/cockroach-core/sequence.d.ts +1 -1
- package/cockroach-core/session.d.cts +8 -8
- package/cockroach-core/session.d.ts +8 -8
- package/cockroach-core/subquery.d.cts +5 -5
- package/cockroach-core/subquery.d.ts +5 -5
- package/cockroach-core/table.d.cts +11 -11
- package/cockroach-core/table.d.ts +11 -11
- package/cockroach-core/unique-constraint.d.cts +3 -3
- package/cockroach-core/unique-constraint.d.ts +3 -3
- package/cockroach-core/utils/index.d.cts +1 -1
- package/cockroach-core/utils/index.d.ts +1 -1
- package/cockroach-core/utils.cjs +2 -2
- package/cockroach-core/utils.d.cts +14 -14
- package/cockroach-core/utils.d.ts +9 -9
- package/cockroach-core/utils.js +2 -2
- package/cockroach-core/view-base.d.cts +2 -2
- package/cockroach-core/view-base.d.ts +2 -2
- package/cockroach-core/view.cjs +1 -1
- package/cockroach-core/view.d.cts +7 -7
- package/cockroach-core/view.d.ts +7 -7
- package/cockroach-core/view.js +1 -1
- package/column-builder.d.cts +11 -11
- package/column-builder.d.ts +11 -11
- package/column.cjs +1 -1
- package/column.d.cts +5 -5
- package/column.d.ts +5 -5
- package/column.js +1 -1
- package/d1/driver.cjs +1 -1
- package/d1/driver.d.cts +5 -5
- package/d1/driver.d.ts +5 -5
- package/d1/driver.js +1 -1
- package/d1/index.d.cts +2 -2
- package/d1/index.d.ts +2 -2
- package/d1/migrator.d.cts +3 -3
- package/d1/migrator.d.ts +3 -3
- package/d1/session.cjs +1 -1
- package/d1/session.d.cts +13 -13
- package/d1/session.d.ts +13 -13
- package/d1/session.js +1 -1
- package/durable-sqlite/driver.cjs +1 -1
- package/durable-sqlite/driver.d.cts +4 -4
- package/durable-sqlite/driver.d.ts +4 -4
- package/durable-sqlite/driver.js +1 -1
- package/durable-sqlite/index.d.cts +2 -2
- package/durable-sqlite/index.d.ts +2 -2
- package/durable-sqlite/migrator.d.cts +3 -3
- package/durable-sqlite/migrator.d.ts +3 -3
- package/durable-sqlite/session.d.cts +8 -8
- package/durable-sqlite/session.d.ts +8 -8
- package/errors.d.cts +1 -1
- package/errors.d.ts +1 -1
- package/expo-sqlite/driver.cjs +1 -1
- package/expo-sqlite/driver.d.cts +4 -4
- package/expo-sqlite/driver.d.ts +4 -4
- package/expo-sqlite/driver.js +1 -1
- package/expo-sqlite/index.cjs +1 -1
- package/expo-sqlite/index.d.cts +3 -3
- package/expo-sqlite/index.d.ts +3 -3
- package/expo-sqlite/index.js +1 -1
- package/expo-sqlite/migrator.d.cts +3 -3
- package/expo-sqlite/migrator.d.ts +2 -2
- package/expo-sqlite/query.d.cts +3 -3
- package/expo-sqlite/query.d.ts +3 -3
- package/expo-sqlite/session.d.cts +9 -9
- package/expo-sqlite/session.d.ts +9 -9
- package/gel/driver.cjs +2 -2
- package/gel/driver.d.cts +11 -11
- package/gel/driver.d.ts +11 -11
- package/gel/driver.js +2 -2
- package/gel/index.d.cts +2 -2
- package/gel/index.d.ts +2 -2
- package/gel/session.cjs +1 -1
- package/gel/session.d.cts +10 -10
- package/gel/session.d.ts +10 -10
- package/gel/session.js +1 -1
- package/gel-core/alias.d.cts +3 -3
- package/gel-core/alias.d.ts +3 -3
- package/gel-core/checks.d.cts +3 -3
- package/gel-core/checks.d.ts +3 -3
- package/gel-core/columns/all.d.cts +20 -20
- package/gel-core/columns/all.d.ts +20 -20
- package/gel-core/columns/bigint.d.cts +4 -4
- package/gel-core/columns/bigint.d.ts +4 -4
- package/gel-core/columns/bigintT.d.cts +4 -4
- package/gel-core/columns/bigintT.d.ts +4 -4
- package/gel-core/columns/boolean.d.cts +3 -3
- package/gel-core/columns/boolean.d.ts +3 -3
- package/gel-core/columns/bytes.d.cts +3 -3
- package/gel-core/columns/bytes.d.ts +3 -3
- package/gel-core/columns/common.cjs +1 -1
- package/gel-core/columns/common.d.cts +10 -10
- package/gel-core/columns/common.d.ts +10 -10
- package/gel-core/columns/common.js +1 -1
- package/gel-core/columns/custom.d.cts +7 -7
- package/gel-core/columns/custom.d.ts +7 -7
- package/gel-core/columns/date-duration.d.cts +3 -3
- package/gel-core/columns/date-duration.d.ts +3 -3
- package/gel-core/columns/date.common.d.cts +4 -4
- package/gel-core/columns/date.common.d.ts +3 -3
- package/gel-core/columns/decimal.d.cts +4 -4
- package/gel-core/columns/decimal.d.ts +4 -4
- package/gel-core/columns/double-precision.d.cts +3 -3
- package/gel-core/columns/double-precision.d.ts +3 -3
- package/gel-core/columns/duration.d.cts +3 -3
- package/gel-core/columns/duration.d.ts +3 -3
- package/gel-core/columns/index.d.cts +22 -22
- package/gel-core/columns/index.d.ts +22 -22
- package/gel-core/columns/int.common.d.cts +4 -4
- package/gel-core/columns/int.common.d.ts +4 -4
- package/gel-core/columns/integer.d.cts +4 -4
- package/gel-core/columns/integer.d.ts +4 -4
- package/gel-core/columns/json.d.cts +4 -4
- package/gel-core/columns/json.d.ts +4 -4
- package/gel-core/columns/localdate.d.cts +4 -4
- package/gel-core/columns/localdate.d.ts +4 -4
- package/gel-core/columns/localtime.d.cts +4 -4
- package/gel-core/columns/localtime.d.ts +4 -4
- package/gel-core/columns/real.d.cts +4 -4
- package/gel-core/columns/real.d.ts +4 -4
- package/gel-core/columns/relative-duration.d.cts +3 -3
- package/gel-core/columns/relative-duration.d.ts +3 -3
- package/gel-core/columns/smallint.d.cts +4 -4
- package/gel-core/columns/smallint.d.ts +4 -4
- package/gel-core/columns/text.d.cts +3 -3
- package/gel-core/columns/text.d.ts +3 -3
- package/gel-core/columns/timestamp.d.cts +5 -5
- package/gel-core/columns/timestamp.d.ts +5 -5
- package/gel-core/columns/timestamptz.d.cts +5 -5
- package/gel-core/columns/timestamptz.d.ts +5 -5
- package/gel-core/columns/uuid.d.cts +3 -3
- package/gel-core/columns/uuid.d.ts +3 -3
- package/gel-core/db.d.cts +20 -20
- package/gel-core/db.d.ts +20 -20
- package/gel-core/dialect.cjs +2 -2
- package/gel-core/dialect.d.cts +10 -10
- package/gel-core/dialect.d.ts +10 -10
- package/gel-core/dialect.js +2 -2
- package/gel-core/expressions.d.cts +3 -3
- package/gel-core/expressions.d.ts +3 -3
- package/gel-core/foreign-keys.d.cts +3 -3
- package/gel-core/foreign-keys.d.ts +3 -3
- package/gel-core/index.cjs +10 -10
- package/gel-core/index.d.cts +20 -20
- package/gel-core/index.d.ts +20 -20
- package/gel-core/index.js +10 -10
- package/gel-core/indexes.d.cts +6 -6
- package/gel-core/indexes.d.ts +6 -6
- package/gel-core/policies.d.cts +4 -4
- package/gel-core/policies.d.ts +4 -4
- package/gel-core/primary-keys.d.cts +3 -3
- package/gel-core/primary-keys.d.ts +3 -3
- package/gel-core/query-builders/_query.d.cts +9 -9
- package/gel-core/query-builders/_query.d.ts +9 -9
- package/gel-core/query-builders/count.d.cts +5 -5
- package/gel-core/query-builders/count.d.ts +5 -5
- package/gel-core/query-builders/delete.d.cts +10 -10
- package/gel-core/query-builders/delete.d.ts +10 -10
- package/gel-core/query-builders/index.d.cts +7 -7
- package/gel-core/query-builders/index.d.ts +7 -7
- package/gel-core/query-builders/insert.d.cts +17 -17
- package/gel-core/query-builders/insert.d.ts +17 -17
- package/gel-core/query-builders/query-builder.cjs +1 -1
- package/gel-core/query-builders/query-builder.d.cts +10 -10
- package/gel-core/query-builders/query-builder.d.ts +10 -10
- package/gel-core/query-builders/query-builder.js +1 -1
- package/gel-core/query-builders/query.d.cts +9 -9
- package/gel-core/query-builders/query.d.ts +9 -9
- package/gel-core/query-builders/raw.d.cts +5 -5
- package/gel-core/query-builders/raw.d.ts +5 -5
- package/gel-core/query-builders/refresh-materialized-view.d.cts +7 -7
- package/gel-core/query-builders/refresh-materialized-view.d.ts +7 -7
- package/gel-core/query-builders/select.cjs +1 -1
- package/gel-core/query-builders/select.d.cts +17 -17
- package/gel-core/query-builders/select.d.ts +17 -17
- package/gel-core/query-builders/select.js +1 -1
- package/gel-core/query-builders/select.types.d.cts +13 -13
- package/gel-core/query-builders/select.types.d.ts +13 -13
- package/gel-core/query-builders/update.d.cts +15 -15
- package/gel-core/query-builders/update.d.ts +15 -15
- package/gel-core/roles.d.cts +1 -1
- package/gel-core/roles.d.ts +1 -1
- package/gel-core/schema.d.cts +4 -4
- package/gel-core/schema.d.ts +4 -4
- package/gel-core/sequence.d.cts +1 -1
- package/gel-core/sequence.d.ts +1 -1
- package/gel-core/session.cjs +2 -2
- package/gel-core/session.d.cts +11 -11
- package/gel-core/session.d.ts +11 -11
- package/gel-core/session.js +2 -2
- package/gel-core/subquery.d.cts +3 -3
- package/gel-core/subquery.d.ts +3 -3
- package/gel-core/table.d.cts +11 -11
- package/gel-core/table.d.ts +11 -11
- package/gel-core/unique-constraint.d.cts +3 -3
- package/gel-core/unique-constraint.d.ts +3 -3
- package/gel-core/utils.cjs +3 -3
- package/gel-core/utils.d.cts +17 -17
- package/gel-core/utils.d.ts +12 -12
- package/gel-core/utils.js +3 -3
- package/gel-core/view-base.d.cts +2 -2
- package/gel-core/view-base.d.ts +2 -2
- package/gel-core/view.cjs +1 -1
- package/gel-core/view.d.cts +9 -9
- package/gel-core/view.d.ts +9 -9
- package/gel-core/view.js +1 -1
- package/index.cjs +5 -5
- package/index.d.cts +14 -14
- package/index.d.ts +14 -14
- package/index.js +5 -5
- package/libsql/driver-core.cjs +1 -1
- package/libsql/driver-core.d.cts +4 -4
- package/libsql/driver-core.d.ts +4 -4
- package/libsql/driver-core.js +1 -1
- package/libsql/driver.d.cts +4 -4
- package/libsql/driver.d.ts +4 -4
- package/libsql/http/index.d.cts +3 -3
- package/libsql/http/index.d.ts +3 -3
- package/libsql/index.d.cts +2 -2
- package/libsql/index.d.ts +2 -2
- package/libsql/migrator.d.cts +3 -3
- package/libsql/migrator.d.ts +3 -3
- package/libsql/node/index.d.cts +3 -3
- package/libsql/node/index.d.ts +3 -3
- package/libsql/session.cjs +1 -1
- package/libsql/session.d.cts +13 -13
- package/libsql/session.d.ts +13 -13
- package/libsql/session.js +1 -1
- package/libsql/sqlite3/index.d.cts +3 -3
- package/libsql/sqlite3/index.d.ts +3 -3
- package/libsql/wasm/index.d.cts +3 -3
- package/libsql/wasm/index.d.ts +3 -3
- package/libsql/web/index.d.cts +3 -3
- package/libsql/web/index.d.ts +3 -3
- package/libsql/ws/index.d.cts +3 -3
- package/libsql/ws/index.d.ts +3 -3
- package/logger.d.cts +1 -1
- package/logger.d.ts +1 -1
- package/mssql-core/alias.d.cts +3 -3
- package/mssql-core/alias.d.ts +3 -3
- package/mssql-core/checks.d.cts +3 -3
- package/mssql-core/checks.d.ts +3 -3
- package/mssql-core/columns/all.d.cts +20 -20
- package/mssql-core/columns/all.d.ts +20 -20
- package/mssql-core/columns/bigint.d.cts +4 -4
- package/mssql-core/columns/bigint.d.ts +4 -4
- package/mssql-core/columns/binary.d.cts +3 -3
- package/mssql-core/columns/binary.d.ts +3 -3
- package/mssql-core/columns/bit.d.cts +3 -3
- package/mssql-core/columns/bit.d.ts +3 -3
- package/mssql-core/columns/char.d.cts +4 -4
- package/mssql-core/columns/char.d.ts +4 -4
- package/mssql-core/columns/common.d.cts +9 -9
- package/mssql-core/columns/common.d.ts +9 -9
- package/mssql-core/columns/custom.d.cts +7 -7
- package/mssql-core/columns/custom.d.ts +7 -7
- package/mssql-core/columns/date.common.d.cts +4 -4
- package/mssql-core/columns/date.common.d.ts +3 -3
- package/mssql-core/columns/date.d.cts +6 -6
- package/mssql-core/columns/date.d.ts +6 -6
- package/mssql-core/columns/datetime.d.cts +6 -6
- package/mssql-core/columns/datetime.d.ts +6 -6
- package/mssql-core/columns/datetime2.d.cts +7 -7
- package/mssql-core/columns/datetime2.d.ts +7 -7
- package/mssql-core/columns/datetimeoffset.d.cts +7 -7
- package/mssql-core/columns/datetimeoffset.d.ts +7 -7
- package/mssql-core/columns/decimal.d.cts +4 -4
- package/mssql-core/columns/decimal.d.ts +4 -4
- package/mssql-core/columns/float.d.cts +3 -3
- package/mssql-core/columns/float.d.ts +3 -3
- package/mssql-core/columns/index.d.cts +21 -21
- package/mssql-core/columns/index.d.ts +21 -21
- package/mssql-core/columns/int.d.cts +3 -3
- package/mssql-core/columns/int.d.ts +3 -3
- package/mssql-core/columns/numeric.d.cts +4 -4
- package/mssql-core/columns/numeric.d.ts +4 -4
- package/mssql-core/columns/real.d.cts +3 -3
- package/mssql-core/columns/real.d.ts +3 -3
- package/mssql-core/columns/smallint.d.cts +3 -3
- package/mssql-core/columns/smallint.d.ts +3 -3
- package/mssql-core/columns/text.d.cts +5 -5
- package/mssql-core/columns/text.d.ts +5 -5
- package/mssql-core/columns/time.d.cts +4 -4
- package/mssql-core/columns/time.d.ts +4 -4
- package/mssql-core/columns/tinyint.d.cts +3 -3
- package/mssql-core/columns/tinyint.d.ts +3 -3
- package/mssql-core/columns/varbinary.d.cts +3 -3
- package/mssql-core/columns/varbinary.d.ts +3 -3
- package/mssql-core/columns/varchar.d.cts +4 -4
- package/mssql-core/columns/varchar.d.ts +4 -4
- package/mssql-core/db.d.cts +13 -13
- package/mssql-core/db.d.ts +13 -13
- package/mssql-core/dialect.cjs +2 -2
- package/mssql-core/dialect.d.cts +12 -12
- package/mssql-core/dialect.d.ts +12 -12
- package/mssql-core/dialect.js +2 -2
- package/mssql-core/expressions.d.cts +3 -3
- package/mssql-core/expressions.d.ts +3 -3
- package/mssql-core/foreign-keys.d.cts +3 -3
- package/mssql-core/foreign-keys.d.ts +3 -3
- package/mssql-core/index.cjs +10 -10
- package/mssql-core/index.d.cts +17 -17
- package/mssql-core/index.d.ts +17 -17
- package/mssql-core/index.js +10 -10
- package/mssql-core/indexes.d.cts +4 -4
- package/mssql-core/indexes.d.ts +4 -4
- package/mssql-core/primary-keys.d.cts +3 -3
- package/mssql-core/primary-keys.d.ts +3 -3
- package/mssql-core/query-builders/delete.d.cts +8 -8
- package/mssql-core/query-builders/delete.d.ts +8 -8
- package/mssql-core/query-builders/index.d.cts +6 -6
- package/mssql-core/query-builders/index.d.ts +6 -6
- package/mssql-core/query-builders/insert.d.cts +10 -10
- package/mssql-core/query-builders/insert.d.ts +10 -10
- package/mssql-core/query-builders/query-builder.d.cts +8 -8
- package/mssql-core/query-builders/query-builder.d.ts +8 -8
- package/mssql-core/query-builders/query.d.cts +8 -8
- package/mssql-core/query-builders/query.d.ts +8 -8
- package/mssql-core/query-builders/select.cjs +1 -1
- package/mssql-core/query-builders/select.d.cts +15 -15
- package/mssql-core/query-builders/select.d.ts +15 -15
- package/mssql-core/query-builders/select.js +1 -1
- package/mssql-core/query-builders/select.types.d.cts +13 -13
- package/mssql-core/query-builders/select.types.d.ts +13 -13
- package/mssql-core/query-builders/update.cjs +1 -1
- package/mssql-core/query-builders/update.d.cts +12 -12
- package/mssql-core/query-builders/update.d.ts +12 -12
- package/mssql-core/query-builders/update.js +1 -1
- package/mssql-core/schema.d.cts +3 -3
- package/mssql-core/schema.d.ts +3 -3
- package/mssql-core/session.d.cts +7 -7
- package/mssql-core/session.d.ts +7 -7
- package/mssql-core/subquery.d.cts +5 -5
- package/mssql-core/subquery.d.ts +5 -5
- package/mssql-core/table.d.cts +10 -10
- package/mssql-core/table.d.ts +10 -10
- package/mssql-core/unique-constraint.d.cts +3 -3
- package/mssql-core/unique-constraint.d.ts +3 -3
- package/mssql-core/utils.cjs +1 -1
- package/mssql-core/utils.d.cts +10 -10
- package/mssql-core/utils.d.ts +7 -7
- package/mssql-core/utils.js +1 -1
- package/mssql-core/view-base.d.cts +3 -3
- package/mssql-core/view-base.d.ts +3 -3
- package/mssql-core/view.cjs +1 -1
- package/mssql-core/view.d.cts +9 -9
- package/mssql-core/view.d.ts +9 -9
- package/mssql-core/view.js +1 -1
- package/mysql-core/alias.d.cts +3 -3
- package/mysql-core/alias.d.ts +3 -3
- package/mysql-core/checks.d.cts +3 -3
- package/mysql-core/checks.d.ts +3 -3
- package/mysql-core/columns/all.d.cts +25 -25
- package/mysql-core/columns/all.d.ts +25 -25
- package/mysql-core/columns/bigint.d.cts +4 -4
- package/mysql-core/columns/bigint.d.ts +4 -4
- package/mysql-core/columns/binary.d.cts +3 -3
- package/mysql-core/columns/binary.d.ts +3 -3
- package/mysql-core/columns/blob.d.cts +4 -4
- package/mysql-core/columns/blob.d.ts +4 -4
- package/mysql-core/columns/boolean.d.cts +3 -3
- package/mysql-core/columns/boolean.d.ts +3 -3
- package/mysql-core/columns/char.d.cts +4 -4
- package/mysql-core/columns/char.d.ts +4 -4
- package/mysql-core/columns/common.d.cts +9 -9
- package/mysql-core/columns/common.d.ts +9 -9
- package/mysql-core/columns/custom.d.cts +7 -7
- package/mysql-core/columns/custom.d.ts +7 -7
- package/mysql-core/columns/date.common.d.cts +5 -5
- package/mysql-core/columns/date.common.d.ts +5 -5
- package/mysql-core/columns/date.d.cts +5 -5
- package/mysql-core/columns/date.d.ts +5 -5
- package/mysql-core/columns/datetime.d.cts +5 -5
- package/mysql-core/columns/datetime.d.ts +5 -5
- package/mysql-core/columns/decimal.d.cts +4 -4
- package/mysql-core/columns/decimal.d.ts +4 -4
- package/mysql-core/columns/double.d.cts +4 -4
- package/mysql-core/columns/double.d.ts +4 -4
- package/mysql-core/columns/enum.d.cts +4 -4
- package/mysql-core/columns/enum.d.ts +4 -4
- package/mysql-core/columns/float.d.cts +4 -4
- package/mysql-core/columns/float.d.ts +4 -4
- package/mysql-core/columns/index.d.cts +26 -26
- package/mysql-core/columns/index.d.ts +26 -26
- package/mysql-core/columns/int.d.cts +4 -4
- package/mysql-core/columns/int.d.ts +4 -4
- package/mysql-core/columns/json.d.cts +3 -3
- package/mysql-core/columns/json.d.ts +3 -3
- package/mysql-core/columns/mediumint.d.cts +5 -5
- package/mysql-core/columns/mediumint.d.ts +5 -5
- package/mysql-core/columns/real.d.cts +3 -3
- package/mysql-core/columns/real.d.ts +3 -3
- package/mysql-core/columns/serial.d.cts +3 -3
- package/mysql-core/columns/serial.d.ts +3 -3
- package/mysql-core/columns/smallint.d.cts +5 -5
- package/mysql-core/columns/smallint.d.ts +5 -5
- package/mysql-core/columns/string.common.d.cts +4 -4
- package/mysql-core/columns/string.common.d.ts +4 -4
- package/mysql-core/columns/text.d.cts +4 -4
- package/mysql-core/columns/text.d.ts +4 -4
- package/mysql-core/columns/time.d.cts +3 -3
- package/mysql-core/columns/time.d.ts +3 -3
- package/mysql-core/columns/timestamp.d.cts +4 -4
- package/mysql-core/columns/timestamp.d.ts +4 -4
- package/mysql-core/columns/tinyint.d.cts +5 -5
- package/mysql-core/columns/tinyint.d.ts +5 -5
- package/mysql-core/columns/varbinary.d.cts +3 -3
- package/mysql-core/columns/varbinary.d.ts +3 -3
- package/mysql-core/columns/varchar.d.cts +4 -4
- package/mysql-core/columns/varchar.d.ts +4 -4
- package/mysql-core/columns/year.d.cts +3 -3
- package/mysql-core/columns/year.d.ts +3 -3
- package/mysql-core/db.d.cts +17 -17
- package/mysql-core/db.d.ts +17 -17
- package/mysql-core/dialect.cjs +6 -6
- package/mysql-core/dialect.d.cts +15 -15
- package/mysql-core/dialect.d.ts +15 -15
- package/mysql-core/dialect.js +6 -6
- package/mysql-core/expressions.d.cts +3 -3
- package/mysql-core/expressions.d.ts +3 -3
- package/mysql-core/foreign-keys.d.cts +3 -3
- package/mysql-core/foreign-keys.d.ts +3 -3
- package/mysql-core/index.cjs +7 -7
- package/mysql-core/index.d.cts +17 -17
- package/mysql-core/index.d.ts +17 -17
- package/mysql-core/index.js +7 -7
- package/mysql-core/indexes.d.cts +4 -4
- package/mysql-core/indexes.d.ts +4 -4
- package/mysql-core/primary-keys.d.cts +3 -3
- package/mysql-core/primary-keys.d.ts +3 -3
- package/mysql-core/query-builders/_query.d.cts +8 -8
- package/mysql-core/query-builders/_query.d.ts +8 -8
- package/mysql-core/query-builders/count.d.cts +5 -5
- package/mysql-core/query-builders/count.d.ts +5 -5
- package/mysql-core/query-builders/delete.d.cts +10 -10
- package/mysql-core/query-builders/delete.d.ts +10 -10
- package/mysql-core/query-builders/index.d.cts +6 -6
- package/mysql-core/query-builders/index.d.ts +6 -6
- package/mysql-core/query-builders/insert.d.cts +15 -15
- package/mysql-core/query-builders/insert.d.ts +15 -15
- package/mysql-core/query-builders/query-builder.d.cts +7 -7
- package/mysql-core/query-builders/query-builder.d.ts +7 -7
- package/mysql-core/query-builders/query.d.cts +9 -9
- package/mysql-core/query-builders/query.d.ts +9 -9
- package/mysql-core/query-builders/select.cjs +2 -2
- package/mysql-core/query-builders/select.d.cts +18 -18
- package/mysql-core/query-builders/select.d.ts +18 -18
- package/mysql-core/query-builders/select.js +2 -2
- package/mysql-core/query-builders/select.types.d.cts +13 -13
- package/mysql-core/query-builders/select.types.d.ts +13 -13
- package/mysql-core/query-builders/update.d.cts +13 -13
- package/mysql-core/query-builders/update.d.ts +13 -13
- package/mysql-core/schema.d.cts +3 -3
- package/mysql-core/schema.d.ts +3 -3
- package/mysql-core/session.cjs +2 -2
- package/mysql-core/session.d.cts +10 -10
- package/mysql-core/session.d.ts +10 -10
- package/mysql-core/session.js +2 -2
- package/mysql-core/subquery.d.cts +5 -5
- package/mysql-core/subquery.d.ts +5 -5
- package/mysql-core/table.d.cts +10 -10
- package/mysql-core/table.d.ts +10 -10
- package/mysql-core/unique-constraint.d.cts +3 -3
- package/mysql-core/unique-constraint.d.ts +3 -3
- package/mysql-core/utils.cjs +2 -2
- package/mysql-core/utils.d.cts +13 -13
- package/mysql-core/utils.d.ts +11 -11
- package/mysql-core/utils.js +2 -2
- package/mysql-core/view-base.d.cts +3 -3
- package/mysql-core/view-base.d.ts +3 -3
- package/mysql-core/view.cjs +1 -1
- package/mysql-core/view.d.cts +8 -8
- package/mysql-core/view.d.ts +8 -8
- package/mysql-core/view.js +1 -1
- package/mysql-proxy/driver.cjs +1 -1
- package/mysql-proxy/driver.d.cts +6 -6
- package/mysql-proxy/driver.d.ts +6 -6
- package/mysql-proxy/driver.js +1 -1
- package/mysql-proxy/index.d.cts +2 -2
- package/mysql-proxy/index.d.ts +2 -2
- package/mysql-proxy/migrator.d.cts +3 -3
- package/mysql-proxy/migrator.d.ts +3 -3
- package/mysql-proxy/session.cjs +1 -1
- package/mysql-proxy/session.d.cts +14 -14
- package/mysql-proxy/session.d.ts +14 -14
- package/mysql-proxy/session.js +1 -1
- package/mysql2/driver.cjs +2 -2
- package/mysql2/driver.d.cts +12 -12
- package/mysql2/driver.d.ts +12 -12
- package/mysql2/driver.js +2 -2
- package/mysql2/index.d.cts +2 -2
- package/mysql2/index.d.ts +2 -2
- package/mysql2/migrator.d.cts +4 -4
- package/mysql2/migrator.d.ts +3 -3
- package/mysql2/session.cjs +2 -2
- package/mysql2/session.d.cts +11 -11
- package/mysql2/session.d.ts +11 -11
- package/mysql2/session.js +2 -2
- package/neon/index.d.cts +2 -2
- package/neon/index.d.ts +2 -2
- package/neon/neon-auth.d.cts +8 -8
- package/neon/rls.d.cts +4 -4
- package/neon/rls.d.ts +3 -3
- package/neon-http/driver.cjs +1 -1
- package/neon-http/driver.d.cts +10 -10
- package/neon-http/driver.d.ts +10 -10
- package/neon-http/driver.js +1 -1
- package/neon-http/index.d.cts +2 -2
- package/neon-http/index.d.ts +2 -2
- package/neon-http/migrator.d.cts +3 -3
- package/neon-http/migrator.d.ts +3 -3
- package/neon-http/session.cjs +1 -1
- package/neon-http/session.d.cts +13 -13
- package/neon-http/session.d.ts +13 -13
- package/neon-http/session.js +1 -1
- package/neon-serverless/driver.cjs +1 -1
- package/neon-serverless/driver.d.cts +10 -10
- package/neon-serverless/driver.d.ts +10 -10
- package/neon-serverless/driver.js +1 -1
- package/neon-serverless/index.d.cts +2 -2
- package/neon-serverless/index.d.ts +2 -2
- package/neon-serverless/migrator.d.cts +4 -4
- package/neon-serverless/migrator.d.ts +3 -3
- package/neon-serverless/session.d.cts +13 -13
- package/neon-serverless/session.d.ts +13 -13
- package/node-mssql/driver.cjs +2 -2
- package/node-mssql/driver.d.cts +10 -10
- package/node-mssql/driver.d.ts +10 -10
- package/node-mssql/driver.js +2 -2
- package/node-mssql/index.d.cts +2 -2
- package/node-mssql/index.d.ts +2 -2
- package/node-mssql/migrator.d.cts +3 -3
- package/node-mssql/migrator.d.ts +2 -2
- package/node-mssql/pool.d.cts +1 -1
- package/node-mssql/pool.d.ts +1 -1
- package/node-mssql/session.d.cts +9 -9
- package/node-mssql/session.d.ts +9 -9
- package/node-postgres/driver.cjs +1 -1
- package/node-postgres/driver.d.cts +10 -10
- package/node-postgres/driver.d.ts +10 -10
- package/node-postgres/driver.js +1 -1
- package/node-postgres/index.d.cts +2 -2
- package/node-postgres/index.d.ts +2 -2
- package/node-postgres/migrator.d.cts +4 -4
- package/node-postgres/migrator.d.ts +3 -3
- package/node-postgres/session.cjs +1 -1
- package/node-postgres/session.d.cts +13 -13
- package/node-postgres/session.d.ts +13 -13
- package/node-postgres/session.js +1 -1
- package/op-sqlite/driver.cjs +1 -1
- package/op-sqlite/driver.d.cts +4 -4
- package/op-sqlite/driver.d.ts +4 -4
- package/op-sqlite/driver.js +1 -1
- package/op-sqlite/index.d.cts +2 -2
- package/op-sqlite/index.d.ts +2 -2
- package/op-sqlite/migrator.d.cts +3 -3
- package/op-sqlite/migrator.d.ts +2 -2
- package/op-sqlite/session.cjs +1 -1
- package/op-sqlite/session.d.cts +11 -11
- package/op-sqlite/session.d.ts +11 -11
- package/op-sqlite/session.js +1 -1
- package/operations.d.cts +4 -4
- package/operations.d.ts +4 -4
- package/package.json +4110 -4111
- package/pg-core/alias.d.cts +3 -3
- package/pg-core/alias.d.ts +3 -3
- package/pg-core/checks.d.cts +3 -3
- package/pg-core/checks.d.ts +3 -3
- package/pg-core/columns/all.d.cts +32 -32
- package/pg-core/columns/all.d.ts +32 -32
- package/pg-core/columns/bigint.d.cts +3 -3
- package/pg-core/columns/bigint.d.ts +3 -3
- package/pg-core/columns/bigserial.d.cts +3 -3
- package/pg-core/columns/bigserial.d.ts +3 -3
- package/pg-core/columns/boolean.d.cts +3 -3
- package/pg-core/columns/boolean.d.ts +3 -3
- package/pg-core/columns/bytea.d.cts +3 -3
- package/pg-core/columns/bytea.d.ts +3 -3
- package/pg-core/columns/char.d.cts +4 -4
- package/pg-core/columns/char.d.ts +4 -4
- package/pg-core/columns/cidr.d.cts +3 -3
- package/pg-core/columns/cidr.d.ts +3 -3
- package/pg-core/columns/common.cjs +1 -1
- package/pg-core/columns/common.d.cts +9 -9
- package/pg-core/columns/common.d.ts +9 -9
- package/pg-core/columns/common.js +1 -1
- package/pg-core/columns/custom.d.cts +7 -7
- package/pg-core/columns/custom.d.ts +7 -7
- package/pg-core/columns/date.d.cts +4 -4
- package/pg-core/columns/date.d.ts +4 -4
- package/pg-core/columns/double-precision.d.cts +3 -3
- package/pg-core/columns/double-precision.d.ts +3 -3
- package/pg-core/columns/enum.d.cts +5 -5
- package/pg-core/columns/enum.d.ts +5 -5
- package/pg-core/columns/index.cjs +1 -1
- package/pg-core/columns/index.d.cts +35 -35
- package/pg-core/columns/index.d.ts +35 -35
- package/pg-core/columns/index.js +1 -1
- package/pg-core/columns/inet.d.cts +3 -3
- package/pg-core/columns/inet.d.ts +3 -3
- package/pg-core/columns/integer.d.cts +3 -3
- package/pg-core/columns/integer.d.ts +3 -3
- package/pg-core/columns/interval.d.cts +4 -4
- package/pg-core/columns/interval.d.ts +4 -4
- package/pg-core/columns/json.d.cts +4 -4
- package/pg-core/columns/json.d.ts +4 -4
- package/pg-core/columns/jsonb.d.cts +4 -4
- package/pg-core/columns/jsonb.d.ts +4 -4
- package/pg-core/columns/line.d.cts +4 -4
- package/pg-core/columns/line.d.ts +4 -4
- package/pg-core/columns/macaddr.d.cts +3 -3
- package/pg-core/columns/macaddr.d.ts +3 -3
- package/pg-core/columns/macaddr8.d.cts +3 -3
- package/pg-core/columns/macaddr8.d.ts +3 -3
- package/pg-core/columns/numeric.d.cts +5 -5
- package/pg-core/columns/numeric.d.ts +5 -5
- package/pg-core/columns/point.d.cts +4 -4
- package/pg-core/columns/point.d.ts +4 -4
- package/pg-core/columns/postgis_extension/geometry.d.cts +4 -4
- package/pg-core/columns/postgis_extension/geometry.d.ts +4 -4
- package/pg-core/columns/real.d.cts +4 -4
- package/pg-core/columns/real.d.ts +4 -4
- package/pg-core/columns/serial.d.cts +3 -3
- package/pg-core/columns/serial.d.ts +3 -3
- package/pg-core/columns/smallint.d.cts +3 -3
- package/pg-core/columns/smallint.d.ts +3 -3
- package/pg-core/columns/smallserial.d.cts +3 -3
- package/pg-core/columns/smallserial.d.ts +3 -3
- package/pg-core/columns/text.d.cts +5 -5
- package/pg-core/columns/text.d.ts +5 -5
- package/pg-core/columns/time.d.cts +5 -5
- package/pg-core/columns/time.d.ts +5 -5
- package/pg-core/columns/timestamp.d.cts +5 -5
- package/pg-core/columns/timestamp.d.ts +5 -5
- package/pg-core/columns/uuid.d.cts +3 -3
- package/pg-core/columns/uuid.d.ts +3 -3
- package/pg-core/columns/varchar.d.cts +4 -4
- package/pg-core/columns/varchar.d.ts +4 -4
- package/pg-core/columns/vector_extension/bit.d.cts +3 -3
- package/pg-core/columns/vector_extension/bit.d.ts +3 -3
- package/pg-core/columns/vector_extension/halfvec.d.cts +3 -3
- package/pg-core/columns/vector_extension/halfvec.d.ts +3 -3
- package/pg-core/columns/vector_extension/sparsevec.d.cts +3 -3
- package/pg-core/columns/vector_extension/sparsevec.d.ts +3 -3
- package/pg-core/columns/vector_extension/vector.d.cts +3 -3
- package/pg-core/columns/vector_extension/vector.d.ts +3 -3
- package/pg-core/db.d.cts +21 -21
- package/pg-core/db.d.ts +21 -21
- package/pg-core/dialect.cjs +2 -2
- package/pg-core/dialect.d.cts +12 -12
- package/pg-core/dialect.d.ts +12 -12
- package/pg-core/dialect.js +2 -2
- package/pg-core/expressions.d.cts +3 -3
- package/pg-core/expressions.d.ts +3 -3
- package/pg-core/foreign-keys.d.cts +3 -3
- package/pg-core/foreign-keys.d.ts +3 -3
- package/pg-core/index.cjs +7 -7
- package/pg-core/index.d.cts +21 -21
- package/pg-core/index.d.ts +21 -21
- package/pg-core/index.js +7 -7
- package/pg-core/indexes.d.cts +6 -6
- package/pg-core/indexes.d.ts +6 -6
- package/pg-core/policies.d.cts +4 -4
- package/pg-core/policies.d.ts +4 -4
- package/pg-core/primary-keys.d.cts +3 -3
- package/pg-core/primary-keys.d.ts +3 -3
- package/pg-core/query-builders/_query.d.cts +9 -9
- package/pg-core/query-builders/_query.d.ts +9 -9
- package/pg-core/query-builders/count.d.cts +6 -6
- package/pg-core/query-builders/count.d.ts +6 -6
- package/pg-core/query-builders/delete.d.cts +12 -12
- package/pg-core/query-builders/delete.d.ts +12 -12
- package/pg-core/query-builders/index.d.cts +7 -7
- package/pg-core/query-builders/index.d.ts +7 -7
- package/pg-core/query-builders/insert.d.cts +18 -18
- package/pg-core/query-builders/insert.d.ts +18 -18
- package/pg-core/query-builders/query-builder.d.cts +9 -9
- package/pg-core/query-builders/query-builder.d.ts +9 -9
- package/pg-core/query-builders/query.d.cts +9 -9
- package/pg-core/query-builders/query.d.ts +9 -9
- package/pg-core/query-builders/raw.d.cts +5 -5
- package/pg-core/query-builders/raw.d.ts +5 -5
- package/pg-core/query-builders/refresh-materialized-view.d.cts +7 -7
- package/pg-core/query-builders/refresh-materialized-view.d.ts +7 -7
- package/pg-core/query-builders/select.cjs +1 -1
- package/pg-core/query-builders/select.d.cts +17 -17
- package/pg-core/query-builders/select.d.ts +17 -17
- package/pg-core/query-builders/select.js +1 -1
- package/pg-core/query-builders/select.types.d.cts +13 -13
- package/pg-core/query-builders/select.types.d.ts +13 -13
- package/pg-core/query-builders/update.d.cts +17 -17
- package/pg-core/query-builders/update.d.ts +17 -17
- package/pg-core/roles.d.cts +1 -1
- package/pg-core/roles.d.ts +1 -1
- package/pg-core/schema.cjs +1 -1
- package/pg-core/schema.d.cts +7 -7
- package/pg-core/schema.d.ts +7 -7
- package/pg-core/schema.js +1 -1
- package/pg-core/sequence.d.cts +1 -1
- package/pg-core/sequence.d.ts +1 -1
- package/pg-core/session.cjs +2 -2
- package/pg-core/session.d.cts +11 -11
- package/pg-core/session.d.ts +11 -11
- package/pg-core/session.js +2 -2
- package/pg-core/subquery.d.cts +5 -5
- package/pg-core/subquery.d.ts +5 -5
- package/pg-core/table.d.cts +10 -10
- package/pg-core/table.d.ts +10 -10
- package/pg-core/unique-constraint.d.cts +3 -3
- package/pg-core/unique-constraint.d.ts +3 -3
- package/pg-core/utils/index.d.cts +1 -1
- package/pg-core/utils/index.d.ts +1 -1
- package/pg-core/utils.cjs +1 -1
- package/pg-core/utils.d.cts +17 -17
- package/pg-core/utils.d.ts +12 -12
- package/pg-core/utils.js +1 -1
- package/pg-core/view-base.d.cts +2 -2
- package/pg-core/view-base.d.ts +2 -2
- package/pg-core/view.cjs +1 -1
- package/pg-core/view.d.cts +9 -9
- package/pg-core/view.d.ts +9 -9
- package/pg-core/view.js +1 -1
- package/pg-proxy/driver.cjs +1 -1
- package/pg-proxy/driver.d.cts +6 -6
- package/pg-proxy/driver.d.ts +6 -6
- package/pg-proxy/driver.js +1 -1
- package/pg-proxy/index.d.cts +2 -2
- package/pg-proxy/index.d.ts +2 -2
- package/pg-proxy/migrator.d.cts +3 -3
- package/pg-proxy/migrator.d.ts +3 -3
- package/pg-proxy/session.d.cts +14 -14
- package/pg-proxy/session.d.ts +14 -14
- package/pglite/driver.cjs +1 -1
- package/pglite/driver.d.cts +10 -10
- package/pglite/driver.d.ts +10 -10
- package/pglite/driver.js +1 -1
- package/pglite/index.d.cts +2 -2
- package/pglite/index.d.ts +2 -2
- package/pglite/migrator.d.cts +4 -4
- package/pglite/migrator.d.ts +3 -3
- package/pglite/session.d.cts +13 -13
- package/pglite/session.d.ts +13 -13
- package/planetscale-serverless/driver.cjs +2 -2
- package/planetscale-serverless/driver.d.cts +6 -6
- package/planetscale-serverless/driver.d.ts +6 -6
- package/planetscale-serverless/driver.js +2 -2
- package/planetscale-serverless/index.d.cts +2 -2
- package/planetscale-serverless/index.d.ts +2 -2
- package/planetscale-serverless/migrator.d.cts +4 -4
- package/planetscale-serverless/migrator.d.ts +3 -3
- package/planetscale-serverless/session.cjs +1 -1
- package/planetscale-serverless/session.d.cts +11 -11
- package/planetscale-serverless/session.d.ts +11 -11
- package/planetscale-serverless/session.js +1 -1
- package/postgres-js/driver.cjs +1 -1
- package/postgres-js/driver.d.cts +5 -5
- package/postgres-js/driver.d.ts +5 -5
- package/postgres-js/driver.js +1 -1
- package/postgres-js/index.d.cts +2 -2
- package/postgres-js/index.d.ts +2 -2
- package/postgres-js/migrator.d.cts +4 -4
- package/postgres-js/migrator.d.ts +3 -3
- package/postgres-js/session.cjs +1 -1
- package/postgres-js/session.d.cts +13 -13
- package/postgres-js/session.d.ts +13 -13
- package/postgres-js/session.js +1 -1
- package/primary-key.d.cts +3 -3
- package/primary-key.d.ts +3 -3
- package/prisma/mysql/driver.d.cts +5 -5
- package/prisma/mysql/driver.d.ts +5 -5
- package/prisma/mysql/index.d.cts +2 -2
- package/prisma/mysql/index.d.ts +2 -2
- package/prisma/mysql/session.d.cts +7 -7
- package/prisma/mysql/session.d.ts +7 -7
- package/prisma/pg/driver.d.cts +5 -5
- package/prisma/pg/driver.d.ts +5 -5
- package/prisma/pg/index.d.cts +2 -2
- package/prisma/pg/index.d.ts +2 -2
- package/prisma/pg/session.d.cts +6 -6
- package/prisma/pg/session.d.ts +6 -6
- package/prisma/sqlite/driver.d.cts +2 -2
- package/prisma/sqlite/driver.d.ts +2 -2
- package/prisma/sqlite/index.d.cts +2 -2
- package/prisma/sqlite/index.d.ts +2 -2
- package/prisma/sqlite/session.d.cts +6 -6
- package/prisma/sqlite/session.d.ts +6 -6
- package/query-builders/query-builder.d.cts +2 -2
- package/query-builders/query-builder.d.ts +2 -2
- package/query-builders/select.types.d.cts +7 -7
- package/query-builders/select.types.d.ts +7 -7
- package/query-promise.d.cts +1 -1
- package/query-promise.d.ts +1 -1
- package/relations.d.cts +13 -13
- package/relations.d.ts +7 -7
- package/runnable-query.d.cts +1 -1
- package/runnable-query.d.ts +1 -1
- package/selection-proxy.cjs +2 -2
- package/selection-proxy.d.cts +3 -3
- package/selection-proxy.d.ts +3 -3
- package/selection-proxy.js +2 -2
- package/session.d.cts +1 -1
- package/session.d.ts +1 -1
- package/singlestore/driver.cjs +2 -2
- package/singlestore/driver.d.cts +11 -11
- package/singlestore/driver.d.ts +11 -11
- package/singlestore/driver.js +2 -2
- package/singlestore/index.d.cts +2 -2
- package/singlestore/index.d.ts +2 -2
- package/singlestore/migrator.d.cts +4 -4
- package/singlestore/migrator.d.ts +3 -3
- package/singlestore/session.cjs +2 -2
- package/singlestore/session.d.cts +11 -11
- package/singlestore/session.d.ts +11 -11
- package/singlestore/session.js +2 -2
- package/singlestore-core/alias.d.cts +2 -2
- package/singlestore-core/alias.d.ts +2 -2
- package/singlestore-core/columns/all.d.cts +25 -25
- package/singlestore-core/columns/all.d.ts +25 -25
- package/singlestore-core/columns/bigint.d.cts +4 -4
- package/singlestore-core/columns/bigint.d.ts +4 -4
- package/singlestore-core/columns/binary.d.cts +3 -3
- package/singlestore-core/columns/binary.d.ts +3 -3
- package/singlestore-core/columns/boolean.d.cts +3 -3
- package/singlestore-core/columns/boolean.d.ts +3 -3
- package/singlestore-core/columns/char.d.cts +4 -4
- package/singlestore-core/columns/char.d.ts +4 -4
- package/singlestore-core/columns/common.d.cts +8 -8
- package/singlestore-core/columns/common.d.ts +8 -8
- package/singlestore-core/columns/custom.d.cts +7 -7
- package/singlestore-core/columns/custom.d.ts +7 -7
- package/singlestore-core/columns/date.common.d.cts +4 -4
- package/singlestore-core/columns/date.common.d.ts +4 -4
- package/singlestore-core/columns/date.d.cts +5 -5
- package/singlestore-core/columns/date.d.ts +5 -5
- package/singlestore-core/columns/datetime.d.cts +7 -7
- package/singlestore-core/columns/datetime.d.ts +7 -7
- package/singlestore-core/columns/decimal.d.cts +4 -4
- package/singlestore-core/columns/decimal.d.ts +4 -4
- package/singlestore-core/columns/double.d.cts +4 -4
- package/singlestore-core/columns/double.d.ts +4 -4
- package/singlestore-core/columns/enum.d.cts +6 -6
- package/singlestore-core/columns/enum.d.ts +6 -6
- package/singlestore-core/columns/float.d.cts +4 -4
- package/singlestore-core/columns/float.d.ts +4 -4
- package/singlestore-core/columns/index.d.cts +26 -26
- package/singlestore-core/columns/index.d.ts +26 -26
- package/singlestore-core/columns/int.d.cts +4 -4
- package/singlestore-core/columns/int.d.ts +4 -4
- package/singlestore-core/columns/json.d.cts +3 -3
- package/singlestore-core/columns/json.d.ts +3 -3
- package/singlestore-core/columns/mediumint.d.cts +5 -5
- package/singlestore-core/columns/mediumint.d.ts +5 -5
- package/singlestore-core/columns/real.d.cts +3 -3
- package/singlestore-core/columns/real.d.ts +3 -3
- package/singlestore-core/columns/serial.d.cts +3 -3
- package/singlestore-core/columns/serial.d.ts +3 -3
- package/singlestore-core/columns/smallint.d.cts +5 -5
- package/singlestore-core/columns/smallint.d.ts +5 -5
- package/singlestore-core/columns/text.d.cts +4 -4
- package/singlestore-core/columns/text.d.ts +4 -4
- package/singlestore-core/columns/time.d.cts +3 -3
- package/singlestore-core/columns/time.d.ts +3 -3
- package/singlestore-core/columns/timestamp.d.cts +6 -6
- package/singlestore-core/columns/timestamp.d.ts +4 -4
- package/singlestore-core/columns/tinyint.d.cts +5 -5
- package/singlestore-core/columns/tinyint.d.ts +5 -5
- package/singlestore-core/columns/varbinary.d.cts +3 -3
- package/singlestore-core/columns/varbinary.d.ts +3 -3
- package/singlestore-core/columns/varchar.d.cts +4 -4
- package/singlestore-core/columns/varchar.d.ts +4 -4
- package/singlestore-core/columns/vector.d.cts +4 -4
- package/singlestore-core/columns/vector.d.ts +4 -4
- package/singlestore-core/columns/year.d.cts +3 -3
- package/singlestore-core/columns/year.d.ts +3 -3
- package/singlestore-core/db.cjs +2 -2
- package/singlestore-core/db.d.cts +15 -15
- package/singlestore-core/db.d.ts +15 -15
- package/singlestore-core/db.js +2 -2
- package/singlestore-core/dialect.cjs +4 -4
- package/singlestore-core/dialect.d.cts +15 -15
- package/singlestore-core/dialect.d.ts +15 -15
- package/singlestore-core/dialect.js +4 -4
- package/singlestore-core/expressions.d.cts +3 -3
- package/singlestore-core/expressions.d.ts +3 -3
- package/singlestore-core/index.cjs +6 -6
- package/singlestore-core/index.d.cts +13 -13
- package/singlestore-core/index.d.ts +13 -13
- package/singlestore-core/index.js +6 -6
- package/singlestore-core/indexes.d.cts +4 -4
- package/singlestore-core/indexes.d.ts +4 -4
- package/singlestore-core/primary-keys.d.cts +3 -3
- package/singlestore-core/primary-keys.d.ts +3 -3
- package/singlestore-core/query-builders/_query.d.cts +8 -8
- package/singlestore-core/query-builders/_query.d.ts +8 -8
- package/singlestore-core/query-builders/count.d.cts +4 -4
- package/singlestore-core/query-builders/count.d.ts +4 -4
- package/singlestore-core/query-builders/delete.d.cts +10 -10
- package/singlestore-core/query-builders/delete.d.ts +10 -10
- package/singlestore-core/query-builders/index.cjs +2 -2
- package/singlestore-core/query-builders/index.d.cts +6 -6
- package/singlestore-core/query-builders/index.d.ts +6 -6
- package/singlestore-core/query-builders/index.js +2 -2
- package/singlestore-core/query-builders/insert.d.cts +12 -12
- package/singlestore-core/query-builders/insert.d.ts +12 -12
- package/singlestore-core/query-builders/query-builder.cjs +1 -1
- package/singlestore-core/query-builders/query-builder.d.cts +7 -7
- package/singlestore-core/query-builders/query-builder.d.ts +7 -7
- package/singlestore-core/query-builders/query-builder.js +1 -1
- package/singlestore-core/query-builders/query.d.cts +9 -9
- package/singlestore-core/query-builders/query.d.ts +9 -9
- package/singlestore-core/query-builders/select.cjs +1 -1
- package/singlestore-core/query-builders/select.d.cts +15 -15
- package/singlestore-core/query-builders/select.d.ts +15 -15
- package/singlestore-core/query-builders/select.js +1 -1
- package/singlestore-core/query-builders/select.types.d.cts +11 -11
- package/singlestore-core/query-builders/select.types.d.ts +11 -11
- package/singlestore-core/query-builders/update.d.cts +12 -12
- package/singlestore-core/query-builders/update.d.ts +12 -12
- package/singlestore-core/schema.d.cts +2 -2
- package/singlestore-core/schema.d.ts +2 -2
- package/singlestore-core/session.cjs +2 -2
- package/singlestore-core/session.d.cts +10 -10
- package/singlestore-core/session.d.ts +10 -10
- package/singlestore-core/session.js +2 -2
- package/singlestore-core/subquery.d.cts +5 -5
- package/singlestore-core/subquery.d.ts +5 -5
- package/singlestore-core/table.d.cts +8 -8
- package/singlestore-core/table.d.ts +8 -8
- package/singlestore-core/unique-constraint.d.cts +3 -3
- package/singlestore-core/unique-constraint.d.ts +3 -3
- package/singlestore-core/utils.cjs +1 -1
- package/singlestore-core/utils.d.cts +7 -7
- package/singlestore-core/utils.d.ts +6 -6
- package/singlestore-core/utils.js +1 -1
- package/singlestore-core/view-base.d.cts +3 -3
- package/singlestore-core/view-base.d.ts +3 -3
- package/singlestore-core/view.cjs +1 -1
- package/singlestore-core/view.d.cts +9 -9
- package/singlestore-core/view.d.ts +9 -9
- package/singlestore-core/view.js +1 -1
- package/singlestore-proxy/driver.cjs +1 -1
- package/singlestore-proxy/driver.d.cts +5 -5
- package/singlestore-proxy/driver.d.ts +5 -5
- package/singlestore-proxy/driver.js +1 -1
- package/singlestore-proxy/index.d.cts +2 -2
- package/singlestore-proxy/index.d.ts +2 -2
- package/singlestore-proxy/migrator.d.cts +3 -3
- package/singlestore-proxy/migrator.d.ts +3 -3
- package/singlestore-proxy/session.cjs +1 -1
- package/singlestore-proxy/session.d.cts +12 -12
- package/singlestore-proxy/session.d.ts +12 -12
- package/singlestore-proxy/session.js +2 -2
- package/singlestore-proxy/session.js.map +1 -1
- package/sql/expressions/conditions.cjs +1 -1
- package/sql/expressions/conditions.d.cts +2 -2
- package/sql/expressions/conditions.d.ts +2 -2
- package/sql/expressions/conditions.js +1 -1
- package/sql/expressions/index.d.cts +2 -2
- package/sql/expressions/index.d.ts +2 -2
- package/sql/expressions/select.d.cts +2 -2
- package/sql/expressions/select.d.ts +2 -2
- package/sql/functions/aggregate.d.cts +2 -2
- package/sql/functions/aggregate.d.ts +2 -2
- package/sql/functions/index.d.cts +2 -2
- package/sql/functions/index.d.ts +2 -2
- package/sql/functions/vector.d.cts +3 -3
- package/sql/functions/vector.d.ts +3 -3
- package/sql/index.d.cts +3 -3
- package/sql/index.d.ts +3 -3
- package/sql/sql.cjs +1 -1
- package/sql/sql.d.cts +8 -8
- package/sql/sql.d.ts +8 -8
- package/sql/sql.js +1 -1
- package/sql-js/driver.cjs +1 -1
- package/sql-js/driver.d.cts +3 -3
- package/sql-js/driver.d.ts +3 -3
- package/sql-js/driver.js +1 -1
- package/sql-js/index.d.cts +2 -2
- package/sql-js/index.d.ts +2 -2
- package/sql-js/migrator.d.cts +4 -4
- package/sql-js/migrator.d.ts +3 -3
- package/sql-js/session.d.cts +10 -10
- package/sql-js/session.d.ts +10 -10
- package/sqlite-cloud/driver.cjs +1 -1
- package/sqlite-cloud/driver.d.cts +4 -4
- package/sqlite-cloud/driver.d.ts +4 -4
- package/sqlite-cloud/driver.js +1 -1
- package/sqlite-cloud/index.d.cts +2 -2
- package/sqlite-cloud/index.d.ts +2 -2
- package/sqlite-cloud/migrator.d.cts +3 -3
- package/sqlite-cloud/migrator.d.ts +3 -3
- package/sqlite-cloud/session.cjs +2 -2
- package/sqlite-cloud/session.d.cts +13 -13
- package/sqlite-cloud/session.d.ts +13 -13
- package/sqlite-cloud/session.js +2 -2
- package/sqlite-core/alias.d.cts +3 -3
- package/sqlite-core/alias.d.ts +3 -3
- package/sqlite-core/checks.d.cts +3 -3
- package/sqlite-core/checks.d.ts +3 -3
- package/sqlite-core/columns/all.d.cts +6 -6
- package/sqlite-core/columns/all.d.ts +6 -6
- package/sqlite-core/columns/blob.d.cts +4 -4
- package/sqlite-core/columns/blob.d.ts +4 -4
- package/sqlite-core/columns/common.d.cts +9 -9
- package/sqlite-core/columns/common.d.ts +9 -9
- package/sqlite-core/columns/custom.d.cts +7 -7
- package/sqlite-core/columns/custom.d.ts +7 -7
- package/sqlite-core/columns/index.d.cts +7 -7
- package/sqlite-core/columns/index.d.ts +7 -7
- package/sqlite-core/columns/integer.d.cts +7 -7
- package/sqlite-core/columns/integer.d.ts +7 -7
- package/sqlite-core/columns/numeric.d.cts +4 -4
- package/sqlite-core/columns/numeric.d.ts +4 -4
- package/sqlite-core/columns/real.d.cts +3 -3
- package/sqlite-core/columns/real.d.ts +3 -3
- package/sqlite-core/columns/text.d.cts +5 -5
- package/sqlite-core/columns/text.d.ts +5 -5
- package/sqlite-core/db.d.cts +17 -17
- package/sqlite-core/db.d.ts +17 -17
- package/sqlite-core/dialect.cjs +2 -2
- package/sqlite-core/dialect.d.cts +12 -12
- package/sqlite-core/dialect.d.ts +12 -12
- package/sqlite-core/dialect.js +2 -2
- package/sqlite-core/expressions.d.cts +3 -3
- package/sqlite-core/expressions.d.ts +3 -3
- package/sqlite-core/foreign-keys.d.cts +3 -3
- package/sqlite-core/foreign-keys.d.ts +3 -3
- package/sqlite-core/index.cjs +6 -6
- package/sqlite-core/index.d.cts +15 -15
- package/sqlite-core/index.d.ts +15 -15
- package/sqlite-core/index.js +6 -6
- package/sqlite-core/indexes.d.cts +4 -4
- package/sqlite-core/indexes.d.ts +4 -4
- package/sqlite-core/primary-keys.d.cts +3 -3
- package/sqlite-core/primary-keys.d.ts +3 -3
- package/sqlite-core/query-builders/_query.d.cts +9 -9
- package/sqlite-core/query-builders/_query.d.ts +9 -9
- package/sqlite-core/query-builders/count.d.cts +5 -5
- package/sqlite-core/query-builders/count.d.ts +5 -5
- package/sqlite-core/query-builders/delete.d.cts +12 -12
- package/sqlite-core/query-builders/delete.d.ts +12 -12
- package/sqlite-core/query-builders/index.d.cts +6 -6
- package/sqlite-core/query-builders/index.d.ts +6 -6
- package/sqlite-core/query-builders/insert.d.cts +18 -18
- package/sqlite-core/query-builders/insert.d.ts +18 -18
- package/sqlite-core/query-builders/query-builder.d.cts +7 -7
- package/sqlite-core/query-builders/query-builder.d.ts +7 -7
- package/sqlite-core/query-builders/query.d.cts +9 -9
- package/sqlite-core/query-builders/query.d.ts +9 -9
- package/sqlite-core/query-builders/raw.d.cts +7 -7
- package/sqlite-core/query-builders/raw.d.ts +6 -6
- package/sqlite-core/query-builders/select.cjs +2 -2
- package/sqlite-core/query-builders/select.d.cts +17 -17
- package/sqlite-core/query-builders/select.d.ts +17 -17
- package/sqlite-core/query-builders/select.js +2 -2
- package/sqlite-core/query-builders/select.types.d.cts +13 -13
- package/sqlite-core/query-builders/select.types.d.ts +13 -13
- package/sqlite-core/query-builders/update.cjs +1 -1
- package/sqlite-core/query-builders/update.d.cts +15 -15
- package/sqlite-core/query-builders/update.d.ts +15 -15
- package/sqlite-core/query-builders/update.js +1 -1
- package/sqlite-core/session.cjs +2 -2
- package/sqlite-core/session.d.cts +12 -12
- package/sqlite-core/session.d.ts +12 -12
- package/sqlite-core/session.js +2 -2
- package/sqlite-core/subquery.d.cts +5 -5
- package/sqlite-core/subquery.d.ts +5 -5
- package/sqlite-core/table.d.cts +10 -10
- package/sqlite-core/table.d.ts +10 -10
- package/sqlite-core/unique-constraint.d.cts +3 -3
- package/sqlite-core/unique-constraint.d.ts +3 -3
- package/sqlite-core/utils.cjs +2 -2
- package/sqlite-core/utils.d.cts +12 -12
- package/sqlite-core/utils.d.ts +10 -10
- package/sqlite-core/utils.js +2 -2
- package/sqlite-core/view-base.d.cts +3 -3
- package/sqlite-core/view-base.d.ts +3 -3
- package/sqlite-core/view.d.cts +7 -7
- package/sqlite-core/view.d.ts +7 -7
- package/sqlite-proxy/driver.cjs +1 -1
- package/sqlite-proxy/driver.d.cts +5 -5
- package/sqlite-proxy/driver.d.ts +5 -5
- package/sqlite-proxy/driver.js +1 -1
- package/sqlite-proxy/index.d.cts +2 -2
- package/sqlite-proxy/index.d.ts +2 -2
- package/sqlite-proxy/migrator.d.cts +3 -3
- package/sqlite-proxy/migrator.d.ts +3 -3
- package/sqlite-proxy/session.cjs +1 -1
- package/sqlite-proxy/session.d.cts +14 -14
- package/sqlite-proxy/session.d.ts +14 -14
- package/sqlite-proxy/session.js +1 -1
- package/subquery.d.cts +2 -2
- package/subquery.d.ts +2 -2
- package/supabase/index.d.cts +1 -1
- package/supabase/index.d.ts +1 -1
- package/supabase/rls.d.cts +20 -20
- package/table.d.cts +5 -5
- package/table.d.ts +5 -5
- package/tidb-serverless/driver.cjs +2 -2
- package/tidb-serverless/driver.d.cts +6 -6
- package/tidb-serverless/driver.d.ts +6 -6
- package/tidb-serverless/driver.js +2 -2
- package/tidb-serverless/index.d.cts +2 -2
- package/tidb-serverless/index.d.ts +2 -2
- package/tidb-serverless/migrator.d.cts +4 -4
- package/tidb-serverless/migrator.d.ts +3 -3
- package/tidb-serverless/session.cjs +1 -1
- package/tidb-serverless/session.d.cts +11 -11
- package/tidb-serverless/session.d.ts +11 -11
- package/tidb-serverless/session.js +1 -1
- package/tursodatabase/database.d.cts +3 -3
- package/tursodatabase/database.d.ts +3 -3
- package/tursodatabase/driver-core.cjs +1 -1
- package/tursodatabase/driver-core.d.cts +3 -3
- package/tursodatabase/driver-core.d.ts +3 -3
- package/tursodatabase/driver-core.js +1 -1
- package/tursodatabase/index.d.cts +2 -2
- package/tursodatabase/index.d.ts +2 -2
- package/tursodatabase/migrator.d.cts +4 -4
- package/tursodatabase/migrator.d.ts +3 -3
- package/tursodatabase/session.cjs +2 -2
- package/tursodatabase/session.d.cts +13 -13
- package/tursodatabase/session.d.ts +13 -13
- package/tursodatabase/session.js +2 -2
- package/tursodatabase/wasm.d.cts +3 -3
- package/tursodatabase/wasm.d.ts +3 -3
- package/utils.cjs +2 -2
- package/utils.d.cts +7 -7
- package/utils.d.ts +7 -7
- package/utils.js +2 -2
- package/vercel-postgres/driver.cjs +2 -2
- package/vercel-postgres/driver.d.cts +9 -9
- package/vercel-postgres/driver.d.ts +9 -9
- package/vercel-postgres/driver.js +3 -3
- package/vercel-postgres/driver.js.map +1 -1
- package/vercel-postgres/index.d.cts +2 -2
- package/vercel-postgres/index.d.ts +2 -2
- package/vercel-postgres/migrator.d.cts +4 -4
- package/vercel-postgres/migrator.d.ts +3 -3
- package/vercel-postgres/session.d.cts +12 -12
- package/vercel-postgres/session.d.ts +12 -12
- package/xata-http/driver.cjs +1 -1
- package/xata-http/driver.d.cts +10 -10
- package/xata-http/driver.d.ts +10 -10
- package/xata-http/driver.js +1 -1
- package/xata-http/index.d.cts +2 -2
- package/xata-http/index.d.ts +2 -2
- package/xata-http/migrator.d.cts +3 -3
- package/xata-http/migrator.d.ts +3 -3
- package/xata-http/session.cjs +1 -1
- package/xata-http/session.d.cts +12 -12
- package/xata-http/session.d.ts +12 -12
- package/xata-http/session.js +1 -1
package/_relations.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type AnyTable, type InferModelFromColumns, Table } from
|
|
2
|
-
import { type AnyColumn, Column } from
|
|
3
|
-
import { entityKind } from
|
|
4
|
-
import { and, asc, between, desc, exists, ilike, inArray, isNotNull, isNull, like, not, notBetween, notExists, notIlike, notInArray, notLike, or } from
|
|
5
|
-
import { type Placeholder, SQL, sql } from
|
|
6
|
-
import type { Assume, ColumnsWithTable, Equal, Simplify, ValueOrArray } from
|
|
1
|
+
import { type AnyTable, type InferModelFromColumns, Table } from './table.cjs';
|
|
2
|
+
import { type AnyColumn, Column } from './column.cjs';
|
|
3
|
+
import { entityKind } from './entity.cjs';
|
|
4
|
+
import { and, asc, between, desc, exists, ilike, inArray, isNotNull, isNull, like, not, notBetween, notExists, notIlike, notInArray, notLike, or } from './sql/expressions/index.cjs';
|
|
5
|
+
import { type Placeholder, SQL, sql } from './sql/sql.cjs';
|
|
6
|
+
import type { Assume, ColumnsWithTable, Equal, Simplify, ValueOrArray } from './utils.cjs';
|
|
7
7
|
export declare abstract class Relation<TTableName extends string = string> {
|
|
8
8
|
readonly sourceTable: Table;
|
|
9
9
|
readonly referencedTable: AnyTable<{
|
|
@@ -68,18 +68,18 @@ export type ExtractRelationsFromTableExtraConfigSchema<TConfig extends unknown[]
|
|
|
68
68
|
export declare function getOperators(): {
|
|
69
69
|
and: typeof and;
|
|
70
70
|
between: typeof between;
|
|
71
|
-
eq: import("./index.
|
|
71
|
+
eq: import("./index.cjs").BinaryOperator;
|
|
72
72
|
exists: typeof exists;
|
|
73
|
-
gt: import("./index.
|
|
74
|
-
gte: import("./index.
|
|
73
|
+
gt: import("./index.cjs").BinaryOperator;
|
|
74
|
+
gte: import("./index.cjs").BinaryOperator;
|
|
75
75
|
ilike: typeof ilike;
|
|
76
76
|
inArray: typeof inArray;
|
|
77
77
|
isNull: typeof isNull;
|
|
78
78
|
isNotNull: typeof isNotNull;
|
|
79
79
|
like: typeof like;
|
|
80
|
-
lt: import("./index.
|
|
81
|
-
lte: import("./index.
|
|
82
|
-
ne: import("./index.
|
|
80
|
+
lt: import("./index.cjs").BinaryOperator;
|
|
81
|
+
lte: import("./index.cjs").BinaryOperator;
|
|
82
|
+
ne: import("./index.cjs").BinaryOperator;
|
|
83
83
|
not: typeof not;
|
|
84
84
|
notBetween: typeof notBetween;
|
|
85
85
|
notExists: typeof notExists;
|
package/_relations.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type AnyTable, type InferModelFromColumns, Table } from
|
|
2
|
-
import { type AnyColumn, Column } from
|
|
3
|
-
import { entityKind } from
|
|
4
|
-
import { and, asc, between, desc, exists, ilike, inArray, isNotNull, isNull, like, not, notBetween, notExists, notIlike, notInArray, notLike, or } from
|
|
5
|
-
import { type Placeholder, SQL, sql } from
|
|
6
|
-
import type { Assume, ColumnsWithTable, Equal, Simplify, ValueOrArray } from
|
|
1
|
+
import { type AnyTable, type InferModelFromColumns, Table } from './table.js';
|
|
2
|
+
import { type AnyColumn, Column } from './column.js';
|
|
3
|
+
import { entityKind } from './entity.js';
|
|
4
|
+
import { and, asc, between, desc, exists, ilike, inArray, isNotNull, isNull, like, not, notBetween, notExists, notIlike, notInArray, notLike, or } from './sql/expressions/index.js';
|
|
5
|
+
import { type Placeholder, SQL, sql } from './sql/sql.js';
|
|
6
|
+
import type { Assume, ColumnsWithTable, Equal, Simplify, ValueOrArray } from './utils.js';
|
|
7
7
|
export declare abstract class Relation<TTableName extends string = string> {
|
|
8
8
|
readonly sourceTable: Table;
|
|
9
9
|
readonly referencedTable: AnyTable<{
|
package/alias.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const require_view_common = require('./view-common.cjs');
|
|
2
|
-
const require_column_common = require('./column-common.cjs');
|
|
3
1
|
const require_entity = require('./entity.cjs');
|
|
4
|
-
const require_column = require('./column.cjs');
|
|
5
2
|
const require_table = require('./table.cjs');
|
|
3
|
+
const require_column_common = require('./column-common.cjs');
|
|
4
|
+
const require_column = require('./column.cjs');
|
|
6
5
|
const require_sql_sql = require('./sql/sql.cjs');
|
|
6
|
+
const require_view_common = require('./view-common.cjs');
|
|
7
7
|
|
|
8
8
|
//#region src/alias.ts
|
|
9
9
|
var ColumnTableAliasProxyHandler = class {
|
package/alias.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type * as V1 from
|
|
2
|
-
import type { AnyColumn } from
|
|
3
|
-
import { Column } from
|
|
4
|
-
import { entityKind } from
|
|
5
|
-
import type { View } from
|
|
6
|
-
import { SQL } from
|
|
7
|
-
import { Table } from
|
|
1
|
+
import type * as V1 from './_relations.cjs';
|
|
2
|
+
import type { AnyColumn } from './column.cjs';
|
|
3
|
+
import { Column } from './column.cjs';
|
|
4
|
+
import { entityKind } from './entity.cjs';
|
|
5
|
+
import type { View } from './sql/sql.cjs';
|
|
6
|
+
import { SQL } from './sql/sql.cjs';
|
|
7
|
+
import { Table } from './table.cjs';
|
|
8
8
|
export declare class ColumnTableAliasProxyHandler<TColumn extends Column> implements ProxyHandler<TColumn> {
|
|
9
9
|
private table;
|
|
10
10
|
private ignoreColumnAlias?;
|
package/alias.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type * as V1 from
|
|
2
|
-
import type { AnyColumn } from
|
|
3
|
-
import { Column } from
|
|
4
|
-
import { entityKind } from
|
|
5
|
-
import type { View } from
|
|
6
|
-
import { SQL } from
|
|
7
|
-
import { Table } from
|
|
1
|
+
import type * as V1 from './_relations.js';
|
|
2
|
+
import type { AnyColumn } from './column.js';
|
|
3
|
+
import { Column } from './column.js';
|
|
4
|
+
import { entityKind } from './entity.js';
|
|
5
|
+
import type { View } from './sql/sql.js';
|
|
6
|
+
import { SQL } from './sql/sql.js';
|
|
7
|
+
import { Table } from './table.js';
|
|
8
8
|
export declare class ColumnTableAliasProxyHandler<TColumn extends Column> implements ProxyHandler<TColumn> {
|
|
9
9
|
private table;
|
|
10
10
|
private ignoreColumnAlias?;
|
package/alias.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ViewBaseConfig } from "./view-common.js";
|
|
2
|
-
import { OriginalColumn } from "./column-common.js";
|
|
3
1
|
import { entityKind, is } from "./entity.js";
|
|
4
|
-
import { Column } from "./column.js";
|
|
5
2
|
import { Table } from "./table.js";
|
|
3
|
+
import { OriginalColumn } from "./column-common.js";
|
|
4
|
+
import { Column } from "./column.js";
|
|
6
5
|
import { SQL, sql } from "./sql/sql.js";
|
|
6
|
+
import { ViewBaseConfig } from "./view-common.js";
|
|
7
7
|
|
|
8
8
|
//#region src/alias.ts
|
|
9
9
|
var ColumnTableAliasProxyHandler = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Field } from '@aws-sdk/client-rds-data';
|
|
2
2
|
import type { TypeHint } from '@aws-sdk/client-rds-data';
|
|
3
|
-
import type { QueryTypingsValue } from
|
|
3
|
+
import type { QueryTypingsValue } from '../../sql/sql.cjs';
|
|
4
4
|
export declare const typeHint: {
|
|
5
5
|
[K in TypeHint]: K;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Field } from '@aws-sdk/client-rds-data';
|
|
2
2
|
import type { TypeHint } from '@aws-sdk/client-rds-data';
|
|
3
|
-
import type { QueryTypingsValue } from
|
|
3
|
+
import type { QueryTypingsValue } from '../../sql/sql.js';
|
|
4
4
|
export declare const typeHint: {
|
|
5
5
|
[K in TypeHint]: K;
|
|
6
6
|
};
|
|
@@ -3,12 +3,12 @@ const require_aws_data_api_pg_session = require('./session.cjs');
|
|
|
3
3
|
let __entity_ts = require("../../entity.cjs");
|
|
4
4
|
let __table_ts = require("../../table.cjs");
|
|
5
5
|
let __sql_sql_ts = require("../../sql/sql.cjs");
|
|
6
|
-
let __logger_ts = require("../../logger.cjs");
|
|
7
|
-
let __pg_core_index_ts = require("../../pg-core/index.cjs");
|
|
8
6
|
let ___relations_ts = require("../../_relations.cjs");
|
|
9
7
|
___relations_ts = require_rolldown_runtime.__toESM(___relations_ts);
|
|
8
|
+
let __logger_ts = require("../../logger.cjs");
|
|
10
9
|
let __pg_core_db_ts = require("../../pg-core/db.cjs");
|
|
11
10
|
let __pg_core_dialect_ts = require("../../pg-core/dialect.cjs");
|
|
11
|
+
let __pg_core_index_ts = require("../../pg-core/index.cjs");
|
|
12
12
|
let _aws_sdk_client_rds_data = require("@aws-sdk/client-rds-data");
|
|
13
13
|
|
|
14
14
|
//#region src/aws-data-api/pg/driver.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RDSDataClient, type RDSDataClientConfig } from '@aws-sdk/client-rds-data';
|
|
2
|
-
import { entityKind } from
|
|
3
|
-
import type { Logger } from
|
|
4
|
-
import { PgDatabase } from
|
|
5
|
-
import { PgDialect } from
|
|
6
|
-
import { type PgInsertConfig, type PgTable, type TableConfig } from
|
|
7
|
-
import type { PgRaw } from
|
|
8
|
-
import type { AnyRelations, EmptyRelations } from
|
|
9
|
-
import { type SQL, type SQLWrapper } from
|
|
10
|
-
import type { DrizzleConfig, UpdateSet } from
|
|
11
|
-
import type { AwsDataApiClient, AwsDataApiPgQueryResult, AwsDataApiPgQueryResultHKT } from
|
|
2
|
+
import { entityKind } from '../../entity.cjs';
|
|
3
|
+
import type { Logger } from '../../logger.cjs';
|
|
4
|
+
import { PgDatabase } from '../../pg-core/db.cjs';
|
|
5
|
+
import { PgDialect } from '../../pg-core/dialect.cjs';
|
|
6
|
+
import { type PgInsertConfig, type PgTable, type TableConfig } from '../../pg-core/index.cjs';
|
|
7
|
+
import type { PgRaw } from '../../pg-core/query-builders/raw.cjs';
|
|
8
|
+
import type { AnyRelations, EmptyRelations } from '../../relations.cjs';
|
|
9
|
+
import { type SQL, type SQLWrapper } from '../../sql/sql.cjs';
|
|
10
|
+
import type { DrizzleConfig, UpdateSet } from '../../utils.cjs';
|
|
11
|
+
import type { AwsDataApiClient, AwsDataApiPgQueryResult, AwsDataApiPgQueryResultHKT } from './session.cjs';
|
|
12
12
|
export interface PgDriverOptions {
|
|
13
13
|
logger?: Logger;
|
|
14
14
|
cache?: Cache;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RDSDataClient, type RDSDataClientConfig } from '@aws-sdk/client-rds-data';
|
|
2
|
-
import { entityKind } from
|
|
3
|
-
import type { Logger } from
|
|
4
|
-
import { PgDatabase } from
|
|
5
|
-
import { PgDialect } from
|
|
6
|
-
import { type PgInsertConfig, type PgTable, type TableConfig } from
|
|
7
|
-
import type { PgRaw } from
|
|
8
|
-
import type { AnyRelations, EmptyRelations } from
|
|
9
|
-
import { type SQL, type SQLWrapper } from
|
|
10
|
-
import type { DrizzleConfig, UpdateSet } from
|
|
11
|
-
import type { AwsDataApiClient, AwsDataApiPgQueryResult, AwsDataApiPgQueryResultHKT } from
|
|
2
|
+
import { entityKind } from '../../entity.js';
|
|
3
|
+
import type { Logger } from '../../logger.js';
|
|
4
|
+
import { PgDatabase } from '../../pg-core/db.js';
|
|
5
|
+
import { PgDialect } from '../../pg-core/dialect.js';
|
|
6
|
+
import { type PgInsertConfig, type PgTable, type TableConfig } from '../../pg-core/index.js';
|
|
7
|
+
import type { PgRaw } from '../../pg-core/query-builders/raw.js';
|
|
8
|
+
import type { AnyRelations, EmptyRelations } from '../../relations.js';
|
|
9
|
+
import { type SQL, type SQLWrapper } from '../../sql/sql.js';
|
|
10
|
+
import type { DrizzleConfig, UpdateSet } from '../../utils.js';
|
|
11
|
+
import type { AwsDataApiClient, AwsDataApiPgQueryResult, AwsDataApiPgQueryResultHKT } from './session.js';
|
|
12
12
|
export interface PgDriverOptions {
|
|
13
13
|
logger?: Logger;
|
|
14
14
|
cache?: Cache;
|
|
@@ -2,21 +2,21 @@ import { AwsDataApiSession } from "./session.js";
|
|
|
2
2
|
import { entityKind, is } from "../../entity.js";
|
|
3
3
|
import { Table } from "../../table.js";
|
|
4
4
|
import { Param, sql } from "../../sql/sql.js";
|
|
5
|
+
import * as V1 from "../../_relations.js";
|
|
5
6
|
import { DefaultLogger } from "../../logger.js";
|
|
7
|
+
import { PgDatabase } from "../../pg-core/db.js";
|
|
8
|
+
import { PgDialect } from "../../pg-core/dialect.js";
|
|
6
9
|
import { PgColumn } from "../../pg-core/index.js";
|
|
7
|
-
import * as V1 from "../../_relations.js";
|
|
8
|
-
import { PgDatabase as PgDatabase$1 } from "../../pg-core/db.js";
|
|
9
|
-
import { PgDialect as PgDialect$1 } from "../../pg-core/dialect.js";
|
|
10
10
|
import { RDSDataClient } from "@aws-sdk/client-rds-data";
|
|
11
11
|
|
|
12
12
|
//#region src/aws-data-api/pg/driver.ts
|
|
13
|
-
var AwsDataApiPgDatabase = class extends PgDatabase
|
|
13
|
+
var AwsDataApiPgDatabase = class extends PgDatabase {
|
|
14
14
|
static [entityKind] = "AwsDataApiPgDatabase";
|
|
15
15
|
execute(query) {
|
|
16
16
|
return super.execute(query);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
var AwsPgDialect = class extends PgDialect
|
|
19
|
+
var AwsPgDialect = class extends PgDialect {
|
|
20
20
|
static [entityKind] = "AwsPgDialect";
|
|
21
21
|
escapeParam(num) {
|
|
22
22
|
return `:${num + 1}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.js","names":["
|
|
1
|
+
{"version":3,"file":"driver.js","names":["columns: Record<string, PgColumn>","schema: V1.RelationalSchemaConfig<V1.TablesRelationalConfig> | undefined","drizzleConfig"],"sources":["../../../src/aws-data-api/pg/driver.ts"],"sourcesContent":["import { RDSDataClient, type RDSDataClientConfig } from '@aws-sdk/client-rds-data';\nimport * as V1 from '~/_relations.ts';\nimport { entityKind, is } from '~/entity.ts';\nimport type { Logger } from '~/logger.ts';\nimport { DefaultLogger } from '~/logger.ts';\nimport { PgDatabase } from '~/pg-core/db.ts';\nimport { PgDialect } from '~/pg-core/dialect.ts';\nimport { PgColumn, type PgInsertConfig, type PgTable, type TableConfig } from '~/pg-core/index.ts';\nimport type { PgRaw } from '~/pg-core/query-builders/raw.ts';\nimport type { AnyRelations, EmptyRelations } from '~/relations.ts';\nimport { Param, type SQL, sql, type SQLWrapper } from '~/sql/sql.ts';\nimport { Table } from '~/table.ts';\nimport type { DrizzleConfig, UpdateSet } from '~/utils.ts';\nimport type { AwsDataApiClient, AwsDataApiPgQueryResult, AwsDataApiPgQueryResultHKT } from './session.ts';\nimport { AwsDataApiSession } from './session.ts';\n\nexport interface PgDriverOptions {\n\tlogger?: Logger;\n\tcache?: Cache;\n\tdatabase: string;\n\tresourceArn: string;\n\tsecretArn: string;\n}\n\nexport interface DrizzleAwsDataApiPgConfig<\n\tTSchema extends Record<string, unknown> = Record<string, never>,\n\tTRelations extends AnyRelations = EmptyRelations,\n> extends DrizzleConfig<TSchema, TRelations> {\n\tdatabase: string;\n\tresourceArn: string;\n\tsecretArn: string;\n}\n\nexport class AwsDataApiPgDatabase<\n\tTSchema extends Record<string, unknown> = Record<string, never>,\n\tTRelations extends AnyRelations = EmptyRelations,\n> extends PgDatabase<AwsDataApiPgQueryResultHKT, TSchema, TRelations> {\n\tstatic override readonly [entityKind]: string = 'AwsDataApiPgDatabase';\n\n\toverride execute<\n\t\tTRow extends Record<string, unknown> = Record<string, unknown>,\n\t>(query: SQLWrapper | string): PgRaw<AwsDataApiPgQueryResult<TRow>> {\n\t\treturn super.execute(query);\n\t}\n}\n\nexport class AwsPgDialect extends PgDialect {\n\tstatic override readonly [entityKind]: string = 'AwsPgDialect';\n\n\toverride escapeParam(num: number): string {\n\t\treturn `:${num + 1}`;\n\t}\n\n\toverride buildInsertQuery(\n\t\t{ table, values, onConflict, returning, select, withList }: PgInsertConfig<PgTable<TableConfig>>,\n\t): SQL<unknown> {\n\t\tconst columns: Record<string, PgColumn> = table[Table.Symbol.Columns];\n\n\t\tif (!select) {\n\t\t\tfor (const value of (values as Record<string, Param | SQL>[])) {\n\t\t\t\tfor (const fieldName of Object.keys(columns)) {\n\t\t\t\t\tconst colValue = value[fieldName];\n\t\t\t\t\tconst column = columns[fieldName];\n\t\t\t\t\tif (\n\t\t\t\t\t\tis(colValue, Param) && colValue.value !== undefined\n\t\t\t\t\t\t&& is(column, PgColumn) && column.dimensions\n\t\t\t\t\t\t&& Array.isArray(colValue.value)\n\t\t\t\t\t) {\n\t\t\t\t\t\tvalue[fieldName] = sql`cast(${colValue} as ${sql.raw(column.getSQLType())})`;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn super.buildInsertQuery({ table, values, onConflict, returning, withList });\n\t}\n\n\toverride buildUpdateSet(table: PgTable<TableConfig>, set: UpdateSet): SQL<unknown> {\n\t\tconst columns: Record<string, PgColumn> = table[Table.Symbol.Columns];\n\n\t\tfor (const [colName, colValue] of Object.entries(set)) {\n\t\t\tconst currentColumn = columns[colName];\n\t\t\tif (\n\t\t\t\tcurrentColumn && is(colValue, Param) && colValue.value !== undefined\n\t\t\t\t&& is(currentColumn, PgColumn) && currentColumn.dimensions\n\t\t\t\t&& Array.isArray(colValue.value)\n\t\t\t) {\n\t\t\t\tset[colName] = sql`cast(${colValue} as ${sql.raw(currentColumn.getSQLType())})`;\n\t\t\t}\n\t\t}\n\t\treturn super.buildUpdateSet(table, set);\n\t}\n}\n\nfunction construct<\n\tTSchema extends Record<string, unknown> = Record<string, never>,\n\tTRelations extends AnyRelations = EmptyRelations,\n>(\n\tclient: AwsDataApiClient,\n\tconfig: DrizzleAwsDataApiPgConfig<TSchema, TRelations>,\n): AwsDataApiPgDatabase<TSchema, TRelations> & {\n\t$client: AwsDataApiClient;\n} {\n\tconst dialect = new AwsPgDialect({ casing: config.casing });\n\tlet logger;\n\tif (config.logger === true) {\n\t\tlogger = new DefaultLogger();\n\t} else if (config.logger !== false) {\n\t\tlogger = config.logger;\n\t}\n\n\tlet schema: V1.RelationalSchemaConfig<V1.TablesRelationalConfig> | undefined;\n\tif (config.schema) {\n\t\tconst tablesConfig = V1.extractTablesRelationalConfig(\n\t\t\tconfig.schema,\n\t\t\tV1.createTableRelationsHelpers,\n\t\t);\n\t\tschema = {\n\t\t\tfullSchema: config.schema,\n\t\t\tschema: tablesConfig.tables,\n\t\t\ttableNamesMap: tablesConfig.tableNamesMap,\n\t\t};\n\t}\n\n\tconst relations = config.relations ?? {} as TRelations;\n\tconst session = new AwsDataApiSession(client, dialect, relations, schema, {\n\t\t...config,\n\t\tlogger,\n\t\tcache: config.cache,\n\t}, undefined);\n\tconst db = new AwsDataApiPgDatabase(dialect, session, relations, schema as V1.RelationalSchemaConfig<any>, true);\n\t(<any> db).$client = client;\n\t(<any> db).$cache = config.cache;\n\tif ((<any> db).$cache) {\n\t\t(<any> db).$cache['invalidate'] = config.cache?.onMutate;\n\t}\n\n\treturn db as any;\n}\n\nexport function drizzle<\n\tTSchema extends Record<string, unknown> = Record<string, never>,\n\tTRelations extends AnyRelations = EmptyRelations,\n\tTClient extends AwsDataApiClient = RDSDataClient,\n>(\n\t...params: [\n\t\t(\n\t\t\t| (\n\t\t\t\t& DrizzleConfig<TSchema, TRelations>\n\t\t\t\t& {\n\t\t\t\t\tconnection: RDSDataClientConfig & Omit<DrizzleAwsDataApiPgConfig, keyof DrizzleConfig>;\n\t\t\t\t}\n\t\t\t)\n\t\t\t| (\n\t\t\t\t& DrizzleAwsDataApiPgConfig<TSchema, TRelations>\n\t\t\t\t& {\n\t\t\t\t\tclient: TClient;\n\t\t\t\t}\n\t\t\t)\n\t\t),\n\t]\n): AwsDataApiPgDatabase<TSchema, TRelations> & {\n\t$client: TClient;\n} {\n\tif ((params[0] as { client?: TClient }).client) {\n\t\tconst { client, ...drizzleConfig } = params[0] as {\n\t\t\tclient: TClient;\n\t\t} & DrizzleAwsDataApiPgConfig<TSchema, TRelations>;\n\n\t\treturn construct(client, drizzleConfig) as any;\n\t}\n\n\tconst { connection, ...drizzleConfig } = params[0] as {\n\t\tconnection: RDSDataClientConfig & Omit<DrizzleAwsDataApiPgConfig, keyof DrizzleConfig>;\n\t} & DrizzleConfig<TSchema, TRelations>;\n\tconst { resourceArn, database, secretArn, ...rdsConfig } = connection;\n\n\tconst instance = new RDSDataClient(rdsConfig);\n\treturn construct(instance, { resourceArn, database, secretArn, ...drizzleConfig }) as any;\n}\n\nexport namespace drizzle {\n\texport function mock<\n\t\tTSchema extends Record<string, unknown> = Record<string, never>,\n\t\tTRelations extends AnyRelations = EmptyRelations,\n\t>(\n\t\tconfig: DrizzleAwsDataApiPgConfig<TSchema, TRelations>,\n\t): AwsDataApiPgDatabase<TSchema, TRelations> & {\n\t\t$client: '$client is not available on drizzle.mock()';\n\t} {\n\t\treturn construct({} as any, config) as any;\n\t}\n}\n"],"mappings":";;;;;;;;;;;;AAiCA,IAAa,uBAAb,cAGU,WAA4D;CACrE,QAA0B,cAAsB;CAEhD,AAAS,QAEP,OAAkE;AACnE,SAAO,MAAM,QAAQ,MAAM;;;AAI7B,IAAa,eAAb,cAAkC,UAAU;CAC3C,QAA0B,cAAsB;CAEhD,AAAS,YAAY,KAAqB;AACzC,SAAO,IAAI,MAAM;;CAGlB,AAAS,iBACR,EAAE,OAAO,QAAQ,YAAY,WAAW,QAAQ,YACjC;EACf,MAAMA,UAAoC,MAAM,MAAM,OAAO;AAE7D,MAAI,CAAC,OACJ,MAAK,MAAM,SAAU,OACpB,MAAK,MAAM,aAAa,OAAO,KAAK,QAAQ,EAAE;GAC7C,MAAM,WAAW,MAAM;GACvB,MAAM,SAAS,QAAQ;AACvB,OACC,GAAG,UAAU,MAAM,IAAI,SAAS,UAAU,UACvC,GAAG,QAAQ,SAAS,IAAI,OAAO,cAC/B,MAAM,QAAQ,SAAS,MAAM,CAEhC,OAAM,aAAa,GAAG,QAAQ,SAAS,MAAM,IAAI,IAAI,OAAO,YAAY,CAAC,CAAC;;AAM9E,SAAO,MAAM,iBAAiB;GAAE;GAAO;GAAQ;GAAY;GAAW;GAAU,CAAC;;CAGlF,AAAS,eAAe,OAA6B,KAA8B;EAClF,MAAMA,UAAoC,MAAM,MAAM,OAAO;AAE7D,OAAK,MAAM,CAAC,SAAS,aAAa,OAAO,QAAQ,IAAI,EAAE;GACtD,MAAM,gBAAgB,QAAQ;AAC9B,OACC,iBAAiB,GAAG,UAAU,MAAM,IAAI,SAAS,UAAU,UACxD,GAAG,eAAe,SAAS,IAAI,cAAc,cAC7C,MAAM,QAAQ,SAAS,MAAM,CAEhC,KAAI,WAAW,GAAG,QAAQ,SAAS,MAAM,IAAI,IAAI,cAAc,YAAY,CAAC,CAAC;;AAG/E,SAAO,MAAM,eAAe,OAAO,IAAI;;;AAIzC,SAAS,UAIR,QACA,QAGC;CACD,MAAM,UAAU,IAAI,aAAa,EAAE,QAAQ,OAAO,QAAQ,CAAC;CAC3D,IAAI;AACJ,KAAI,OAAO,WAAW,KACrB,UAAS,IAAI,eAAe;UAClB,OAAO,WAAW,MAC5B,UAAS,OAAO;CAGjB,IAAIC;AACJ,KAAI,OAAO,QAAQ;EAClB,MAAM,eAAe,GAAG,8BACvB,OAAO,QACP,GAAG,4BACH;AACD,WAAS;GACR,YAAY,OAAO;GACnB,QAAQ,aAAa;GACrB,eAAe,aAAa;GAC5B;;CAGF,MAAM,YAAY,OAAO,aAAa,EAAE;CAMxC,MAAM,KAAK,IAAI,qBAAqB,SALpB,IAAI,kBAAkB,QAAQ,SAAS,WAAW,QAAQ;EACzE,GAAG;EACH;EACA,OAAO,OAAO;EACd,EAAE,OAAU,EACyC,WAAW,QAA0C,KAAK;AAChH,CAAO,GAAI,UAAU;AACrB,CAAO,GAAI,SAAS,OAAO;AAC3B,KAAW,GAAI,OACd,CAAO,GAAI,OAAO,gBAAgB,OAAO,OAAO;AAGjD,QAAO;;AAGR,SAAgB,QAKf,GAAG,QAkBF;AACD,KAAK,OAAO,GAA4B,QAAQ;EAC/C,MAAM,EAAE,QAAQ,GAAGC,oBAAkB,OAAO;AAI5C,SAAO,UAAU,QAAQA,gBAAc;;CAGxC,MAAM,EAAE,YAAY,GAAG,kBAAkB,OAAO;CAGhD,MAAM,EAAE,aAAa,UAAU,WAAW,GAAG,cAAc;AAG3D,QAAO,UADU,IAAI,cAAc,UAAU,EAClB;EAAE;EAAa;EAAU;EAAW,GAAG;EAAe,CAAC;;;CAI3E,SAAS,KAIf,QAGC;AACD,SAAO,UAAU,EAAE,EAAS,OAAO"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './driver.cjs';
|
|
2
|
+
export * from './session.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './driver.js';
|
|
2
|
+
export * from './session.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MigrationConfig } from
|
|
2
|
-
import type { AnyRelations } from
|
|
3
|
-
import type { AwsDataApiPgDatabase } from
|
|
4
|
-
export declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | import("../../migrator.
|
|
1
|
+
import type { MigrationConfig } from '../../migrator.cjs';
|
|
2
|
+
import type { AnyRelations } from '../../relations.cjs';
|
|
3
|
+
import type { AwsDataApiPgDatabase } from './driver.cjs';
|
|
4
|
+
export declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | import("../../migrator.cjs").MigratorInitFailResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MigrationConfig } from
|
|
2
|
-
import type { AnyRelations } from
|
|
3
|
-
import type { AwsDataApiPgDatabase } from
|
|
1
|
+
import type { MigrationConfig } from '../../migrator.js';
|
|
2
|
+
import type { AnyRelations } from '../../relations.js';
|
|
3
|
+
import type { AwsDataApiPgDatabase } from './driver.js';
|
|
4
4
|
export declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: AwsDataApiPgDatabase<TSchema, TRelations>, config: MigrationConfig): Promise<void | import("../../migrator.js").MigratorInitFailResponse>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ExecuteStatementCommandOutput, RDSDataClient } from '@aws-sdk/client-rds-data';
|
|
2
|
-
import type * as V1 from
|
|
3
|
-
import type { Cache } from
|
|
4
|
-
import type { WithCacheConfig } from
|
|
5
|
-
import { entityKind } from
|
|
6
|
-
import type { Logger } from
|
|
7
|
-
import { type PgDialect, PgPreparedQuery, type PgQueryResultHKT, PgSession, PgTransaction, type PgTransactionConfig, type PreparedQueryConfig } from
|
|
8
|
-
import type { SelectedFieldsOrdered } from
|
|
9
|
-
import type { AnyRelations } from
|
|
10
|
-
import { type QueryTypingsValue, type QueryWithTypings, type SQL } from
|
|
2
|
+
import type * as V1 from '../../_relations.cjs';
|
|
3
|
+
import type { Cache } from '../../cache/core/cache.cjs';
|
|
4
|
+
import type { WithCacheConfig } from '../../cache/core/types.cjs';
|
|
5
|
+
import { entityKind } from '../../entity.cjs';
|
|
6
|
+
import type { Logger } from '../../logger.cjs';
|
|
7
|
+
import { type PgDialect, PgPreparedQuery, type PgQueryResultHKT, PgSession, PgTransaction, type PgTransactionConfig, type PreparedQueryConfig } from '../../pg-core/index.cjs';
|
|
8
|
+
import type { SelectedFieldsOrdered } from '../../pg-core/query-builders/select.types.cjs';
|
|
9
|
+
import type { AnyRelations } from '../../relations.cjs';
|
|
10
|
+
import { type QueryTypingsValue, type QueryWithTypings, type SQL } from '../../sql/sql.cjs';
|
|
11
11
|
export type AwsDataApiClient = RDSDataClient;
|
|
12
12
|
export declare class AwsDataApiPreparedQuery<T extends PreparedQueryConfig & {
|
|
13
13
|
values: AwsDataApiPgQueryResult<unknown[]>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ExecuteStatementCommandOutput, RDSDataClient } from '@aws-sdk/client-rds-data';
|
|
2
|
-
import type * as V1 from
|
|
3
|
-
import type { Cache } from
|
|
4
|
-
import type { WithCacheConfig } from
|
|
5
|
-
import { entityKind } from
|
|
6
|
-
import type { Logger } from
|
|
7
|
-
import { type PgDialect, PgPreparedQuery, type PgQueryResultHKT, PgSession, PgTransaction, type PgTransactionConfig, type PreparedQueryConfig } from
|
|
8
|
-
import type { SelectedFieldsOrdered } from
|
|
9
|
-
import type { AnyRelations } from
|
|
10
|
-
import { type QueryTypingsValue, type QueryWithTypings, type SQL } from
|
|
2
|
+
import type * as V1 from '../../_relations.js';
|
|
3
|
+
import type { Cache } from '../../cache/core/cache.js';
|
|
4
|
+
import type { WithCacheConfig } from '../../cache/core/types.js';
|
|
5
|
+
import { entityKind } from '../../entity.js';
|
|
6
|
+
import type { Logger } from '../../logger.js';
|
|
7
|
+
import { type PgDialect, PgPreparedQuery, type PgQueryResultHKT, PgSession, PgTransaction, type PgTransactionConfig, type PreparedQueryConfig } from '../../pg-core/index.js';
|
|
8
|
+
import type { SelectedFieldsOrdered } from '../../pg-core/query-builders/select.types.js';
|
|
9
|
+
import type { AnyRelations } from '../../relations.js';
|
|
10
|
+
import { type QueryTypingsValue, type QueryWithTypings, type SQL } from '../../sql/sql.js';
|
|
11
11
|
export type AwsDataApiClient = RDSDataClient;
|
|
12
12
|
export declare class AwsDataApiPreparedQuery<T extends PreparedQueryConfig & {
|
|
13
13
|
values: AwsDataApiPgQueryResult<unknown[]>;
|
package/batch.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Dialect } from
|
|
2
|
-
import type { RunnableQuery } from
|
|
1
|
+
import type { Dialect } from './column-builder.cjs';
|
|
2
|
+
import type { RunnableQuery } from './runnable-query.cjs';
|
|
3
3
|
export type BatchItem<TDialect extends Dialect = Dialect> = RunnableQuery<any, TDialect>;
|
|
4
4
|
export type BatchResponse<T extends BatchItem[] | readonly BatchItem[]> = {
|
|
5
5
|
[K in keyof T]: T[K]['_']['result'];
|
package/batch.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Dialect } from
|
|
2
|
-
import type { RunnableQuery } from
|
|
1
|
+
import type { Dialect } from './column-builder.js';
|
|
2
|
+
import type { RunnableQuery } from './runnable-query.js';
|
|
3
3
|
export type BatchItem<TDialect extends Dialect = Dialect> = RunnableQuery<any, TDialect>;
|
|
4
4
|
export type BatchResponse<T extends BatchItem[] | readonly BatchItem[]> = {
|
|
5
5
|
[K in keyof T]: T[K]['_']['result'];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_better_sqlite3_session = require('./session.cjs');
|
|
3
3
|
let __entity_ts = require("../entity.cjs");
|
|
4
|
-
let __logger_ts = require("../logger.cjs");
|
|
5
4
|
let ___relations_ts = require("../_relations.cjs");
|
|
6
5
|
___relations_ts = require_rolldown_runtime.__toESM(___relations_ts);
|
|
6
|
+
let __logger_ts = require("../logger.cjs");
|
|
7
7
|
let __sqlite_core_db_ts = require("../sqlite-core/db.cjs");
|
|
8
8
|
let __sqlite_core_dialect_ts = require("../sqlite-core/dialect.cjs");
|
|
9
9
|
let better_sqlite3 = require("better-sqlite3");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Database, type Options, type RunResult } from 'better-sqlite3';
|
|
2
|
-
import { entityKind } from
|
|
3
|
-
import type { AnyRelations, EmptyRelations } from
|
|
4
|
-
import { BaseSQLiteDatabase } from
|
|
5
|
-
import type { DrizzleConfig } from
|
|
2
|
+
import { entityKind } from '../entity.cjs';
|
|
3
|
+
import type { AnyRelations, EmptyRelations } from '../relations.cjs';
|
|
4
|
+
import { BaseSQLiteDatabase } from '../sqlite-core/db.cjs';
|
|
5
|
+
import type { DrizzleConfig } from '../utils.cjs';
|
|
6
6
|
export type DrizzleBetterSQLite3DatabaseConfig = ({
|
|
7
7
|
source?: string | Buffer;
|
|
8
8
|
} & Options) | string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Database, type Options, type RunResult } from 'better-sqlite3';
|
|
2
|
-
import { entityKind } from
|
|
3
|
-
import type { AnyRelations, EmptyRelations } from
|
|
4
|
-
import { BaseSQLiteDatabase } from
|
|
5
|
-
import type { DrizzleConfig } from
|
|
2
|
+
import { entityKind } from '../entity.js';
|
|
3
|
+
import type { AnyRelations, EmptyRelations } from '../relations.js';
|
|
4
|
+
import { BaseSQLiteDatabase } from '../sqlite-core/db.js';
|
|
5
|
+
import type { DrizzleConfig } from '../utils.js';
|
|
6
6
|
export type DrizzleBetterSQLite3DatabaseConfig = ({
|
|
7
7
|
source?: string | Buffer;
|
|
8
8
|
} & Options) | string | undefined;
|
package/better-sqlite3/driver.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BetterSQLiteSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../entity.js";
|
|
3
|
-
import { DefaultLogger } from "../logger.js";
|
|
4
3
|
import * as V1 from "../_relations.js";
|
|
4
|
+
import { DefaultLogger } from "../logger.js";
|
|
5
5
|
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
6
6
|
import { SQLiteSyncDialect } from "../sqlite-core/dialect.js";
|
|
7
7
|
import Client from "better-sqlite3";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './driver.cjs';
|
|
2
|
+
export * from './session.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './driver.js';
|
|
2
|
+
export * from './session.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MigrationConfig } from
|
|
2
|
-
import type { AnyRelations } from
|
|
3
|
-
import type { BetterSQLite3Database } from
|
|
4
|
-
export declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void | import("../migrator.
|
|
1
|
+
import type { MigrationConfig } from '../migrator.cjs';
|
|
2
|
+
import type { AnyRelations } from '../relations.cjs';
|
|
3
|
+
import type { BetterSQLite3Database } from './driver.cjs';
|
|
4
|
+
export declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void | import("../migrator.cjs").MigratorInitFailResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MigrationConfig } from
|
|
2
|
-
import type { AnyRelations } from
|
|
3
|
-
import type { BetterSQLite3Database } from
|
|
1
|
+
import type { MigrationConfig } from '../migrator.js';
|
|
2
|
+
import type { AnyRelations } from '../relations.js';
|
|
3
|
+
import type { BetterSQLite3Database } from './driver.js';
|
|
4
4
|
export declare function migrate<TSchema extends Record<string, unknown>, TRelations extends AnyRelations>(db: BetterSQLite3Database<TSchema, TRelations>, config: MigrationConfig): void | import("../migrator.js").MigratorInitFailResponse;
|
|
@@ -2,8 +2,8 @@ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
let __entity_ts = require("../entity.cjs");
|
|
3
3
|
let __utils_ts = require("../utils.cjs");
|
|
4
4
|
let __sql_sql_ts = require("../sql/sql.cjs");
|
|
5
|
-
let __cache_core_index_ts = require("../cache/core/index.cjs");
|
|
6
5
|
let __logger_ts = require("../logger.cjs");
|
|
6
|
+
let __cache_core_index_ts = require("../cache/core/index.cjs");
|
|
7
7
|
let __sqlite_core_index_ts = require("../sqlite-core/index.cjs");
|
|
8
8
|
let __sqlite_core_session_ts = require("../sqlite-core/session.cjs");
|
|
9
9
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { Database, RunResult, Statement } from 'better-sqlite3';
|
|
2
|
-
import type * as V1 from
|
|
3
|
-
import { type Cache } from
|
|
4
|
-
import type { WithCacheConfig } from
|
|
5
|
-
import { entityKind } from
|
|
6
|
-
import type { Logger } from
|
|
7
|
-
import type { AnyRelations } from
|
|
8
|
-
import { type Query } from
|
|
9
|
-
import type { SQLiteSyncDialect } from
|
|
10
|
-
import { SQLiteTransaction } from
|
|
11
|
-
import type { SelectedFieldsOrdered } from
|
|
12
|
-
import { type PreparedQueryConfig as PreparedQueryConfigBase, type SQLiteExecuteMethod, SQLitePreparedQuery as PreparedQueryBase, SQLiteSession, type SQLiteTransactionConfig } from
|
|
2
|
+
import type * as V1 from '../_relations.cjs';
|
|
3
|
+
import { type Cache } from '../cache/core/index.cjs';
|
|
4
|
+
import type { WithCacheConfig } from '../cache/core/types.cjs';
|
|
5
|
+
import { entityKind } from '../entity.cjs';
|
|
6
|
+
import type { Logger } from '../logger.cjs';
|
|
7
|
+
import type { AnyRelations } from '../relations.cjs';
|
|
8
|
+
import { type Query } from '../sql/sql.cjs';
|
|
9
|
+
import type { SQLiteSyncDialect } from '../sqlite-core/dialect.cjs';
|
|
10
|
+
import { SQLiteTransaction } from '../sqlite-core/index.cjs';
|
|
11
|
+
import type { SelectedFieldsOrdered } from '../sqlite-core/query-builders/select.types.cjs';
|
|
12
|
+
import { type PreparedQueryConfig as PreparedQueryConfigBase, type SQLiteExecuteMethod, SQLitePreparedQuery as PreparedQueryBase, SQLiteSession, type SQLiteTransactionConfig } from '../sqlite-core/session.cjs';
|
|
13
13
|
export interface BetterSQLiteSessionOptions {
|
|
14
14
|
logger?: Logger;
|
|
15
15
|
cache?: Cache;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { Database, RunResult, Statement } from 'better-sqlite3';
|
|
2
|
-
import type * as V1 from
|
|
3
|
-
import { type Cache } from
|
|
4
|
-
import type { WithCacheConfig } from
|
|
5
|
-
import { entityKind } from
|
|
6
|
-
import type { Logger } from
|
|
7
|
-
import type { AnyRelations } from
|
|
8
|
-
import { type Query } from
|
|
9
|
-
import type { SQLiteSyncDialect } from
|
|
10
|
-
import { SQLiteTransaction } from
|
|
11
|
-
import type { SelectedFieldsOrdered } from
|
|
12
|
-
import { type PreparedQueryConfig as PreparedQueryConfigBase, type SQLiteExecuteMethod, SQLitePreparedQuery as PreparedQueryBase, SQLiteSession, type SQLiteTransactionConfig } from
|
|
2
|
+
import type * as V1 from '../_relations.js';
|
|
3
|
+
import { type Cache } from '../cache/core/index.js';
|
|
4
|
+
import type { WithCacheConfig } from '../cache/core/types.js';
|
|
5
|
+
import { entityKind } from '../entity.js';
|
|
6
|
+
import type { Logger } from '../logger.js';
|
|
7
|
+
import type { AnyRelations } from '../relations.js';
|
|
8
|
+
import { type Query } from '../sql/sql.js';
|
|
9
|
+
import type { SQLiteSyncDialect } from '../sqlite-core/dialect.js';
|
|
10
|
+
import { SQLiteTransaction } from '../sqlite-core/index.js';
|
|
11
|
+
import type { SelectedFieldsOrdered } from '../sqlite-core/query-builders/select.types.js';
|
|
12
|
+
import { type PreparedQueryConfig as PreparedQueryConfigBase, type SQLiteExecuteMethod, SQLitePreparedQuery as PreparedQueryBase, SQLiteSession, type SQLiteTransactionConfig } from '../sqlite-core/session.js';
|
|
13
13
|
export interface BetterSQLiteSessionOptions {
|
|
14
14
|
logger?: Logger;
|
|
15
15
|
cache?: Cache;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { entityKind } from "../entity.js";
|
|
2
2
|
import { mapResultRow } from "../utils.js";
|
|
3
3
|
import { fillPlaceholders, sql } from "../sql/sql.js";
|
|
4
|
-
import { NoopCache } from "../cache/core/index.js";
|
|
5
4
|
import { NoopLogger } from "../logger.js";
|
|
5
|
+
import { NoopCache } from "../cache/core/index.js";
|
|
6
6
|
import { SQLiteTransaction } from "../sqlite-core/index.js";
|
|
7
7
|
import { SQLitePreparedQuery as SQLitePreparedQuery$1, SQLiteSession as SQLiteSession$1 } from "../sqlite-core/session.js";
|
|
8
8
|
|
package/bun-sql/driver.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SQL } from 'bun';
|
|
2
|
-
import type { AnyRelations, EmptyRelations } from
|
|
3
|
-
import type { DrizzleConfig } from
|
|
4
|
-
import { type BunMySqlDatabase, type BunMySqlDrizzleConfig } from
|
|
5
|
-
import { type BunSQLDatabase } from
|
|
6
|
-
import { type BunSQLiteDatabase } from
|
|
2
|
+
import type { AnyRelations, EmptyRelations } from '../relations.cjs';
|
|
3
|
+
import type { DrizzleConfig } from '../utils.cjs';
|
|
4
|
+
import { type BunMySqlDatabase, type BunMySqlDrizzleConfig } from './mysql/driver.cjs';
|
|
5
|
+
import { type BunSQLDatabase } from './postgres/driver.cjs';
|
|
6
|
+
import { type BunSQLiteDatabase } from './sqlite/driver.cjs';
|
|
7
7
|
export declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>, TRelations extends AnyRelations = EmptyRelations, TClient extends SQL = SQL>(...params: [
|
|
8
8
|
string
|
|
9
9
|
] | [
|
package/bun-sql/driver.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SQL } from 'bun';
|
|
2
|
-
import type { AnyRelations, EmptyRelations } from
|
|
3
|
-
import type { DrizzleConfig } from
|
|
4
|
-
import { type BunMySqlDatabase, type BunMySqlDrizzleConfig } from
|
|
5
|
-
import { type BunSQLDatabase } from
|
|
6
|
-
import { type BunSQLiteDatabase } from
|
|
2
|
+
import type { AnyRelations, EmptyRelations } from '../relations.js';
|
|
3
|
+
import type { DrizzleConfig } from '../utils.js';
|
|
4
|
+
import { type BunMySqlDatabase, type BunMySqlDrizzleConfig } from './mysql/driver.js';
|
|
5
|
+
import { type BunSQLDatabase } from './postgres/driver.js';
|
|
6
|
+
import { type BunSQLiteDatabase } from './sqlite/driver.js';
|
|
7
7
|
export declare function drizzle<TSchema extends Record<string, unknown> = Record<string, never>, TRelations extends AnyRelations = EmptyRelations, TClient extends SQL = SQL>(...params: [
|
|
8
8
|
string
|
|
9
9
|
] | [
|
package/bun-sql/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './driver.cjs';
|
|
2
|
+
export * from './session.cjs';
|