drizzle-orm 1.0.0-beta.23-98bd5e8 → 1.0.0-beta.23-45bb42a
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.cjs +1 -1
- package/_relations.js +1 -1
- package/alias.cjs +2 -2
- package/alias.js +2 -2
- package/arktype/column.cjs +1 -1
- package/arktype/column.js +1 -1
- package/arktype/schema.cjs +1 -1
- package/arktype/schema.js +1 -1
- package/arktype/schema.types.internal.d.ts +1 -1
- package/aws-data-api/pg/driver.d.ts +1 -1
- package/aws-data-api/pg/migrator.cjs +1 -1
- package/aws-data-api/pg/migrator.js +1 -1
- package/aws-data-api/pg/session.d.ts +2 -2
- package/better-sqlite3/driver.cjs +1 -1
- package/better-sqlite3/driver.d.ts +1 -1
- package/better-sqlite3/driver.js +1 -1
- package/better-sqlite3/session.d.ts +2 -2
- package/bun-sql/driver.d.ts +1 -1
- package/bun-sql/mysql/driver.cjs +2 -2
- package/bun-sql/mysql/driver.d.ts +2 -2
- package/bun-sql/mysql/driver.js +2 -2
- package/bun-sql/mysql/session.cjs +2 -2
- package/bun-sql/mysql/session.d.ts +3 -3
- package/bun-sql/mysql/session.js +2 -2
- package/bun-sql/postgres/driver.d.ts +1 -1
- package/bun-sql/postgres/migrator.cjs +1 -1
- package/bun-sql/postgres/migrator.js +1 -1
- package/bun-sql/postgres/session.d.ts +2 -2
- package/bun-sql/sqlite/driver.cjs +2 -2
- package/bun-sql/sqlite/driver.d.ts +2 -2
- package/bun-sql/sqlite/driver.js +2 -2
- package/bun-sql/sqlite/session.cjs +1 -1
- package/bun-sql/sqlite/session.d.ts +3 -3
- package/bun-sql/sqlite/session.js +1 -1
- package/bun-sqlite/driver.cjs +1 -1
- package/bun-sqlite/driver.d.ts +1 -1
- package/bun-sqlite/driver.js +1 -1
- package/bun-sqlite/session.d.ts +2 -2
- package/cache/core/cache-effect.cjs +4 -4
- package/cache/core/cache-effect.d.ts +2 -2
- package/cache/core/cache-effect.js +2 -2
- package/cockroach/driver.cjs +2 -2
- package/cockroach/driver.d.ts +2 -2
- package/cockroach/driver.js +2 -2
- package/cockroach/session.cjs +1 -1
- package/cockroach/session.d.ts +2 -2
- package/cockroach/session.js +1 -1
- package/cockroach-core/columns/char.d.ts +1 -1
- package/cockroach-core/columns/common.d.ts +2 -2
- package/cockroach-core/columns/custom.d.ts +1 -1
- package/cockroach-core/columns/date.d.ts +1 -1
- package/cockroach-core/columns/decimal.d.ts +1 -1
- package/cockroach-core/columns/enum.d.ts +1 -1
- package/cockroach-core/columns/geometry.d.ts +1 -1
- package/cockroach-core/columns/string.d.ts +1 -1
- package/cockroach-core/columns/timestamp.d.ts +1 -1
- package/cockroach-core/columns/varchar.d.ts +1 -1
- package/cockroach-core/db.cjs +1 -1
- package/cockroach-core/db.d.ts +3 -3
- package/cockroach-core/db.js +1 -1
- package/cockroach-core/dialect.cjs +4 -4
- package/cockroach-core/dialect.d.ts +1 -1
- package/cockroach-core/dialect.js +4 -4
- package/cockroach-core/index.cjs +9 -9
- package/cockroach-core/index.js +9 -9
- package/cockroach-core/query-builders/delete.cjs +2 -2
- package/cockroach-core/query-builders/delete.d.ts +3 -3
- package/cockroach-core/query-builders/delete.js +2 -2
- package/cockroach-core/query-builders/index.cjs +1 -1
- package/cockroach-core/query-builders/index.js +1 -1
- package/cockroach-core/query-builders/insert.cjs +2 -2
- package/cockroach-core/query-builders/insert.d.ts +3 -3
- package/cockroach-core/query-builders/insert.js +2 -2
- package/cockroach-core/query-builders/query-builder.d.ts +1 -1
- package/cockroach-core/query-builders/query.cjs +1 -1
- package/cockroach-core/query-builders/query.js +1 -1
- package/cockroach-core/query-builders/refresh-materialized-view.cjs +1 -1
- package/cockroach-core/query-builders/refresh-materialized-view.js +1 -1
- package/cockroach-core/query-builders/select.cjs +5 -5
- package/cockroach-core/query-builders/select.d.ts +5 -5
- package/cockroach-core/query-builders/select.js +5 -5
- package/cockroach-core/query-builders/select.types.d.ts +2 -2
- package/cockroach-core/query-builders/update.cjs +3 -3
- package/cockroach-core/query-builders/update.d.ts +4 -4
- package/cockroach-core/query-builders/update.js +3 -3
- package/cockroach-core/schema.cjs +1 -1
- package/cockroach-core/schema.js +1 -1
- package/cockroach-core/subquery.d.ts +1 -1
- package/cockroach-core/utils.cjs +4 -4
- package/cockroach-core/utils.js +4 -4
- package/column.cjs +1 -1
- package/column.js +1 -1
- package/d1/driver.cjs +1 -1
- package/d1/driver.d.ts +1 -1
- package/d1/driver.js +1 -1
- package/d1/session.d.ts +2 -2
- package/durable-sqlite/driver.cjs +1 -1
- package/durable-sqlite/driver.d.ts +1 -1
- package/durable-sqlite/driver.js +1 -1
- package/durable-sqlite/migrator.cjs +1 -1
- package/durable-sqlite/migrator.js +1 -1
- package/durable-sqlite/session.d.ts +1 -1
- package/effect-core/index.cjs +1 -1
- package/effect-core/index.js +1 -1
- package/effect-core/logger.cjs +2 -2
- package/effect-core/logger.d.ts +1 -1
- package/effect-core/logger.js +1 -1
- package/effect-postgres/driver.cjs +2 -2
- package/effect-postgres/driver.d.ts +2 -2
- package/effect-postgres/driver.js +2 -2
- package/effect-postgres/migrator.d.cts +1 -1
- package/effect-postgres/migrator.d.ts +2 -2
- package/effect-postgres/session.d.ts +5 -5
- package/effect-schema/column.cjs +1 -1
- package/effect-schema/column.d.ts +1 -1
- package/effect-schema/column.js +1 -1
- package/effect-schema/column.types.d.ts +3 -3
- package/effect-schema/schema.cjs +1 -1
- package/effect-schema/schema.js +1 -1
- package/effect-schema/schema.types.internal.d.ts +2 -2
- package/expo-sqlite/driver.cjs +1 -1
- package/expo-sqlite/driver.d.ts +1 -1
- package/expo-sqlite/driver.js +1 -1
- package/expo-sqlite/index.cjs +1 -1
- package/expo-sqlite/index.js +1 -1
- package/expo-sqlite/query.cjs +1 -1
- package/expo-sqlite/query.js +1 -1
- package/expo-sqlite/session.d.ts +2 -2
- package/index.cjs +7 -7
- package/index.js +7 -7
- package/libsql/driver-core.cjs +1 -1
- package/libsql/driver-core.d.ts +1 -1
- package/libsql/driver-core.js +1 -1
- package/libsql/session.d.ts +2 -2
- package/mssql-core/columns/char.d.ts +1 -1
- package/mssql-core/columns/common.d.ts +2 -2
- package/mssql-core/columns/custom.d.ts +1 -1
- package/mssql-core/columns/date.d.ts +1 -1
- package/mssql-core/columns/datetime.d.ts +1 -1
- package/mssql-core/columns/datetime2.d.ts +1 -1
- package/mssql-core/columns/datetimeoffset.d.ts +1 -1
- package/mssql-core/columns/decimal.d.ts +1 -1
- package/mssql-core/columns/numeric.d.ts +1 -1
- package/mssql-core/columns/text.d.ts +1 -1
- package/mssql-core/columns/time.d.ts +1 -1
- package/mssql-core/columns/varchar.d.ts +1 -1
- package/mssql-core/db.cjs +3 -3
- package/mssql-core/db.d.ts +1 -1
- package/mssql-core/db.js +3 -3
- package/mssql-core/dialect.cjs +4 -4
- package/mssql-core/dialect.js +4 -4
- package/mssql-core/index.cjs +12 -12
- package/mssql-core/index.js +12 -12
- package/mssql-core/query-builders/delete.d.ts +1 -1
- package/mssql-core/query-builders/index.cjs +2 -2
- package/mssql-core/query-builders/index.js +2 -2
- package/mssql-core/query-builders/insert.d.ts +1 -1
- package/mssql-core/query-builders/query-builder.d.ts +2 -2
- package/mssql-core/query-builders/select.cjs +3 -3
- package/mssql-core/query-builders/select.d.ts +3 -3
- package/mssql-core/query-builders/select.js +3 -3
- package/mssql-core/query-builders/select.types.d.ts +1 -1
- package/mssql-core/query-builders/update.d.ts +2 -2
- package/mssql-core/subquery.d.ts +1 -1
- package/mssql-core/utils.cjs +4 -4
- package/mssql-core/utils.js +4 -4
- package/mssql-core/view.cjs +1 -1
- package/mssql-core/view.js +1 -1
- package/mysql-core/columns/bigint.d.ts +1 -1
- package/mysql-core/columns/blob.d.ts +1 -1
- package/mysql-core/columns/char.d.ts +1 -1
- package/mysql-core/columns/common.d.ts +1 -1
- package/mysql-core/columns/custom.d.ts +1 -1
- package/mysql-core/columns/date.d.ts +1 -1
- package/mysql-core/columns/datetime.d.ts +1 -1
- package/mysql-core/columns/decimal.d.ts +1 -1
- package/mysql-core/columns/double.d.ts +1 -1
- package/mysql-core/columns/enum.d.ts +1 -1
- package/mysql-core/columns/float.d.ts +1 -1
- package/mysql-core/columns/int.d.ts +1 -1
- package/mysql-core/columns/mediumint.d.ts +1 -1
- package/mysql-core/columns/smallint.d.ts +1 -1
- package/mysql-core/columns/text.d.ts +1 -1
- package/mysql-core/columns/timestamp.d.ts +1 -1
- package/mysql-core/columns/tinyint.d.ts +1 -1
- package/mysql-core/columns/varchar.d.ts +1 -1
- package/mysql-core/db.cjs +3 -3
- package/mysql-core/db.d.ts +2 -2
- package/mysql-core/db.js +3 -3
- package/mysql-core/dialect.cjs +5 -5
- package/mysql-core/dialect.js +5 -5
- package/mysql-core/index.cjs +9 -9
- package/mysql-core/index.js +9 -9
- package/mysql-core/query-builders/delete.d.ts +1 -1
- package/mysql-core/query-builders/index.cjs +1 -1
- package/mysql-core/query-builders/index.js +1 -1
- package/mysql-core/query-builders/insert.d.ts +1 -1
- package/mysql-core/query-builders/select.cjs +4 -4
- package/mysql-core/query-builders/select.d.ts +2 -2
- package/mysql-core/query-builders/select.js +4 -4
- package/mysql-core/query-builders/select.types.d.ts +2 -2
- package/mysql-core/query-builders/update.d.ts +2 -2
- package/mysql-core/subquery.d.ts +1 -1
- package/mysql-core/utils.cjs +5 -5
- package/mysql-core/utils.d.ts +1 -1
- package/mysql-core/utils.js +5 -5
- package/mysql-core/view.cjs +1 -1
- package/mysql-core/view.js +1 -1
- package/mysql-proxy/driver.cjs +1 -1
- package/mysql-proxy/driver.d.ts +1 -1
- package/mysql-proxy/driver.js +1 -1
- package/mysql-proxy/session.cjs +2 -2
- package/mysql-proxy/session.d.ts +4 -4
- package/mysql-proxy/session.js +4 -4
- package/mysql-proxy/session.js.map +1 -1
- package/mysql2/driver.cjs +1 -1
- package/mysql2/driver.d.ts +2 -2
- package/mysql2/driver.js +1 -1
- package/mysql2/session.cjs +2 -2
- package/mysql2/session.d.ts +2 -2
- package/mysql2/session.js +2 -2
- package/neon-http/driver.d.ts +1 -1
- package/neon-http/session.d.ts +2 -2
- package/neon-serverless/driver.d.ts +1 -1
- package/neon-serverless/migrator.cjs +1 -1
- package/neon-serverless/migrator.js +1 -1
- package/neon-serverless/session.cjs +1 -1
- package/neon-serverless/session.d.ts +2 -2
- package/neon-serverless/session.js +1 -1
- package/netlify-db/driver.d.ts +2 -2
- package/netlify-db/migrator.cjs +1 -1
- package/netlify-db/migrator.js +1 -1
- package/netlify-db/session.cjs +2 -2
- package/netlify-db/session.d.ts +3 -3
- package/netlify-db/session.js +2 -2
- package/node-mssql/driver.cjs +2 -2
- package/node-mssql/driver.d.ts +2 -2
- package/node-mssql/driver.js +2 -2
- package/node-mssql/session.d.ts +1 -1
- package/node-postgres/driver.d.ts +1 -1
- package/node-postgres/migrator.cjs +1 -1
- package/node-postgres/migrator.js +1 -1
- package/node-postgres/session.cjs +1 -1
- package/node-postgres/session.d.ts +2 -2
- package/node-postgres/session.js +1 -1
- package/node-sqlite/driver.cjs +1 -1
- package/node-sqlite/driver.d.ts +1 -1
- package/node-sqlite/driver.js +1 -1
- package/node-sqlite/session.d.ts +2 -2
- package/op-sqlite/driver.cjs +1 -1
- package/op-sqlite/driver.d.ts +1 -1
- package/op-sqlite/driver.js +1 -1
- package/op-sqlite/session.d.ts +2 -2
- package/package.json +4368 -4368
- package/pg-core/async/db.cjs +1 -1
- package/pg-core/async/db.d.ts +4 -4
- package/pg-core/async/db.js +1 -1
- package/pg-core/async/delete.cjs +2 -2
- package/pg-core/async/delete.d.ts +1 -1
- package/pg-core/async/delete.js +2 -2
- package/pg-core/async/insert.cjs +1 -1
- package/pg-core/async/insert.js +1 -1
- package/pg-core/async/query.cjs +1 -1
- package/pg-core/async/query.js +1 -1
- package/pg-core/async/refresh-materialized-view.cjs +1 -1
- package/pg-core/async/refresh-materialized-view.js +1 -1
- package/pg-core/async/select.cjs +1 -1
- package/pg-core/async/select.js +1 -1
- package/pg-core/async/session.cjs +12 -7
- package/pg-core/async/session.cjs.map +1 -1
- package/pg-core/async/session.d.ts +1 -1
- package/pg-core/async/session.js +12 -7
- package/pg-core/async/session.js.map +1 -1
- package/pg-core/async/update.cjs +1 -1
- package/pg-core/async/update.d.ts +1 -1
- package/pg-core/async/update.js +1 -1
- package/pg-core/columns/common.d.ts +1 -1
- package/pg-core/dialect.cjs +5 -5
- package/pg-core/dialect.d.ts +1 -1
- package/pg-core/dialect.js +5 -5
- package/pg-core/effect/db.cjs +5 -5
- package/pg-core/effect/db.d.ts +3 -3
- package/pg-core/effect/db.js +5 -5
- package/pg-core/effect/delete.cjs +1 -1
- package/pg-core/effect/delete.js +1 -1
- package/pg-core/effect/index.cjs +6 -6
- package/pg-core/effect/index.js +6 -6
- package/pg-core/effect/session.cjs +1 -1
- package/pg-core/effect/session.d.cts +1 -1
- package/pg-core/effect/session.d.ts +3 -3
- package/pg-core/effect/session.js +1 -1
- package/pg-core/effect/update.d.ts +1 -1
- package/pg-core/index.cjs +11 -11
- package/pg-core/index.js +11 -11
- package/pg-core/query-builders/delete.d.ts +2 -2
- package/pg-core/query-builders/index.cjs +1 -1
- package/pg-core/query-builders/index.js +1 -1
- package/pg-core/query-builders/insert.d.ts +2 -2
- package/pg-core/query-builders/query-builder.cjs +1 -1
- package/pg-core/query-builders/query-builder.d.ts +1 -1
- package/pg-core/query-builders/query-builder.js +1 -1
- package/pg-core/query-builders/select.cjs +2 -2
- package/pg-core/query-builders/select.d.ts +3 -3
- package/pg-core/query-builders/select.js +2 -2
- package/pg-core/query-builders/select.types.d.ts +2 -2
- package/pg-core/query-builders/update.cjs +2 -2
- package/pg-core/query-builders/update.d.ts +3 -3
- package/pg-core/query-builders/update.js +2 -2
- package/pg-core/schema.cjs +1 -1
- package/pg-core/schema.js +1 -1
- package/pg-core/subquery.d.ts +1 -1
- package/pg-core/utils.cjs +4 -4
- package/pg-core/utils.d.ts +1 -1
- package/pg-core/utils.js +4 -4
- package/pg-proxy/driver.cjs +1 -1
- package/pg-proxy/driver.d.ts +2 -2
- package/pg-proxy/driver.js +1 -1
- package/pg-proxy/session.d.ts +2 -2
- package/pglite/driver.d.ts +1 -1
- package/pglite/migrator.cjs +1 -1
- package/pglite/migrator.js +1 -1
- package/pglite/session.cjs +1 -1
- package/pglite/session.d.ts +3 -3
- package/pglite/session.js +1 -1
- package/planetscale-serverless/driver.cjs +1 -1
- package/planetscale-serverless/driver.d.ts +1 -1
- package/planetscale-serverless/driver.js +1 -1
- package/planetscale-serverless/session.cjs +2 -2
- package/planetscale-serverless/session.d.ts +2 -2
- package/planetscale-serverless/session.js +2 -2
- package/postgres-js/driver.d.ts +1 -1
- package/postgres-js/migrator.cjs +1 -1
- package/postgres-js/migrator.js +1 -1
- package/postgres-js/session.d.ts +2 -2
- package/query-builders/select.types.d.ts +2 -2
- package/relations.cjs +2 -2
- package/relations.js +2 -2
- package/selection-proxy.cjs +1 -1
- package/selection-proxy.js +1 -1
- package/singlestore/driver.cjs +2 -2
- package/singlestore/driver.d.ts +3 -3
- package/singlestore/driver.js +2 -2
- package/singlestore/session.cjs +1 -1
- package/singlestore/session.d.ts +2 -2
- package/singlestore/session.js +1 -1
- package/singlestore-core/columns/bigint.d.ts +1 -1
- package/singlestore-core/columns/char.d.ts +1 -1
- package/singlestore-core/columns/common.d.ts +1 -1
- package/singlestore-core/columns/custom.d.ts +1 -1
- package/singlestore-core/columns/date.d.ts +1 -1
- package/singlestore-core/columns/datetime.d.ts +1 -1
- package/singlestore-core/columns/decimal.d.ts +1 -1
- package/singlestore-core/columns/double.d.ts +1 -1
- package/singlestore-core/columns/enum.d.ts +1 -1
- package/singlestore-core/columns/float.d.ts +1 -1
- package/singlestore-core/columns/int.d.ts +1 -1
- package/singlestore-core/columns/mediumint.d.ts +1 -1
- package/singlestore-core/columns/smallint.d.ts +1 -1
- package/singlestore-core/columns/text.d.ts +1 -1
- package/singlestore-core/columns/timestamp.d.ts +1 -1
- package/singlestore-core/columns/tinyint.d.ts +1 -1
- package/singlestore-core/columns/varchar.d.ts +1 -1
- package/singlestore-core/columns/vector.d.ts +1 -1
- package/singlestore-core/db.cjs +1 -1
- package/singlestore-core/db.d.ts +2 -2
- package/singlestore-core/db.js +1 -1
- package/singlestore-core/dialect.cjs +5 -5
- package/singlestore-core/dialect.js +5 -5
- package/singlestore-core/index.cjs +5 -5
- package/singlestore-core/index.js +5 -5
- package/singlestore-core/query-builders/delete.d.ts +1 -1
- package/singlestore-core/query-builders/select.cjs +2 -2
- package/singlestore-core/query-builders/select.d.ts +2 -2
- package/singlestore-core/query-builders/select.js +2 -2
- package/singlestore-core/query-builders/select.types.d.ts +1 -1
- package/singlestore-core/query-builders/update.d.ts +2 -2
- package/singlestore-core/subquery.d.ts +1 -1
- package/singlestore-core/utils.cjs +2 -2
- package/singlestore-core/utils.d.ts +1 -1
- package/singlestore-core/utils.js +2 -2
- package/singlestore-core/view.cjs +1 -1
- package/singlestore-core/view.js +1 -1
- package/singlestore-proxy/driver.cjs +2 -2
- package/singlestore-proxy/driver.js +2 -2
- package/singlestore-proxy/session.cjs +1 -1
- package/singlestore-proxy/session.d.ts +2 -2
- package/singlestore-proxy/session.js +1 -1
- package/sql/sql.d.ts +1 -1
- package/sql-js/driver.cjs +1 -1
- package/sql-js/driver.d.ts +1 -1
- package/sql-js/driver.js +1 -1
- package/sql-js/session.d.ts +2 -2
- package/sqlite-cloud/driver.cjs +1 -1
- package/sqlite-cloud/driver.d.ts +1 -1
- package/sqlite-cloud/driver.js +1 -1
- package/sqlite-cloud/session.cjs +1 -1
- package/sqlite-cloud/session.d.ts +2 -2
- package/sqlite-cloud/session.js +1 -1
- package/sqlite-core/columns/blob.d.ts +1 -1
- package/sqlite-core/columns/common.d.ts +1 -1
- package/sqlite-core/columns/custom.d.ts +1 -1
- package/sqlite-core/columns/integer.d.ts +1 -1
- package/sqlite-core/columns/numeric.d.ts +1 -1
- package/sqlite-core/columns/text.d.ts +1 -1
- package/sqlite-core/db.cjs +1 -1
- package/sqlite-core/db.d.ts +3 -3
- package/sqlite-core/db.js +1 -1
- package/sqlite-core/dialect.cjs +5 -5
- package/sqlite-core/dialect.d.ts +1 -1
- package/sqlite-core/dialect.js +5 -5
- package/sqlite-core/index.cjs +5 -5
- package/sqlite-core/index.js +5 -5
- package/sqlite-core/query-builders/delete.d.ts +1 -1
- package/sqlite-core/query-builders/insert.d.ts +2 -2
- package/sqlite-core/query-builders/select.cjs +3 -3
- package/sqlite-core/query-builders/select.d.ts +2 -2
- package/sqlite-core/query-builders/select.js +3 -3
- package/sqlite-core/query-builders/select.types.d.ts +1 -1
- package/sqlite-core/query-builders/update.cjs +2 -2
- package/sqlite-core/query-builders/update.d.ts +2 -2
- package/sqlite-core/query-builders/update.js +2 -2
- package/sqlite-core/session.cjs +1 -1
- package/sqlite-core/session.d.ts +2 -2
- package/sqlite-core/session.js +1 -1
- package/sqlite-core/subquery.d.ts +1 -1
- package/sqlite-core/utils.cjs +4 -4
- package/sqlite-core/utils.d.ts +1 -1
- package/sqlite-core/utils.js +4 -4
- package/sqlite-proxy/driver.cjs +1 -1
- package/sqlite-proxy/driver.d.ts +1 -1
- package/sqlite-proxy/driver.js +1 -1
- package/sqlite-proxy/session.d.ts +2 -2
- package/tidb-serverless/driver.cjs +1 -1
- package/tidb-serverless/driver.d.ts +1 -1
- package/tidb-serverless/driver.js +1 -1
- package/tidb-serverless/session.cjs +2 -2
- package/tidb-serverless/session.d.ts +2 -2
- package/tidb-serverless/session.js +2 -2
- package/tursodatabase/driver-core.cjs +1 -1
- package/tursodatabase/driver-core.d.ts +1 -1
- package/tursodatabase/driver-core.js +1 -1
- package/tursodatabase/session.cjs +1 -1
- package/tursodatabase/session.d.ts +2 -2
- package/tursodatabase/session.js +1 -1
- package/typebox/column.types.d.ts +1 -1
- package/typebox/schema.cjs +1 -1
- package/typebox/schema.js +1 -1
- package/typebox/schema.types.internal.d.ts +1 -1
- package/typebox-legacy/column.types.d.ts +1 -1
- package/typebox-legacy/schema.cjs +1 -1
- package/typebox-legacy/schema.js +1 -1
- package/typebox-legacy/schema.types.internal.d.ts +1 -1
- package/up-migrations/effect-pg.d.ts +1 -1
- package/up-migrations/pg.d.ts +1 -1
- package/utils.cjs +1 -1
- package/utils.js +1 -1
- package/valibot/column.types.d.ts +1 -1
- package/valibot/schema.cjs +1 -1
- package/valibot/schema.js +1 -1
- package/valibot/schema.types.internal.d.ts +1 -1
- package/vercel-postgres/driver.cjs +1 -1
- package/vercel-postgres/driver.d.ts +1 -1
- package/vercel-postgres/driver.js +1 -1
- package/vercel-postgres/migrator.cjs +1 -1
- package/vercel-postgres/migrator.js +1 -1
- package/vercel-postgres/session.cjs +2 -2
- package/vercel-postgres/session.d.ts +3 -3
- package/vercel-postgres/session.js +2 -2
- package/xata-http/driver.d.ts +1 -1
- package/xata-http/session.d.ts +2 -2
- package/zod/column.types.d.ts +1 -1
- package/zod/schema.cjs +1 -1
- package/zod/schema.js +1 -1
- package/zod/schema.types.internal.d.ts +1 -1
package/_relations.cjs
CHANGED
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
const require_entity = require('./entity.cjs');
|
|
4
4
|
const require_column = require('./column.cjs');
|
|
5
|
-
const require_pg_core_primary_keys = require('./pg-core/primary-keys.cjs');
|
|
6
5
|
const require_sql_sql = require('./sql/sql.cjs');
|
|
7
6
|
const require_sql_expressions_conditions = require('./sql/expressions/conditions.cjs');
|
|
8
7
|
const require_sql_expressions_select = require('./sql/expressions/select.cjs');
|
|
8
|
+
const require_pg_core_primary_keys = require('./pg-core/primary-keys.cjs');
|
|
9
9
|
let __table_ts = require("./table.cjs");
|
|
10
10
|
|
|
11
11
|
//#region src/_relations.ts
|
package/_relations.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { entityKind, is } from "./entity.js";
|
|
2
2
|
import { Column } from "./column.js";
|
|
3
|
-
import { PrimaryKeyBuilder } from "./pg-core/primary-keys.js";
|
|
4
3
|
import { SQL, sql } from "./sql/sql.js";
|
|
5
4
|
import { and, between, eq, exists, gt, gte, ilike, inArray, isNotNull, isNull, like, lt, lte, ne, not, notBetween, notExists, notIlike, notInArray, notLike, or } from "./sql/expressions/conditions.js";
|
|
6
5
|
import { asc, desc } from "./sql/expressions/select.js";
|
|
6
|
+
import { PrimaryKeyBuilder } from "./pg-core/primary-keys.js";
|
|
7
7
|
import { Table, getTableUniqueName } from "./table.js";
|
|
8
8
|
|
|
9
9
|
//#region src/_relations.ts
|
package/alias.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_column_common = require('./column-common.cjs');
|
|
3
2
|
const require_entity = require('./entity.cjs');
|
|
3
|
+
const require_column_common = require('./column-common.cjs');
|
|
4
4
|
const require_column = require('./column.cjs');
|
|
5
|
+
const require_subquery = require('./subquery.cjs');
|
|
5
6
|
const require_table = require('./table.cjs');
|
|
6
7
|
const require_sql_sql = require('./sql/sql.cjs');
|
|
7
|
-
const require_subquery = require('./subquery.cjs');
|
|
8
8
|
const require_view_common = require('./view-common.cjs');
|
|
9
9
|
|
|
10
10
|
//#region src/alias.ts
|
package/alias.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OriginalColumn } from "./column-common.js";
|
|
2
1
|
import { entityKind, is } from "./entity.js";
|
|
2
|
+
import { OriginalColumn } from "./column-common.js";
|
|
3
3
|
import { Column } from "./column.js";
|
|
4
|
+
import { Subquery } from "./subquery.js";
|
|
4
5
|
import { Table } from "./table.js";
|
|
5
6
|
import { SQL, View, isSQLWrapper, sql } from "./sql/sql.js";
|
|
6
|
-
import { Subquery } from "./subquery.js";
|
|
7
7
|
import { ViewBaseConfig } from "./view-common.js";
|
|
8
8
|
|
|
9
9
|
//#region src/alias.ts
|
package/arktype/column.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
let __table_ts = require("../table.cjs");
|
|
4
|
-
let __utils_ts = require("../utils.cjs");
|
|
5
4
|
let __column_ts = require("../column.cjs");
|
|
5
|
+
let __utils_ts = require("../utils.cjs");
|
|
6
6
|
let __column_builder_ts = require("../column-builder.cjs");
|
|
7
7
|
let arktype = require("arktype");
|
|
8
8
|
|
package/arktype/column.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getTableName } from "../table.js";
|
|
2
|
-
import { CONSTANTS } from "../utils.js";
|
|
3
2
|
import { getColumnTable } from "../column.js";
|
|
3
|
+
import { CONSTANTS } from "../utils.js";
|
|
4
4
|
import { extractExtendedColumnType } from "../column-builder.js";
|
|
5
5
|
import { type } from "arktype";
|
|
6
6
|
|
package/arktype/schema.cjs
CHANGED
|
@@ -4,8 +4,8 @@ const require_utils = require('../utils.cjs');
|
|
|
4
4
|
const require_arktype_column = require('./column.cjs');
|
|
5
5
|
let __entity_ts = require("../entity.cjs");
|
|
6
6
|
let __table_ts = require("../table.cjs");
|
|
7
|
-
let __utils_ts = require("../utils.cjs");
|
|
8
7
|
let __column_ts = require("../column.cjs");
|
|
8
|
+
let __utils_ts = require("../utils.cjs");
|
|
9
9
|
let __sql_sql_ts = require("../sql/sql.cjs");
|
|
10
10
|
let arktype = require("arktype");
|
|
11
11
|
|
package/arktype/schema.js
CHANGED
|
@@ -2,8 +2,8 @@ import { isWithEnum } from "../utils.js";
|
|
|
2
2
|
import { columnToSchema } from "./column.js";
|
|
3
3
|
import { is } from "../entity.js";
|
|
4
4
|
import { isTable } from "../table.js";
|
|
5
|
-
import { getColumns } from "../utils.js";
|
|
6
5
|
import { Column } from "../column.js";
|
|
6
|
+
import { getColumns } from "../utils.js";
|
|
7
7
|
import { SQL, isView } from "../sql/sql.js";
|
|
8
8
|
import { type } from "arktype";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ColumnIsGeneratedAlwaysAs, GetSelection } from "../utils.js";
|
|
2
2
|
import { ArktypeNullable, ArktypeOptional, GetArktypeType, HandleColumn } from "./column.types.js";
|
|
3
3
|
import { Table } from "../table.js";
|
|
4
|
-
import { DrizzleTypeError, Simplify } from "../utils.js";
|
|
5
4
|
import { Column } from "../column.js";
|
|
5
|
+
import { DrizzleTypeError, Simplify } from "../utils.js";
|
|
6
6
|
import { View } from "../sql/sql.js";
|
|
7
7
|
import { Type, type } from "arktype";
|
|
8
8
|
import { SelectedFieldsFlat } from "../operations.js";
|
|
@@ -3,9 +3,9 @@ import { entityKind } from "../../entity.js";
|
|
|
3
3
|
import { DrizzleConfig, UpdateSet } from "../../utils.js";
|
|
4
4
|
import { SQL } from "../../sql/sql.js";
|
|
5
5
|
import { Logger } from "../../logger.js";
|
|
6
|
-
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
7
6
|
import { PgAsyncDatabase } from "../../pg-core/async/db.js";
|
|
8
7
|
import { PgDialect } from "../../pg-core/dialect.js";
|
|
8
|
+
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
9
9
|
import { RDSDataClient, RDSDataClientConfig } from "@aws-sdk/client-rds-data";
|
|
10
10
|
import { PgTable, TableConfig } from "../../pg-core/table.js";
|
|
11
11
|
import { PgInsertConfig } from "../../pg-core/query-builders/insert.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
let __migrator_ts = require("../../migrator.cjs");
|
|
4
3
|
let __pg_core_async_session_ts = require("../../pg-core/async/session.cjs");
|
|
4
|
+
let __migrator_ts = require("../../migrator.cjs");
|
|
5
5
|
|
|
6
6
|
//#region src/aws-data-api/pg/migrator.ts
|
|
7
7
|
async function migrate(db, config) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { readMigrationFiles } from "../../migrator.js";
|
|
2
1
|
import { migrate as migrate$1 } from "../../pg-core/async/session.js";
|
|
2
|
+
import { readMigrationFiles } from "../../migrator.js";
|
|
3
3
|
|
|
4
4
|
//#region src/aws-data-api/pg/migrator.ts
|
|
5
5
|
async function migrate(db, config) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { entityKind } from "../../entity.js";
|
|
2
2
|
import { QueryWithTypings } from "../../sql/sql.js";
|
|
3
3
|
import { Logger } from "../../logger.js";
|
|
4
|
-
import { AnyRelations } from "../../relations.js";
|
|
5
|
-
import { PgAsyncPreparedQuery, PgAsyncSession, PgAsyncTransaction } from "../../pg-core/async/session.js";
|
|
6
4
|
import { PgDialect } from "../../pg-core/dialect.js";
|
|
5
|
+
import { PgAsyncPreparedQuery, PgAsyncSession, PgAsyncTransaction } from "../../pg-core/async/session.js";
|
|
6
|
+
import { AnyRelations } from "../../relations.js";
|
|
7
7
|
import { Cache } from "../../cache/core/cache.js";
|
|
8
8
|
import { ExecuteStatementCommandOutput, RDSDataClient } from "@aws-sdk/client-rds-data";
|
|
9
9
|
import { WithCacheConfig } from "../../cache/core/types.js";
|
|
@@ -3,9 +3,9 @@ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
|
3
3
|
const require_better_sqlite3_session = require('./session.cjs');
|
|
4
4
|
let __entity_ts = require("../entity.cjs");
|
|
5
5
|
let __utils_ts = require("../utils.cjs");
|
|
6
|
+
let __logger_ts = require("../logger.cjs");
|
|
6
7
|
let ___relations_ts = require("../_relations.cjs");
|
|
7
8
|
___relations_ts = require_runtime.__toESM(___relations_ts);
|
|
8
|
-
let __logger_ts = require("../logger.cjs");
|
|
9
9
|
let __sqlite_core_db_ts = require("../sqlite-core/db.cjs");
|
|
10
10
|
let __sqlite_core_dialect_ts = require("../sqlite-core/dialect.cjs");
|
|
11
11
|
let better_sqlite3 = require("better-sqlite3");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { entityKind } from "../entity.js";
|
|
2
2
|
import { DrizzleConfig } from "../utils.js";
|
|
3
|
-
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
4
3
|
import { AnyRelations, EmptyRelations } from "../relations.js";
|
|
4
|
+
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
5
5
|
import { Database, Options, RunResult } from "better-sqlite3";
|
|
6
6
|
|
|
7
7
|
//#region src/better-sqlite3/driver.d.ts
|
package/better-sqlite3/driver.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BetterSQLiteSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../entity.js";
|
|
3
3
|
import { jitCompatCheck } from "../utils.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { DefaultLogger } from "../logger.js";
|
|
5
|
+
import * as V1 from "../_relations.js";
|
|
6
6
|
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
7
7
|
import { SQLiteSyncDialect } from "../sqlite-core/dialect.js";
|
|
8
8
|
import Client from "better-sqlite3";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { entityKind } from "../entity.js";
|
|
2
2
|
import { DrizzleTypeError } from "../utils.js";
|
|
3
3
|
import { Query } from "../sql/sql.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { Logger } from "../logger.js";
|
|
6
|
-
import { SQLiteSyncDialect } from "../sqlite-core/dialect.js";
|
|
7
5
|
import { Cache } from "../cache/core/index.js";
|
|
6
|
+
import * as V1 from "../_relations.js";
|
|
8
7
|
import { AnyRelations, RelationalQueryMapperConfig } from "../relations.js";
|
|
8
|
+
import { SQLiteSyncDialect } from "../sqlite-core/dialect.js";
|
|
9
9
|
import { SQLiteTransaction } from "../sqlite-core/index.js";
|
|
10
10
|
import { PreparedQueryConfig, SQLiteExecuteMethod, SQLitePreparedQuery, SQLiteSession, SQLiteTransactionConfig } from "../sqlite-core/session.js";
|
|
11
11
|
import { Database, RunResult, Statement } from "better-sqlite3";
|
package/bun-sql/driver.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { BunMySqlDatabase, BunMySqlDrizzleConfig } from "./mysql/driver.js";
|
|
|
2
2
|
import { BunSQLDatabase } from "./postgres/driver.js";
|
|
3
3
|
import { BunSQLiteDatabase } from "./sqlite/driver.js";
|
|
4
4
|
import { DrizzleConfig } from "../utils.js";
|
|
5
|
-
import { AnyRelations, EmptyRelations } from "../relations.js";
|
|
6
5
|
import { SQL } from "bun";
|
|
6
|
+
import { AnyRelations, EmptyRelations } from "../relations.js";
|
|
7
7
|
import { DrizzlePgConfig } from "../pg-core/utils.js";
|
|
8
8
|
|
|
9
9
|
//#region src/bun-sql/driver.d.ts
|
package/bun-sql/mysql/driver.cjs
CHANGED
|
@@ -3,13 +3,13 @@ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
|
3
3
|
const require_bun_sql_mysql_session = require('./session.cjs');
|
|
4
4
|
let __entity_ts = require("../../entity.cjs");
|
|
5
5
|
let __utils_ts = require("../../utils.cjs");
|
|
6
|
+
let __logger_ts = require("../../logger.cjs");
|
|
7
|
+
let bun = require("bun");
|
|
6
8
|
let ___relations_ts = require("../../_relations.cjs");
|
|
7
9
|
___relations_ts = require_runtime.__toESM(___relations_ts);
|
|
8
|
-
let __logger_ts = require("../../logger.cjs");
|
|
9
10
|
let __errors_ts = require("../../errors.cjs");
|
|
10
11
|
let __mysql_core_db_ts = require("../../mysql-core/db.cjs");
|
|
11
12
|
let __mysql_core_dialect_ts = require("../../mysql-core/dialect.cjs");
|
|
12
|
-
let bun = require("bun");
|
|
13
13
|
|
|
14
14
|
//#region src/bun-sql/mysql/driver.ts
|
|
15
15
|
var BunMySqlDatabase = class extends __mysql_core_db_ts.MySqlDatabase {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BunMySqlPreparedQueryHKT, BunMySqlQueryResultHKT } from "./session.js";
|
|
2
2
|
import { entityKind } from "../../entity.js";
|
|
3
3
|
import { DrizzleConfig } from "../../utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SQL } from "bun";
|
|
5
5
|
import { MySqlDatabase } from "../../mysql-core/db.js";
|
|
6
6
|
import { Mode } from "../../mysql-core/session.js";
|
|
7
|
-
import {
|
|
7
|
+
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
8
8
|
|
|
9
9
|
//#region src/bun-sql/mysql/driver.d.ts
|
|
10
10
|
type BunMySqlDrizzleConfig<TSchema extends Record<string, unknown> = Record<string, never>, TRelations extends AnyRelations = EmptyRelations> = Omit<DrizzleConfig<TSchema, TRelations>, 'schema'> & ({
|
package/bun-sql/mysql/driver.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BunMySqlSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../../entity.js";
|
|
3
3
|
import { jitCompatCheck } from "../../utils.js";
|
|
4
|
-
import * as V1 from "../../_relations.js";
|
|
5
4
|
import { DefaultLogger } from "../../logger.js";
|
|
5
|
+
import { SQL } from "bun";
|
|
6
|
+
import * as V1 from "../../_relations.js";
|
|
6
7
|
import { DrizzleError } from "../../errors.js";
|
|
7
8
|
import { MySqlDatabase } from "../../mysql-core/db.js";
|
|
8
9
|
import { MySqlDialect } from "../../mysql-core/dialect.js";
|
|
9
|
-
import { SQL } from "bun";
|
|
10
10
|
|
|
11
11
|
//#region src/bun-sql/mysql/driver.ts
|
|
12
12
|
var BunMySqlDatabase = class extends MySqlDatabase {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
let __entity_ts = require("../../entity.cjs");
|
|
4
|
-
let __utils_ts = require("../../utils.cjs");
|
|
5
4
|
let __column_ts = require("../../column.cjs");
|
|
5
|
+
let __utils_ts = require("../../utils.cjs");
|
|
6
6
|
let __sql_sql_ts = require("../../sql/sql.cjs");
|
|
7
7
|
let __logger_ts = require("../../logger.cjs");
|
|
8
8
|
let __cache_core_index_ts = require("../../cache/core/index.cjs");
|
|
9
|
-
let __relations_ts = require("../../relations.cjs");
|
|
10
9
|
let __mysql_core_session_ts = require("../../mysql-core/session.cjs");
|
|
10
|
+
let __relations_ts = require("../../relations.cjs");
|
|
11
11
|
|
|
12
12
|
//#region src/bun-sql/mysql/session.ts
|
|
13
13
|
var BunMySqlPreparedQuery = class extends __mysql_core_session_ts.MySqlPreparedQuery {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { entityKind } from "../../entity.js";
|
|
2
2
|
import { Assume } from "../../utils.js";
|
|
3
3
|
import { Query, SQL } from "../../sql/sql.js";
|
|
4
|
-
import * as V1 from "../../_relations.js";
|
|
5
4
|
import { Logger } from "../../logger.js";
|
|
6
5
|
import { Cache } from "../../cache/core/index.js";
|
|
7
|
-
import {
|
|
6
|
+
import { SQL as SQL$1 } from "bun";
|
|
7
|
+
import * as V1 from "../../_relations.js";
|
|
8
8
|
import { MySqlDialect } from "../../mysql-core/dialect.js";
|
|
9
9
|
import { Mode, MySqlPreparedQuery, MySqlPreparedQueryConfig, MySqlPreparedQueryHKT, MySqlQueryResultHKT, MySqlSession, MySqlTransaction, MySqlTransactionConfig, PreparedQueryKind } from "../../mysql-core/session.js";
|
|
10
|
-
import {
|
|
10
|
+
import { AnyRelations, RelationalQueryMapperConfig } from "../../relations.js";
|
|
11
11
|
import { WithCacheConfig } from "../../cache/core/types.js";
|
|
12
12
|
import { SelectedFieldsOrdered } from "../../mysql-core/query-builders/select.types.js";
|
|
13
13
|
|
package/bun-sql/mysql/session.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { entityKind, is } from "../../entity.js";
|
|
2
|
-
import { makeJitQueryMapper, mapResultRow } from "../../utils.js";
|
|
3
2
|
import { Column } from "../../column.js";
|
|
3
|
+
import { makeJitQueryMapper, mapResultRow } from "../../utils.js";
|
|
4
4
|
import { fillPlaceholders } from "../../sql/sql.js";
|
|
5
5
|
import { NoopLogger } from "../../logger.js";
|
|
6
6
|
import { NoopCache } from "../../cache/core/index.js";
|
|
7
|
-
import { makeJitRqbMapper } from "../../relations.js";
|
|
8
7
|
import { MySqlPreparedQuery, MySqlSession, MySqlTransaction } from "../../mysql-core/session.js";
|
|
8
|
+
import { makeJitRqbMapper } from "../../relations.js";
|
|
9
9
|
|
|
10
10
|
//#region src/bun-sql/mysql/session.ts
|
|
11
11
|
var BunMySqlPreparedQuery = class extends MySqlPreparedQuery {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BunSQLQueryResultHKT } from "./session.js";
|
|
2
2
|
import { entityKind } from "../../entity.js";
|
|
3
|
-
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
4
3
|
import { PgAsyncDatabase } from "../../pg-core/async/db.js";
|
|
5
4
|
import { SQL } from "bun";
|
|
5
|
+
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
6
6
|
import { DrizzlePgConfig } from "../../pg-core/utils.js";
|
|
7
7
|
|
|
8
8
|
//#region src/bun-sql/postgres/driver.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
let __migrator_ts = require("../../migrator.cjs");
|
|
4
3
|
let __pg_core_async_session_ts = require("../../pg-core/async/session.cjs");
|
|
4
|
+
let __migrator_ts = require("../../migrator.cjs");
|
|
5
5
|
|
|
6
6
|
//#region src/bun-sql/postgres/migrator.ts
|
|
7
7
|
async function migrate(db, config) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { readMigrationFiles } from "../../migrator.js";
|
|
2
1
|
import { migrate as migrate$1 } from "../../pg-core/async/session.js";
|
|
2
|
+
import { readMigrationFiles } from "../../migrator.js";
|
|
3
3
|
|
|
4
4
|
//#region src/bun-sql/postgres/migrator.ts
|
|
5
5
|
async function migrate(db, config) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { entityKind } from "../../entity.js";
|
|
2
2
|
import { Query } from "../../sql/sql.js";
|
|
3
3
|
import { Logger } from "../../logger.js";
|
|
4
|
+
import { PgDialect } from "../../pg-core/dialect.js";
|
|
4
5
|
import { Cache } from "../../cache/core/index.js";
|
|
5
|
-
import { AnyRelations } from "../../relations.js";
|
|
6
6
|
import { PgAsyncPreparedQuery, PgAsyncSession, PgAsyncTransaction } from "../../pg-core/async/session.js";
|
|
7
|
-
import { PgDialect } from "../../pg-core/dialect.js";
|
|
8
7
|
import { SQL as SQL$1, SavepointSQL, TransactionSQL } from "bun";
|
|
8
|
+
import { AnyRelations } from "../../relations.js";
|
|
9
9
|
import { WithCacheConfig } from "../../cache/core/types.js";
|
|
10
10
|
import { PgQueryResultHKT, PgTransactionConfig, PreparedQueryConfig } from "../../pg-core/session.js";
|
|
11
11
|
|
|
@@ -3,12 +3,12 @@ const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
|
3
3
|
const require_bun_sql_sqlite_session = require('./session.cjs');
|
|
4
4
|
let __entity_ts = require("../../entity.cjs");
|
|
5
5
|
let __utils_ts = require("../../utils.cjs");
|
|
6
|
+
let __logger_ts = require("../../logger.cjs");
|
|
7
|
+
let bun = require("bun");
|
|
6
8
|
let ___relations_ts = require("../../_relations.cjs");
|
|
7
9
|
___relations_ts = require_runtime.__toESM(___relations_ts);
|
|
8
|
-
let __logger_ts = require("../../logger.cjs");
|
|
9
10
|
let __sqlite_core_db_ts = require("../../sqlite-core/db.cjs");
|
|
10
11
|
let __sqlite_core_dialect_ts = require("../../sqlite-core/dialect.cjs");
|
|
11
|
-
let bun = require("bun");
|
|
12
12
|
|
|
13
13
|
//#region src/bun-sql/sqlite/driver.ts
|
|
14
14
|
var BunSQLiteDatabase = class extends __sqlite_core_db_ts.BaseSQLiteDatabase {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BunSQLiteRunResult } from "./session.js";
|
|
2
2
|
import { entityKind } from "../../entity.js";
|
|
3
3
|
import { DrizzleConfig } from "../../utils.js";
|
|
4
|
-
import { BaseSQLiteDatabase } from "../../sqlite-core/db.js";
|
|
5
|
-
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
6
4
|
import { SQL } from "bun";
|
|
5
|
+
import { AnyRelations, EmptyRelations } from "../../relations.js";
|
|
6
|
+
import { BaseSQLiteDatabase } from "../../sqlite-core/db.js";
|
|
7
7
|
|
|
8
8
|
//#region src/bun-sql/sqlite/driver.d.ts
|
|
9
9
|
declare class BunSQLiteDatabase<TSchema extends Record<string, unknown> = Record<string, never>, TRelations extends AnyRelations = EmptyRelations> extends BaseSQLiteDatabase<'async', BunSQLiteRunResult, TSchema, TRelations> {
|
package/bun-sql/sqlite/driver.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BunSQLiteSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../../entity.js";
|
|
3
3
|
import { jitCompatCheck } from "../../utils.js";
|
|
4
|
-
import * as V1 from "../../_relations.js";
|
|
5
4
|
import { DefaultLogger } from "../../logger.js";
|
|
5
|
+
import { SQL } from "bun";
|
|
6
|
+
import * as V1 from "../../_relations.js";
|
|
6
7
|
import { BaseSQLiteDatabase } from "../../sqlite-core/db.js";
|
|
7
8
|
import { SQLiteAsyncDialect } from "../../sqlite-core/dialect.js";
|
|
8
|
-
import { SQL } from "bun";
|
|
9
9
|
|
|
10
10
|
//#region src/bun-sql/sqlite/driver.ts
|
|
11
11
|
var BunSQLiteDatabase = class extends BaseSQLiteDatabase {
|
|
@@ -5,10 +5,10 @@ let __utils_ts = require("../../utils.cjs");
|
|
|
5
5
|
let __sql_sql_ts = require("../../sql/sql.cjs");
|
|
6
6
|
let __logger_ts = require("../../logger.cjs");
|
|
7
7
|
let __cache_core_index_ts = require("../../cache/core/index.cjs");
|
|
8
|
+
let __errors_ts = require("../../errors.cjs");
|
|
8
9
|
let __relations_ts = require("../../relations.cjs");
|
|
9
10
|
let __sqlite_core_index_ts = require("../../sqlite-core/index.cjs");
|
|
10
11
|
let __sqlite_core_session_ts = require("../../sqlite-core/session.cjs");
|
|
11
|
-
let __errors_ts = require("../../errors.cjs");
|
|
12
12
|
|
|
13
13
|
//#region src/bun-sql/sqlite/session.ts
|
|
14
14
|
var BunSQLiteSession = class BunSQLiteSession extends __sqlite_core_session_ts.SQLiteSession {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { entityKind } from "../../entity.js";
|
|
2
2
|
import { Query, SQL } from "../../sql/sql.js";
|
|
3
|
-
import * as V1 from "../../_relations.js";
|
|
4
3
|
import { Logger } from "../../logger.js";
|
|
5
|
-
import { SQLiteAsyncDialect } from "../../sqlite-core/dialect.js";
|
|
6
4
|
import { Cache } from "../../cache/core/index.js";
|
|
5
|
+
import { SQL as SQL$1 } from "bun";
|
|
6
|
+
import * as V1 from "../../_relations.js";
|
|
7
7
|
import { AnyRelations, RelationalQueryMapperConfig } from "../../relations.js";
|
|
8
|
+
import { SQLiteAsyncDialect } from "../../sqlite-core/dialect.js";
|
|
8
9
|
import { SQLiteTransaction } from "../../sqlite-core/index.js";
|
|
9
10
|
import { PreparedQueryConfig, Result, SQLiteExecuteMethod, SQLitePreparedQuery, SQLiteSession, SQLiteTransactionConfig } from "../../sqlite-core/session.js";
|
|
10
|
-
import { SQL as SQL$1 } from "bun";
|
|
11
11
|
import { WithCacheConfig } from "../../cache/core/types.js";
|
|
12
12
|
import { SelectedFieldsOrdered } from "../../sqlite-core/query-builders/select.types.js";
|
|
13
13
|
|
|
@@ -3,10 +3,10 @@ import { makeJitQueryMapper, mapResultRow } from "../../utils.js";
|
|
|
3
3
|
import { fillPlaceholders } from "../../sql/sql.js";
|
|
4
4
|
import { NoopLogger } from "../../logger.js";
|
|
5
5
|
import { NoopCache } from "../../cache/core/index.js";
|
|
6
|
+
import { DrizzleError } from "../../errors.js";
|
|
6
7
|
import { makeJitRqbMapper } from "../../relations.js";
|
|
7
8
|
import { SQLiteTransaction } from "../../sqlite-core/index.js";
|
|
8
9
|
import { SQLitePreparedQuery, SQLiteSession } from "../../sqlite-core/session.js";
|
|
9
|
-
import { DrizzleError } from "../../errors.js";
|
|
10
10
|
|
|
11
11
|
//#region src/bun-sql/sqlite/session.ts
|
|
12
12
|
var BunSQLiteSession = class BunSQLiteSession extends SQLiteSession {
|
package/bun-sqlite/driver.cjs
CHANGED
|
@@ -3,9 +3,9 @@ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
|
3
3
|
const require_bun_sqlite_session = require('./session.cjs');
|
|
4
4
|
let __entity_ts = require("../entity.cjs");
|
|
5
5
|
let __utils_ts = require("../utils.cjs");
|
|
6
|
+
let __logger_ts = require("../logger.cjs");
|
|
6
7
|
let ___relations_ts = require("../_relations.cjs");
|
|
7
8
|
___relations_ts = require_runtime.__toESM(___relations_ts);
|
|
8
|
-
let __logger_ts = require("../logger.cjs");
|
|
9
9
|
let __sqlite_core_db_ts = require("../sqlite-core/db.cjs");
|
|
10
10
|
let __sqlite_core_dialect_ts = require("../sqlite-core/dialect.cjs");
|
|
11
11
|
let bun_sqlite = require("bun:sqlite");
|
package/bun-sqlite/driver.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { entityKind } from "../entity.js";
|
|
2
2
|
import { DrizzleConfig } from "../utils.js";
|
|
3
|
-
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
4
3
|
import { AnyRelations, EmptyRelations } from "../relations.js";
|
|
4
|
+
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
5
5
|
import { Database } from "bun:sqlite";
|
|
6
6
|
|
|
7
7
|
//#region src/bun-sqlite/driver.d.ts
|
package/bun-sqlite/driver.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SQLiteBunSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../entity.js";
|
|
3
3
|
import { jitCompatCheck } from "../utils.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { DefaultLogger } from "../logger.js";
|
|
5
|
+
import * as V1 from "../_relations.js";
|
|
6
6
|
import { BaseSQLiteDatabase } from "../sqlite-core/db.js";
|
|
7
7
|
import { SQLiteSyncDialect } from "../sqlite-core/dialect.js";
|
|
8
8
|
import { Database } from "bun:sqlite";
|
package/bun-sqlite/session.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { entityKind } from "../entity.js";
|
|
2
2
|
import { DrizzleTypeError } from "../utils.js";
|
|
3
3
|
import { Query } from "../sql/sql.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { Logger } from "../logger.js";
|
|
6
|
-
import
|
|
5
|
+
import * as V1 from "../_relations.js";
|
|
7
6
|
import { AnyRelations, RelationalQueryMapperConfig } from "../relations.js";
|
|
7
|
+
import { SQLiteSyncDialect } from "../sqlite-core/dialect.js";
|
|
8
8
|
import { SQLiteTransaction } from "../sqlite-core/index.js";
|
|
9
9
|
import { PreparedQueryConfig, SQLiteExecuteMethod, SQLitePreparedQuery, SQLiteSession, SQLiteTransactionConfig } from "../sqlite-core/session.js";
|
|
10
10
|
import * as bun_sqlite0 from "bun:sqlite";
|
|
@@ -2,14 +2,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_runtime = require('../../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
const require_cache_core_cache = require('./cache.cjs');
|
|
4
4
|
let __entity_ts = require("../../entity.cjs");
|
|
5
|
-
let effect_Schema = require("effect/Schema");
|
|
6
|
-
effect_Schema = require_runtime.__toESM(effect_Schema);
|
|
7
|
-
let effect_Context = require("effect/Context");
|
|
8
|
-
effect_Context = require_runtime.__toESM(effect_Context);
|
|
9
5
|
let effect_Effect = require("effect/Effect");
|
|
10
6
|
effect_Effect = require_runtime.__toESM(effect_Effect);
|
|
11
7
|
let effect_Layer = require("effect/Layer");
|
|
12
8
|
effect_Layer = require_runtime.__toESM(effect_Layer);
|
|
9
|
+
let effect_Context = require("effect/Context");
|
|
10
|
+
effect_Context = require_runtime.__toESM(effect_Context);
|
|
11
|
+
let effect_Schema = require("effect/Schema");
|
|
12
|
+
effect_Schema = require_runtime.__toESM(effect_Schema);
|
|
13
13
|
|
|
14
14
|
//#region src/cache/core/cache-effect.ts
|
|
15
15
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CacheConfig } from "./types.js";
|
|
2
2
|
import { Cache, MutationOption } from "./cache.js";
|
|
3
3
|
import { entityKind } from "../../entity.js";
|
|
4
|
-
import * as Schema from "effect/Schema";
|
|
5
|
-
import * as Context from "effect/Context";
|
|
6
4
|
import * as Effect from "effect/Effect";
|
|
7
5
|
import * as Layer from "effect/Layer";
|
|
6
|
+
import * as Context from "effect/Context";
|
|
7
|
+
import * as Schema from "effect/Schema";
|
|
8
8
|
import * as effect_Cause0 from "effect/Cause";
|
|
9
9
|
|
|
10
10
|
//#region src/cache/core/cache-effect.d.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NoopCache } from "./cache.js";
|
|
2
2
|
import { entityKind } from "../../entity.js";
|
|
3
|
-
import * as Schema from "effect/Schema";
|
|
4
|
-
import * as Context from "effect/Context";
|
|
5
3
|
import * as Effect from "effect/Effect";
|
|
6
4
|
import * as Layer from "effect/Layer";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Schema from "effect/Schema";
|
|
7
7
|
|
|
8
8
|
//#region src/cache/core/cache-effect.ts
|
|
9
9
|
/**
|
package/cockroach/driver.cjs
CHANGED
|
@@ -3,13 +3,13 @@ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
|
3
3
|
const require_cockroach_session = require('./session.cjs');
|
|
4
4
|
let __entity_ts = require("../entity.cjs");
|
|
5
5
|
let __utils_ts = require("../utils.cjs");
|
|
6
|
+
let __logger_ts = require("../logger.cjs");
|
|
6
7
|
let ___relations_ts = require("../_relations.cjs");
|
|
7
8
|
___relations_ts = require_runtime.__toESM(___relations_ts);
|
|
8
|
-
let __logger_ts = require("../logger.cjs");
|
|
9
|
-
let __cockroach_core_dialect_ts = require("../cockroach-core/dialect.cjs");
|
|
10
9
|
let pg = require("pg");
|
|
11
10
|
pg = require_runtime.__toESM(pg);
|
|
12
11
|
let __cockroach_core_db_ts = require("../cockroach-core/db.cjs");
|
|
12
|
+
let __cockroach_core_dialect_ts = require("../cockroach-core/dialect.cjs");
|
|
13
13
|
|
|
14
14
|
//#region src/cockroach/driver.ts
|
|
15
15
|
var NodeCockroachDriver = class {
|
package/cockroach/driver.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NodeCockroachClient, NodeCockroachQueryResultHKT, NodeCockroachSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../entity.js";
|
|
3
3
|
import { DrizzleConfig } from "../utils.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { Logger } from "../logger.js";
|
|
6
|
-
import
|
|
5
|
+
import * as V1 from "../_relations.js";
|
|
7
6
|
import { Pool, PoolConfig } from "pg";
|
|
8
7
|
import { CockroachDatabase } from "../cockroach-core/db.js";
|
|
8
|
+
import { CockroachDialect } from "../cockroach-core/dialect.js";
|
|
9
9
|
|
|
10
10
|
//#region src/cockroach/driver.d.ts
|
|
11
11
|
interface CockroachDriverOptions {
|
package/cockroach/driver.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NodeCockroachSession } from "./session.js";
|
|
2
2
|
import { entityKind } from "../entity.js";
|
|
3
3
|
import { jitCompatCheck } from "../utils.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { DefaultLogger } from "../logger.js";
|
|
6
|
-
import
|
|
5
|
+
import * as V1 from "../_relations.js";
|
|
7
6
|
import pg from "pg";
|
|
8
7
|
import { CockroachDatabase } from "../cockroach-core/db.js";
|
|
8
|
+
import { CockroachDialect } from "../cockroach-core/dialect.js";
|
|
9
9
|
|
|
10
10
|
//#region src/cockroach/driver.ts
|
|
11
11
|
var NodeCockroachDriver = class {
|
package/cockroach/session.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
3
|
let __entity_ts = require("../entity.cjs");
|
|
4
|
+
let __tracing_ts = require("../tracing.cjs");
|
|
4
5
|
let __utils_ts = require("../utils.cjs");
|
|
5
6
|
let __sql_sql_ts = require("../sql/sql.cjs");
|
|
6
|
-
let __tracing_ts = require("../tracing.cjs");
|
|
7
7
|
let __logger_ts = require("../logger.cjs");
|
|
8
8
|
let pg = require("pg");
|
|
9
9
|
pg = require_runtime.__toESM(pg);
|
package/cockroach/session.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { entityKind } from "../entity.js";
|
|
2
2
|
import { Assume } from "../utils.js";
|
|
3
3
|
import { Query, SQL } from "../sql/sql.js";
|
|
4
|
-
import * as V1 from "../_relations.js";
|
|
5
4
|
import { Logger } from "../logger.js";
|
|
6
|
-
import
|
|
5
|
+
import * as V1 from "../_relations.js";
|
|
7
6
|
import pg, { Client, PoolClient, QueryResult, QueryResultRow } from "pg";
|
|
7
|
+
import { CockroachDialect } from "../cockroach-core/dialect.js";
|
|
8
8
|
import { CockroachTransaction } from "../cockroach-core/index.js";
|
|
9
9
|
import { CockroachPreparedQuery, CockroachQueryResultHKT, CockroachSession, CockroachTransactionConfig, PreparedQueryConfig } from "../cockroach-core/session.js";
|
|
10
10
|
import { SelectedFieldsOrdered } from "../cockroach-core/query-builders/select.types.js";
|