drizzle-orm 0.36.4-14e59f4 → 0.36.4-3c69a1f
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 +328 -0
- package/_relations.cjs.map +1 -0
- package/_relations.d.cts +215 -0
- package/_relations.d.ts +215 -0
- package/_relations.js +316 -0
- package/_relations.js.map +1 -0
- package/alias.cjs.map +1 -1
- package/alias.d.cts +3 -3
- package/alias.d.ts +3 -3
- package/alias.js.map +1 -1
- package/aws-data-api/pg/driver.cjs +19 -5
- package/aws-data-api/pg/driver.cjs.map +1 -1
- package/aws-data-api/pg/driver.d.cts +9 -8
- package/aws-data-api/pg/driver.d.ts +9 -8
- package/aws-data-api/pg/driver.js +9 -8
- package/aws-data-api/pg/driver.js.map +1 -1
- package/aws-data-api/pg/migrator.cjs.map +1 -1
- package/aws-data-api/pg/migrator.d.cts +2 -1
- package/aws-data-api/pg/migrator.d.ts +2 -1
- package/aws-data-api/pg/migrator.js.map +1 -1
- package/aws-data-api/pg/session.cjs +67 -4
- package/aws-data-api/pg/session.cjs.map +1 -1
- package/aws-data-api/pg/session.d.cts +13 -8
- package/aws-data-api/pg/session.d.ts +13 -8
- package/aws-data-api/pg/session.js +67 -4
- package/aws-data-api/pg/session.js.map +1 -1
- package/better-sqlite3/driver.cjs +12 -5
- package/better-sqlite3/driver.cjs.map +1 -1
- package/better-sqlite3/driver.d.cts +7 -6
- package/better-sqlite3/driver.d.ts +7 -6
- package/better-sqlite3/driver.js +12 -8
- package/better-sqlite3/driver.js.map +1 -1
- package/better-sqlite3/migrator.cjs.map +1 -1
- package/better-sqlite3/migrator.d.cts +2 -1
- package/better-sqlite3/migrator.d.ts +2 -1
- package/better-sqlite3/migrator.js.map +1 -1
- package/better-sqlite3/session.cjs +49 -4
- package/better-sqlite3/session.cjs.map +1 -1
- package/better-sqlite3/session.d.cts +14 -8
- package/better-sqlite3/session.d.ts +14 -8
- package/better-sqlite3/session.js +49 -4
- package/better-sqlite3/session.js.map +1 -1
- package/bun-sqlite/driver.cjs +22 -5
- package/bun-sqlite/driver.cjs.map +1 -1
- package/bun-sqlite/driver.d.cts +7 -6
- package/bun-sqlite/driver.d.ts +7 -6
- package/bun-sqlite/driver.js +12 -8
- package/bun-sqlite/driver.js.map +1 -1
- package/bun-sqlite/migrator.cjs.map +1 -1
- package/bun-sqlite/migrator.d.cts +2 -1
- package/bun-sqlite/migrator.d.ts +2 -1
- package/bun-sqlite/migrator.js.map +1 -1
- package/bun-sqlite/session.cjs +49 -4
- package/bun-sqlite/session.cjs.map +1 -1
- package/bun-sqlite/session.d.cts +14 -8
- package/bun-sqlite/session.d.ts +14 -8
- package/bun-sqlite/session.js +49 -4
- package/bun-sqlite/session.js.map +1 -1
- package/column-builder.cjs.map +1 -1
- package/column-builder.d.cts +3 -4
- package/column-builder.d.ts +3 -4
- package/column-builder.js.map +1 -1
- package/d1/driver.cjs +22 -5
- package/d1/driver.cjs.map +1 -1
- package/d1/driver.d.cts +3 -2
- package/d1/driver.d.ts +3 -2
- package/d1/driver.js +12 -8
- package/d1/driver.js.map +1 -1
- package/d1/migrator.cjs.map +1 -1
- package/d1/migrator.d.cts +2 -1
- package/d1/migrator.d.ts +2 -1
- package/d1/migrator.js.map +1 -1
- package/d1/session.cjs +48 -6
- package/d1/session.cjs.map +1 -1
- package/d1/session.d.cts +15 -8
- package/d1/session.d.ts +15 -8
- package/d1/session.js +48 -6
- package/d1/session.js.map +1 -1
- package/expo-sqlite/driver.cjs +22 -5
- package/expo-sqlite/driver.cjs.map +1 -1
- package/expo-sqlite/driver.d.cts +3 -2
- package/expo-sqlite/driver.d.ts +3 -2
- package/expo-sqlite/driver.js +12 -8
- package/expo-sqlite/driver.js.map +1 -1
- package/expo-sqlite/migrator.cjs.map +1 -1
- package/expo-sqlite/migrator.d.cts +3 -2
- package/expo-sqlite/migrator.d.ts +3 -2
- package/expo-sqlite/migrator.js.map +1 -1
- package/expo-sqlite/query.cjs +13 -2
- package/expo-sqlite/query.cjs.map +1 -1
- package/expo-sqlite/query.d.cts +2 -1
- package/expo-sqlite/query.d.ts +2 -1
- package/expo-sqlite/query.js +3 -2
- package/expo-sqlite/query.js.map +1 -1
- package/expo-sqlite/session.cjs +47 -4
- package/expo-sqlite/session.cjs.map +1 -1
- package/expo-sqlite/session.d.cts +14 -8
- package/expo-sqlite/session.d.ts +14 -8
- package/expo-sqlite/session.js +47 -4
- package/expo-sqlite/session.js.map +1 -1
- package/libsql/driver-core.cjs +22 -5
- package/libsql/driver-core.cjs.map +1 -1
- package/libsql/driver-core.d.cts +2 -1
- package/libsql/driver-core.d.ts +2 -1
- package/libsql/driver-core.js +12 -8
- package/libsql/driver-core.js.map +1 -1
- package/libsql/driver.cjs.map +1 -1
- package/libsql/driver.d.cts +6 -5
- package/libsql/driver.d.ts +6 -5
- package/libsql/driver.js.map +1 -1
- package/libsql/http/index.cjs.map +1 -1
- package/libsql/http/index.d.cts +6 -5
- package/libsql/http/index.d.ts +6 -5
- package/libsql/http/index.js.map +1 -1
- package/libsql/migrator.cjs.map +1 -1
- package/libsql/migrator.d.cts +2 -1
- package/libsql/migrator.d.ts +2 -1
- package/libsql/migrator.js.map +1 -1
- package/libsql/node/index.cjs.map +1 -1
- package/libsql/node/index.d.cts +6 -5
- package/libsql/node/index.d.ts +6 -5
- package/libsql/node/index.js.map +1 -1
- package/libsql/session.cjs +60 -4
- package/libsql/session.cjs.map +1 -1
- package/libsql/session.d.cts +15 -9
- package/libsql/session.d.ts +15 -9
- package/libsql/session.js +60 -4
- package/libsql/session.js.map +1 -1
- package/libsql/sqlite3/index.cjs.map +1 -1
- package/libsql/sqlite3/index.d.cts +6 -5
- package/libsql/sqlite3/index.d.ts +6 -5
- package/libsql/sqlite3/index.js.map +1 -1
- package/libsql/wasm/index.cjs.map +1 -1
- package/libsql/wasm/index.d.cts +6 -5
- package/libsql/wasm/index.d.ts +6 -5
- package/libsql/wasm/index.js.map +1 -1
- package/libsql/web/index.cjs.map +1 -1
- package/libsql/web/index.d.cts +6 -5
- package/libsql/web/index.d.ts +6 -5
- package/libsql/web/index.js.map +1 -1
- package/libsql/ws/index.cjs.map +1 -1
- package/libsql/ws/index.d.cts +6 -5
- package/libsql/ws/index.d.ts +6 -5
- package/libsql/ws/index.js.map +1 -1
- package/mysql-core/db.cjs +29 -8
- package/mysql-core/db.cjs.map +1 -1
- package/mysql-core/db.d.cts +15 -8
- package/mysql-core/db.d.ts +15 -8
- package/mysql-core/db.js +28 -7
- package/mysql-core/db.js.map +1 -1
- package/mysql-core/dialect.cjs +170 -15
- package/mysql-core/dialect.cjs.map +1 -1
- package/mysql-core/dialect.d.cts +29 -13
- package/mysql-core/dialect.d.ts +29 -13
- package/mysql-core/dialect.js +167 -21
- package/mysql-core/dialect.js.map +1 -1
- package/{singlestore-core/query-builders/query.cjs → mysql-core/query-builders/_query.cjs} +41 -18
- package/mysql-core/query-builders/_query.cjs.map +1 -0
- package/mysql-core/query-builders/_query.d.cts +44 -0
- package/mysql-core/query-builders/_query.d.ts +44 -0
- package/{singlestore-core/query-builders/query.js → mysql-core/query-builders/_query.js} +29 -18
- package/mysql-core/query-builders/_query.js.map +1 -0
- package/mysql-core/query-builders/count.cjs.map +1 -1
- package/mysql-core/query-builders/count.d.cts +1 -1
- package/mysql-core/query-builders/count.d.ts +1 -1
- package/mysql-core/query-builders/count.js.map +1 -1
- package/mysql-core/query-builders/query.cjs +18 -31
- package/mysql-core/query-builders/query.cjs.map +1 -1
- package/mysql-core/query-builders/query.d.cts +8 -10
- package/mysql-core/query-builders/query.d.ts +8 -10
- package/mysql-core/query-builders/query.js +18 -31
- package/mysql-core/query-builders/query.js.map +1 -1
- package/mysql-core/session.cjs +3 -2
- package/mysql-core/session.cjs.map +1 -1
- package/mysql-core/session.d.cts +10 -7
- package/mysql-core/session.d.ts +10 -7
- package/mysql-core/session.js +3 -2
- package/mysql-core/session.js.map +1 -1
- package/mysql-proxy/driver.cjs +22 -5
- package/mysql-proxy/driver.cjs.map +1 -1
- package/mysql-proxy/driver.d.cts +3 -2
- package/mysql-proxy/driver.d.ts +3 -2
- package/mysql-proxy/driver.js +12 -8
- package/mysql-proxy/driver.js.map +1 -1
- package/mysql-proxy/migrator.cjs.map +1 -1
- package/mysql-proxy/migrator.d.cts +2 -1
- package/mysql-proxy/migrator.d.ts +2 -1
- package/mysql-proxy/migrator.js.map +1 -1
- package/mysql-proxy/session.cjs +47 -2
- package/mysql-proxy/session.cjs.map +1 -1
- package/mysql-proxy/session.d.cts +13 -8
- package/mysql-proxy/session.d.ts +13 -8
- package/mysql-proxy/session.js +47 -2
- package/mysql-proxy/session.js.map +1 -1
- package/mysql2/driver.cjs +24 -7
- package/mysql2/driver.cjs.map +1 -1
- package/mysql2/driver.d.cts +10 -9
- package/mysql2/driver.d.ts +10 -9
- package/mysql2/driver.js +14 -10
- package/mysql2/driver.js.map +1 -1
- package/mysql2/migrator.cjs.map +1 -1
- package/mysql2/migrator.d.cts +2 -1
- package/mysql2/migrator.d.ts +2 -1
- package/mysql2/migrator.js.map +1 -1
- package/mysql2/session.cjs +51 -2
- package/mysql2/session.cjs.map +1 -1
- package/mysql2/session.d.cts +13 -8
- package/mysql2/session.d.ts +13 -8
- package/mysql2/session.js +51 -2
- package/mysql2/session.js.map +1 -1
- package/neon-http/driver.cjs +22 -8
- package/neon-http/driver.cjs.map +1 -1
- package/neon-http/driver.d.cts +11 -10
- package/neon-http/driver.d.ts +11 -10
- package/neon-http/driver.js +12 -8
- package/neon-http/driver.js.map +1 -1
- package/neon-http/migrator.cjs.map +1 -1
- package/neon-http/migrator.d.cts +2 -1
- package/neon-http/migrator.d.ts +2 -1
- package/neon-http/migrator.js.map +1 -1
- package/neon-http/session.cjs +32 -2
- package/neon-http/session.cjs.map +1 -1
- package/neon-http/session.d.cts +13 -8
- package/neon-http/session.d.ts +13 -8
- package/neon-http/session.js +32 -2
- package/neon-http/session.js.map +1 -1
- package/neon-serverless/driver.cjs +18 -7
- package/neon-serverless/driver.cjs.map +1 -1
- package/neon-serverless/driver.d.cts +9 -8
- package/neon-serverless/driver.d.ts +9 -8
- package/neon-serverless/driver.js +8 -10
- package/neon-serverless/driver.js.map +1 -1
- package/neon-serverless/migrator.cjs.map +1 -1
- package/neon-serverless/migrator.d.cts +2 -1
- package/neon-serverless/migrator.d.ts +2 -1
- package/neon-serverless/migrator.js.map +1 -1
- package/neon-serverless/session.cjs +40 -5
- package/neon-serverless/session.cjs.map +1 -1
- package/neon-serverless/session.d.cts +13 -8
- package/neon-serverless/session.d.ts +13 -8
- package/neon-serverless/session.js +40 -5
- package/neon-serverless/session.js.map +1 -1
- package/node-postgres/driver.cjs +13 -7
- package/node-postgres/driver.cjs.map +1 -1
- package/node-postgres/driver.d.cts +9 -8
- package/node-postgres/driver.d.ts +9 -8
- package/node-postgres/driver.js +13 -10
- package/node-postgres/driver.js.map +1 -1
- package/node-postgres/migrator.cjs.map +1 -1
- package/node-postgres/migrator.d.cts +2 -1
- package/node-postgres/migrator.d.ts +2 -1
- package/node-postgres/migrator.js.map +1 -1
- package/node-postgres/session.cjs +45 -4
- package/node-postgres/session.cjs.map +1 -1
- package/node-postgres/session.d.cts +13 -8
- package/node-postgres/session.d.ts +13 -8
- package/node-postgres/session.js +45 -4
- package/node-postgres/session.js.map +1 -1
- package/op-sqlite/driver.cjs +22 -5
- package/op-sqlite/driver.cjs.map +1 -1
- package/op-sqlite/driver.d.cts +3 -2
- package/op-sqlite/driver.d.ts +3 -2
- package/op-sqlite/driver.js +12 -8
- package/op-sqlite/driver.js.map +1 -1
- package/op-sqlite/migrator.cjs.map +1 -1
- package/op-sqlite/migrator.d.cts +3 -2
- package/op-sqlite/migrator.d.ts +3 -2
- package/op-sqlite/migrator.js.map +1 -1
- package/op-sqlite/session.cjs +47 -4
- package/op-sqlite/session.cjs.map +1 -1
- package/op-sqlite/session.d.cts +14 -8
- package/op-sqlite/session.d.ts +14 -8
- package/op-sqlite/session.js +47 -4
- package/op-sqlite/session.js.map +1 -1
- package/package.json +65 -798
- package/pg-core/db.cjs +31 -7
- package/pg-core/db.cjs.map +1 -1
- package/pg-core/db.d.cts +18 -11
- package/pg-core/db.d.ts +18 -11
- package/pg-core/db.js +30 -6
- package/pg-core/db.js.map +1 -1
- package/pg-core/dialect.cjs +146 -488
- package/pg-core/dialect.cjs.map +1 -1
- package/pg-core/dialect.d.cts +21 -7
- package/pg-core/dialect.d.ts +21 -7
- package/pg-core/dialect.js +143 -494
- package/pg-core/dialect.js.map +1 -1
- package/pg-core/query-builders/_query.cjs +155 -0
- package/pg-core/query-builders/_query.cjs.map +1 -0
- package/pg-core/query-builders/_query.d.cts +47 -0
- package/pg-core/query-builders/_query.d.ts +47 -0
- package/pg-core/query-builders/_query.js +120 -0
- package/pg-core/query-builders/_query.js.map +1 -0
- package/pg-core/query-builders/count.cjs +0 -1
- package/pg-core/query-builders/count.cjs.map +1 -1
- package/pg-core/query-builders/count.d.cts +2 -3
- package/pg-core/query-builders/count.d.ts +2 -3
- package/pg-core/query-builders/count.js +0 -1
- package/pg-core/query-builders/count.js.map +1 -1
- package/pg-core/query-builders/delete.cjs.map +1 -1
- package/pg-core/query-builders/delete.js.map +1 -1
- package/pg-core/query-builders/insert.cjs +9 -1
- package/pg-core/query-builders/insert.cjs.map +1 -1
- package/pg-core/query-builders/insert.js +9 -1
- package/pg-core/query-builders/insert.js.map +1 -1
- package/pg-core/query-builders/query.cjs +15 -18
- package/pg-core/query-builders/query.cjs.map +1 -1
- package/pg-core/query-builders/query.d.cts +6 -6
- package/pg-core/query-builders/query.d.ts +6 -6
- package/pg-core/query-builders/query.js +15 -18
- package/pg-core/query-builders/query.js.map +1 -1
- package/pg-core/query-builders/refresh-materialized-view.cjs.map +1 -1
- package/pg-core/query-builders/refresh-materialized-view.js.map +1 -1
- package/pg-core/query-builders/select.cjs +10 -2
- package/pg-core/query-builders/select.cjs.map +1 -1
- package/pg-core/query-builders/select.js +11 -8
- package/pg-core/query-builders/select.js.map +1 -1
- package/pg-core/query-builders/update.cjs +7 -1
- package/pg-core/query-builders/update.cjs.map +1 -1
- package/pg-core/query-builders/update.d.cts +2 -2
- package/pg-core/query-builders/update.d.ts +2 -2
- package/pg-core/query-builders/update.js +8 -6
- package/pg-core/query-builders/update.js.map +1 -1
- package/pg-core/session.cjs +3 -2
- package/pg-core/session.cjs.map +1 -1
- package/pg-core/session.d.cts +10 -8
- package/pg-core/session.d.ts +10 -8
- package/pg-core/session.js +3 -2
- package/pg-core/session.js.map +1 -1
- package/pg-proxy/driver.cjs +21 -5
- package/pg-proxy/driver.cjs.map +1 -1
- package/pg-proxy/driver.d.cts +3 -2
- package/pg-proxy/driver.d.ts +3 -2
- package/pg-proxy/driver.js +11 -8
- package/pg-proxy/driver.js.map +1 -1
- package/pg-proxy/migrator.cjs.map +1 -1
- package/pg-proxy/migrator.d.cts +2 -1
- package/pg-proxy/migrator.d.ts +2 -1
- package/pg-proxy/migrator.js.map +1 -1
- package/pg-proxy/session.cjs +37 -2
- package/pg-proxy/session.cjs.map +1 -1
- package/pg-proxy/session.d.cts +13 -8
- package/pg-proxy/session.d.ts +13 -8
- package/pg-proxy/session.js +37 -2
- package/pg-proxy/session.js.map +1 -1
- package/pglite/driver.cjs +23 -7
- package/pglite/driver.cjs.map +1 -1
- package/pglite/driver.d.cts +9 -8
- package/pglite/driver.d.ts +9 -8
- package/pglite/driver.js +13 -10
- package/pglite/driver.js.map +1 -1
- package/pglite/migrator.cjs.map +1 -1
- package/pglite/migrator.d.cts +2 -1
- package/pglite/migrator.d.ts +2 -1
- package/pglite/migrator.js.map +1 -1
- package/pglite/session.cjs +34 -3
- package/pglite/session.cjs.map +1 -1
- package/pglite/session.d.cts +13 -8
- package/pglite/session.d.ts +13 -8
- package/pglite/session.js +34 -3
- package/pglite/session.js.map +1 -1
- package/planetscale-serverless/driver.cjs +22 -5
- package/planetscale-serverless/driver.cjs.map +1 -1
- package/planetscale-serverless/driver.d.cts +7 -6
- package/planetscale-serverless/driver.d.ts +7 -6
- package/planetscale-serverless/driver.js +12 -8
- package/planetscale-serverless/driver.js.map +1 -1
- package/planetscale-serverless/migrator.cjs.map +1 -1
- package/planetscale-serverless/migrator.d.cts +2 -1
- package/planetscale-serverless/migrator.d.ts +2 -1
- package/planetscale-serverless/migrator.js.map +1 -1
- package/planetscale-serverless/session.cjs +68 -5
- package/planetscale-serverless/session.cjs.map +1 -1
- package/planetscale-serverless/session.d.cts +14 -9
- package/planetscale-serverless/session.d.ts +14 -9
- package/planetscale-serverless/session.js +68 -5
- package/planetscale-serverless/session.js.map +1 -1
- package/postgres-js/driver.cjs +12 -6
- package/postgres-js/driver.cjs.map +1 -1
- package/postgres-js/driver.d.cts +7 -6
- package/postgres-js/driver.d.ts +7 -6
- package/postgres-js/driver.js +12 -9
- package/postgres-js/driver.js.map +1 -1
- package/postgres-js/migrator.cjs.map +1 -1
- package/postgres-js/migrator.d.cts +2 -1
- package/postgres-js/migrator.d.ts +2 -1
- package/postgres-js/migrator.js.map +1 -1
- package/postgres-js/session.cjs +51 -6
- package/postgres-js/session.cjs.map +1 -1
- package/postgres-js/session.d.cts +15 -9
- package/postgres-js/session.d.ts +15 -9
- package/postgres-js/session.js +51 -6
- package/postgres-js/session.js.map +1 -1
- package/prisma/mysql/driver.cjs +1 -1
- package/prisma/mysql/driver.cjs.map +1 -1
- package/prisma/mysql/driver.js +1 -1
- package/prisma/mysql/driver.js.map +1 -1
- package/prisma/mysql/session.cjs +3 -0
- package/prisma/mysql/session.cjs.map +1 -1
- package/prisma/mysql/session.d.cts +3 -1
- package/prisma/mysql/session.d.ts +3 -1
- package/prisma/mysql/session.js +3 -0
- package/prisma/mysql/session.js.map +1 -1
- package/prisma/pg/driver.cjs +1 -1
- package/prisma/pg/driver.cjs.map +1 -1
- package/prisma/pg/driver.js +1 -1
- package/prisma/pg/driver.js.map +1 -1
- package/prisma/pg/session.cjs +3 -0
- package/prisma/pg/session.cjs.map +1 -1
- package/prisma/pg/session.d.cts +3 -1
- package/prisma/pg/session.d.ts +3 -1
- package/prisma/pg/session.js +3 -0
- package/prisma/pg/session.js.map +1 -1
- package/prisma/sqlite/driver.cjs +1 -1
- package/prisma/sqlite/driver.cjs.map +1 -1
- package/prisma/sqlite/driver.js +1 -1
- package/prisma/sqlite/driver.js.map +1 -1
- package/prisma/sqlite/session.cjs +3 -0
- package/prisma/sqlite/session.cjs.map +1 -1
- package/prisma/sqlite/session.d.cts +4 -2
- package/prisma/sqlite/session.d.ts +4 -2
- package/prisma/sqlite/session.js +3 -0
- package/prisma/sqlite/session.js.map +1 -1
- package/relations.cjs +468 -245
- package/relations.cjs.map +1 -1
- package/relations.d.cts +264 -125
- package/relations.d.ts +264 -125
- package/relations.js +455 -238
- package/relations.js.map +1 -1
- package/sql/sql.cjs.map +1 -1
- package/sql/sql.d.cts +4 -4
- package/sql/sql.d.ts +4 -4
- package/sql/sql.js.map +1 -1
- package/sql-js/driver.cjs +16 -5
- package/sql-js/driver.cjs.map +1 -1
- package/sql-js/driver.d.cts +3 -2
- package/sql-js/driver.d.ts +3 -2
- package/sql-js/driver.js +6 -8
- package/sql-js/driver.js.map +1 -1
- package/sql-js/migrator.cjs.map +1 -1
- package/sql-js/migrator.d.cts +2 -1
- package/sql-js/migrator.d.ts +2 -1
- package/sql-js/migrator.js.map +1 -1
- package/sql-js/session.cjs +58 -4
- package/sql-js/session.cjs.map +1 -1
- package/sql-js/session.d.cts +14 -8
- package/sql-js/session.d.ts +14 -8
- package/sql-js/session.js +58 -4
- package/sql-js/session.js.map +1 -1
- package/sqlite-core/columns/blob.cjs +2 -16
- package/sqlite-core/columns/blob.cjs.map +1 -1
- package/sqlite-core/columns/blob.d.cts +2 -2
- package/sqlite-core/columns/blob.d.ts +2 -2
- package/sqlite-core/columns/blob.js +2 -16
- package/sqlite-core/columns/blob.js.map +1 -1
- package/sqlite-core/db.cjs +35 -14
- package/sqlite-core/db.cjs.map +1 -1
- package/sqlite-core/db.d.cts +15 -8
- package/sqlite-core/db.d.ts +15 -8
- package/sqlite-core/db.js +34 -13
- package/sqlite-core/db.js.map +1 -1
- package/sqlite-core/dialect.cjs +164 -7
- package/sqlite-core/dialect.cjs.map +1 -1
- package/sqlite-core/dialect.d.cts +25 -9
- package/sqlite-core/dialect.d.ts +25 -9
- package/sqlite-core/dialect.js +161 -13
- package/sqlite-core/dialect.js.map +1 -1
- package/sqlite-core/query-builders/_query.cjs +187 -0
- package/sqlite-core/query-builders/_query.cjs.map +1 -0
- package/sqlite-core/query-builders/_query.d.cts +55 -0
- package/sqlite-core/query-builders/_query.d.ts +55 -0
- package/sqlite-core/query-builders/_query.js +151 -0
- package/sqlite-core/query-builders/_query.js.map +1 -0
- package/sqlite-core/query-builders/count.cjs.map +1 -1
- package/sqlite-core/query-builders/count.d.cts +1 -1
- package/sqlite-core/query-builders/count.d.ts +1 -1
- package/sqlite-core/query-builders/count.js.map +1 -1
- package/sqlite-core/query-builders/delete.cjs.map +1 -1
- package/sqlite-core/query-builders/delete.d.cts +1 -1
- package/sqlite-core/query-builders/delete.d.ts +1 -1
- package/sqlite-core/query-builders/delete.js.map +1 -1
- package/sqlite-core/query-builders/insert.cjs.map +1 -1
- package/sqlite-core/query-builders/insert.d.cts +3 -3
- package/sqlite-core/query-builders/insert.d.ts +3 -3
- package/sqlite-core/query-builders/insert.js.map +1 -1
- package/sqlite-core/query-builders/query.cjs +30 -48
- package/sqlite-core/query-builders/query.cjs.map +1 -1
- package/sqlite-core/query-builders/query.d.cts +14 -16
- package/sqlite-core/query-builders/query.d.ts +14 -16
- package/sqlite-core/query-builders/query.js +30 -48
- package/sqlite-core/query-builders/query.js.map +1 -1
- package/sqlite-core/query-builders/select.cjs.map +1 -1
- package/sqlite-core/query-builders/select.d.cts +3 -3
- package/sqlite-core/query-builders/select.d.ts +3 -3
- package/sqlite-core/query-builders/select.js.map +1 -1
- package/sqlite-core/query-builders/update.cjs.map +1 -1
- package/sqlite-core/query-builders/update.d.cts +3 -3
- package/sqlite-core/query-builders/update.d.ts +3 -3
- package/sqlite-core/query-builders/update.js.map +1 -1
- package/sqlite-core/session.cjs +6 -2
- package/sqlite-core/session.cjs.map +1 -1
- package/sqlite-core/session.d.cts +14 -6
- package/sqlite-core/session.d.ts +14 -6
- package/sqlite-core/session.js +6 -2
- package/sqlite-core/session.js.map +1 -1
- package/sqlite-proxy/driver.cjs +22 -5
- package/sqlite-proxy/driver.cjs.map +1 -1
- package/sqlite-proxy/driver.d.cts +4 -3
- package/sqlite-proxy/driver.d.ts +4 -3
- package/sqlite-proxy/driver.js +12 -5
- package/sqlite-proxy/driver.js.map +1 -1
- package/sqlite-proxy/migrator.cjs.map +1 -1
- package/sqlite-proxy/migrator.d.cts +2 -1
- package/sqlite-proxy/migrator.d.ts +2 -1
- package/sqlite-proxy/migrator.js.map +1 -1
- package/sqlite-proxy/session.cjs +47 -4
- package/sqlite-proxy/session.cjs.map +1 -1
- package/sqlite-proxy/session.d.cts +14 -8
- package/sqlite-proxy/session.d.ts +14 -8
- package/sqlite-proxy/session.js +47 -4
- package/sqlite-proxy/session.js.map +1 -1
- package/table.cjs.map +1 -1
- package/table.d.cts +1 -1
- package/table.d.ts +1 -1
- package/table.js.map +1 -1
- package/tidb-serverless/driver.cjs +22 -5
- package/tidb-serverless/driver.cjs.map +1 -1
- package/tidb-serverless/driver.d.cts +7 -6
- package/tidb-serverless/driver.d.ts +7 -6
- package/tidb-serverless/driver.js +12 -8
- package/tidb-serverless/driver.js.map +1 -1
- package/tidb-serverless/migrator.cjs.map +1 -1
- package/tidb-serverless/migrator.d.cts +2 -1
- package/tidb-serverless/migrator.d.ts +2 -1
- package/tidb-serverless/migrator.js.map +1 -1
- package/tidb-serverless/session.cjs +62 -5
- package/tidb-serverless/session.cjs.map +1 -1
- package/tidb-serverless/session.d.cts +14 -9
- package/tidb-serverless/session.d.ts +14 -9
- package/tidb-serverless/session.js +62 -5
- package/tidb-serverless/session.js.map +1 -1
- package/utils.cjs +2 -2
- package/utils.cjs.map +1 -1
- package/utils.d.cts +3 -2
- package/utils.d.ts +3 -2
- package/utils.js +2 -2
- package/utils.js.map +1 -1
- package/vercel-postgres/driver.cjs +23 -7
- package/vercel-postgres/driver.cjs.map +1 -1
- package/vercel-postgres/driver.d.cts +9 -8
- package/vercel-postgres/driver.d.ts +9 -8
- package/vercel-postgres/driver.js +13 -10
- package/vercel-postgres/driver.js.map +1 -1
- package/vercel-postgres/migrator.cjs.map +1 -1
- package/vercel-postgres/migrator.d.cts +2 -1
- package/vercel-postgres/migrator.d.ts +2 -1
- package/vercel-postgres/migrator.js.map +1 -1
- package/vercel-postgres/session.cjs +34 -4
- package/vercel-postgres/session.cjs.map +1 -1
- package/vercel-postgres/session.d.cts +13 -8
- package/vercel-postgres/session.d.ts +13 -8
- package/vercel-postgres/session.js +34 -4
- package/vercel-postgres/session.js.map +1 -1
- package/version.cjs +1 -1
- package/version.d.cts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/xata-http/driver.cjs +17 -5
- package/xata-http/driver.cjs.map +1 -1
- package/xata-http/driver.d.cts +5 -4
- package/xata-http/driver.d.ts +5 -4
- package/xata-http/driver.js +7 -5
- package/xata-http/driver.js.map +1 -1
- package/xata-http/migrator.cjs.map +1 -1
- package/xata-http/migrator.d.cts +2 -1
- package/xata-http/migrator.d.ts +2 -1
- package/xata-http/migrator.js.map +1 -1
- package/xata-http/session.cjs +30 -2
- package/xata-http/session.cjs.map +1 -1
- package/xata-http/session.d.cts +13 -8
- package/xata-http/session.d.ts +13 -8
- package/xata-http/session.js +30 -2
- package/xata-http/session.js.map +1 -1
- package/durable-sqlite/driver.cjs +0 -64
- package/durable-sqlite/driver.cjs.map +0 -1
- package/durable-sqlite/driver.d.cts +0 -9
- package/durable-sqlite/driver.d.ts +0 -9
- package/durable-sqlite/driver.js +0 -42
- package/durable-sqlite/driver.js.map +0 -1
- package/durable-sqlite/index.cjs +0 -25
- package/durable-sqlite/index.cjs.map +0 -1
- package/durable-sqlite/index.d.cts +0 -2
- package/durable-sqlite/index.d.ts +0 -2
- package/durable-sqlite/index.js +0 -3
- package/durable-sqlite/index.js.map +0 -1
- package/durable-sqlite/migrator.cjs +0 -85
- package/durable-sqlite/migrator.cjs.map +0 -1
- package/durable-sqlite/migrator.d.cts +0 -14
- package/durable-sqlite/migrator.d.ts +0 -14
- package/durable-sqlite/migrator.js +0 -61
- package/durable-sqlite/migrator.js.map +0 -1
- package/durable-sqlite/session.cjs +0 -131
- package/durable-sqlite/session.cjs.map +0 -1
- package/durable-sqlite/session.d.cts +0 -46
- package/durable-sqlite/session.d.ts +0 -46
- package/durable-sqlite/session.js +0 -107
- package/durable-sqlite/session.js.map +0 -1
- package/singlestore/driver.cjs +0 -113
- package/singlestore/driver.cjs.map +0 -1
- package/singlestore/driver.d.cts +0 -52
- package/singlestore/driver.d.ts +0 -52
- package/singlestore/driver.js +0 -89
- package/singlestore/driver.js.map +0 -1
- package/singlestore/index.cjs +0 -25
- package/singlestore/index.cjs.map +0 -1
- package/singlestore/index.d.cts +0 -2
- package/singlestore/index.d.ts +0 -2
- package/singlestore/index.js +0 -3
- package/singlestore/index.js.map +0 -1
- package/singlestore/migrator.cjs +0 -33
- package/singlestore/migrator.cjs.map +0 -1
- package/singlestore/migrator.d.cts +0 -3
- package/singlestore/migrator.d.ts +0 -3
- package/singlestore/migrator.js +0 -9
- package/singlestore/migrator.js.map +0 -1
- package/singlestore/session.cjs +0 -258
- package/singlestore/session.cjs.map +0 -1
- package/singlestore/session.d.cts +0 -52
- package/singlestore/session.d.ts +0 -52
- package/singlestore/session.js +0 -236
- package/singlestore/session.js.map +0 -1
- package/singlestore-core/alias.cjs +0 -32
- package/singlestore-core/alias.cjs.map +0 -1
- package/singlestore-core/alias.d.cts +0 -4
- package/singlestore-core/alias.d.ts +0 -4
- package/singlestore-core/alias.js +0 -8
- package/singlestore-core/alias.js.map +0 -1
- package/singlestore-core/columns/all.cjs +0 -80
- package/singlestore-core/columns/all.cjs.map +0 -1
- package/singlestore-core/columns/all.d.cts +0 -51
- package/singlestore-core/columns/all.d.ts +0 -51
- package/singlestore-core/columns/all.js +0 -56
- package/singlestore-core/columns/all.js.map +0 -1
- package/singlestore-core/columns/bigint.cjs +0 -96
- package/singlestore-core/columns/bigint.cjs.map +0 -1
- package/singlestore-core/columns/bigint.d.cts +0 -54
- package/singlestore-core/columns/bigint.d.ts +0 -54
- package/singlestore-core/columns/bigint.js +0 -68
- package/singlestore-core/columns/bigint.js.map +0 -1
- package/singlestore-core/columns/binary.cjs +0 -60
- package/singlestore-core/columns/binary.cjs.map +0 -1
- package/singlestore-core/columns/binary.d.cts +0 -28
- package/singlestore-core/columns/binary.d.ts +0 -28
- package/singlestore-core/columns/binary.js +0 -34
- package/singlestore-core/columns/binary.js.map +0 -1
- package/singlestore-core/columns/boolean.cjs +0 -62
- package/singlestore-core/columns/boolean.cjs.map +0 -1
- package/singlestore-core/columns/boolean.d.cts +0 -24
- package/singlestore-core/columns/boolean.d.ts +0 -24
- package/singlestore-core/columns/boolean.js +0 -36
- package/singlestore-core/columns/boolean.js.map +0 -1
- package/singlestore-core/columns/char.cjs +0 -62
- package/singlestore-core/columns/char.cjs.map +0 -1
- package/singlestore-core/columns/char.d.cts +0 -31
- package/singlestore-core/columns/char.d.ts +0 -31
- package/singlestore-core/columns/char.js +0 -36
- package/singlestore-core/columns/char.js.map +0 -1
- package/singlestore-core/columns/common.cjs +0 -82
- package/singlestore-core/columns/common.cjs.map +0 -1
- package/singlestore-core/columns/common.d.cts +0 -42
- package/singlestore-core/columns/common.d.ts +0 -42
- package/singlestore-core/columns/common.js +0 -55
- package/singlestore-core/columns/common.js.map +0 -1
- package/singlestore-core/columns/custom.cjs +0 -77
- package/singlestore-core/columns/custom.cjs.map +0 -1
- package/singlestore-core/columns/custom.d.cts +0 -156
- package/singlestore-core/columns/custom.d.ts +0 -156
- package/singlestore-core/columns/custom.js +0 -51
- package/singlestore-core/columns/custom.js.map +0 -1
- package/singlestore-core/columns/date.cjs +0 -93
- package/singlestore-core/columns/date.cjs.map +0 -1
- package/singlestore-core/columns/date.common.cjs +0 -48
- package/singlestore-core/columns/date.common.cjs.map +0 -1
- package/singlestore-core/columns/date.common.d.cts +0 -16
- package/singlestore-core/columns/date.common.d.ts +0 -16
- package/singlestore-core/columns/date.common.js +0 -23
- package/singlestore-core/columns/date.common.js.map +0 -1
- package/singlestore-core/columns/date.d.cts +0 -53
- package/singlestore-core/columns/date.d.ts +0 -53
- package/singlestore-core/columns/date.js +0 -65
- package/singlestore-core/columns/date.js.map +0 -1
- package/singlestore-core/columns/datetime.cjs +0 -106
- package/singlestore-core/columns/datetime.cjs.map +0 -1
- package/singlestore-core/columns/datetime.d.cts +0 -54
- package/singlestore-core/columns/datetime.d.ts +0 -54
- package/singlestore-core/columns/datetime.js +0 -78
- package/singlestore-core/columns/datetime.js.map +0 -1
- package/singlestore-core/columns/decimal.cjs +0 -76
- package/singlestore-core/columns/decimal.cjs.map +0 -1
- package/singlestore-core/columns/decimal.d.cts +0 -32
- package/singlestore-core/columns/decimal.d.ts +0 -32
- package/singlestore-core/columns/decimal.js +0 -50
- package/singlestore-core/columns/decimal.js.map +0 -1
- package/singlestore-core/columns/double.cjs +0 -72
- package/singlestore-core/columns/double.cjs.map +0 -1
- package/singlestore-core/columns/double.d.cts +0 -32
- package/singlestore-core/columns/double.d.ts +0 -32
- package/singlestore-core/columns/double.js +0 -46
- package/singlestore-core/columns/double.js.map +0 -1
- package/singlestore-core/columns/enum.cjs +0 -67
- package/singlestore-core/columns/enum.cjs.map +0 -1
- package/singlestore-core/columns/enum.d.cts +0 -31
- package/singlestore-core/columns/enum.d.ts +0 -31
- package/singlestore-core/columns/enum.js +0 -41
- package/singlestore-core/columns/enum.js.map +0 -1
- package/singlestore-core/columns/float.cjs +0 -72
- package/singlestore-core/columns/float.cjs.map +0 -1
- package/singlestore-core/columns/float.d.cts +0 -32
- package/singlestore-core/columns/float.d.ts +0 -32
- package/singlestore-core/columns/float.js +0 -46
- package/singlestore-core/columns/float.js.map +0 -1
- package/singlestore-core/columns/index.cjs +0 -71
- package/singlestore-core/columns/index.cjs.map +0 -1
- package/singlestore-core/columns/index.d.cts +0 -25
- package/singlestore-core/columns/index.d.ts +0 -25
- package/singlestore-core/columns/index.js +0 -26
- package/singlestore-core/columns/index.js.map +0 -1
- package/singlestore-core/columns/int.cjs +0 -65
- package/singlestore-core/columns/int.cjs.map +0 -1
- package/singlestore-core/columns/int.d.cts +0 -28
- package/singlestore-core/columns/int.d.ts +0 -28
- package/singlestore-core/columns/int.js +0 -39
- package/singlestore-core/columns/int.js.map +0 -1
- package/singlestore-core/columns/json.cjs +0 -59
- package/singlestore-core/columns/json.cjs.map +0 -1
- package/singlestore-core/columns/json.d.cts +0 -24
- package/singlestore-core/columns/json.d.ts +0 -24
- package/singlestore-core/columns/json.js +0 -33
- package/singlestore-core/columns/json.js.map +0 -1
- package/singlestore-core/columns/mediumint.cjs +0 -65
- package/singlestore-core/columns/mediumint.cjs.map +0 -1
- package/singlestore-core/columns/mediumint.d.cts +0 -26
- package/singlestore-core/columns/mediumint.d.ts +0 -26
- package/singlestore-core/columns/mediumint.js +0 -39
- package/singlestore-core/columns/mediumint.js.map +0 -1
- package/singlestore-core/columns/real.cjs +0 -68
- package/singlestore-core/columns/real.cjs.map +0 -1
- package/singlestore-core/columns/real.d.cts +0 -30
- package/singlestore-core/columns/real.d.ts +0 -30
- package/singlestore-core/columns/real.js +0 -42
- package/singlestore-core/columns/real.js.map +0 -1
- package/singlestore-core/columns/serial.cjs +0 -64
- package/singlestore-core/columns/serial.cjs.map +0 -1
- package/singlestore-core/columns/serial.d.cts +0 -24
- package/singlestore-core/columns/serial.d.ts +0 -24
- package/singlestore-core/columns/serial.js +0 -38
- package/singlestore-core/columns/serial.js.map +0 -1
- package/singlestore-core/columns/smallint.cjs +0 -65
- package/singlestore-core/columns/smallint.cjs.map +0 -1
- package/singlestore-core/columns/smallint.d.cts +0 -26
- package/singlestore-core/columns/smallint.d.ts +0 -26
- package/singlestore-core/columns/smallint.js +0 -39
- package/singlestore-core/columns/smallint.js.map +0 -1
- package/singlestore-core/columns/text.cjs +0 -80
- package/singlestore-core/columns/text.cjs.map +0 -1
- package/singlestore-core/columns/text.d.cts +0 -46
- package/singlestore-core/columns/text.d.ts +0 -46
- package/singlestore-core/columns/text.js +0 -51
- package/singlestore-core/columns/text.js.map +0 -1
- package/singlestore-core/columns/time.cjs +0 -56
- package/singlestore-core/columns/time.cjs.map +0 -1
- package/singlestore-core/columns/time.d.cts +0 -23
- package/singlestore-core/columns/time.d.ts +0 -23
- package/singlestore-core/columns/time.js +0 -30
- package/singlestore-core/columns/time.js.map +0 -1
- package/singlestore-core/columns/timestamp.cjs +0 -97
- package/singlestore-core/columns/timestamp.cjs.map +0 -1
- package/singlestore-core/columns/timestamp.d.cts +0 -49
- package/singlestore-core/columns/timestamp.d.ts +0 -49
- package/singlestore-core/columns/timestamp.js +0 -69
- package/singlestore-core/columns/timestamp.js.map +0 -1
- package/singlestore-core/columns/tinyint.cjs +0 -65
- package/singlestore-core/columns/tinyint.cjs.map +0 -1
- package/singlestore-core/columns/tinyint.d.cts +0 -26
- package/singlestore-core/columns/tinyint.d.ts +0 -26
- package/singlestore-core/columns/tinyint.js +0 -39
- package/singlestore-core/columns/tinyint.js.map +0 -1
- package/singlestore-core/columns/varbinary.cjs +0 -61
- package/singlestore-core/columns/varbinary.cjs.map +0 -1
- package/singlestore-core/columns/varbinary.d.cts +0 -26
- package/singlestore-core/columns/varbinary.d.ts +0 -26
- package/singlestore-core/columns/varbinary.js +0 -35
- package/singlestore-core/columns/varbinary.js.map +0 -1
- package/singlestore-core/columns/varchar.cjs +0 -63
- package/singlestore-core/columns/varchar.cjs.map +0 -1
- package/singlestore-core/columns/varchar.d.cts +0 -29
- package/singlestore-core/columns/varchar.d.ts +0 -29
- package/singlestore-core/columns/varchar.js +0 -37
- package/singlestore-core/columns/varchar.js.map +0 -1
- package/singlestore-core/columns/year.cjs +0 -56
- package/singlestore-core/columns/year.cjs.map +0 -1
- package/singlestore-core/columns/year.d.cts +0 -23
- package/singlestore-core/columns/year.d.ts +0 -23
- package/singlestore-core/columns/year.js +0 -30
- package/singlestore-core/columns/year.js.map +0 -1
- package/singlestore-core/db.cjs +0 -261
- package/singlestore-core/db.cjs.map +0 -1
- package/singlestore-core/db.d.cts +0 -231
- package/singlestore-core/db.d.ts +0 -231
- package/singlestore-core/db.js +0 -242
- package/singlestore-core/db.js.map +0 -1
- package/singlestore-core/dialect.cjs +0 -607
- package/singlestore-core/dialect.cjs.map +0 -1
- package/singlestore-core/dialect.d.cts +0 -64
- package/singlestore-core/dialect.d.ts +0 -64
- package/singlestore-core/dialect.js +0 -589
- package/singlestore-core/dialect.js.map +0 -1
- package/singlestore-core/expressions.cjs +0 -49
- package/singlestore-core/expressions.cjs.map +0 -1
- package/singlestore-core/expressions.d.cts +0 -8
- package/singlestore-core/expressions.d.ts +0 -8
- package/singlestore-core/expressions.js +0 -22
- package/singlestore-core/expressions.js.map +0 -1
- package/singlestore-core/index.cjs +0 -47
- package/singlestore-core/index.cjs.map +0 -1
- package/singlestore-core/index.d.cts +0 -13
- package/singlestore-core/index.d.ts +0 -13
- package/singlestore-core/index.js +0 -14
- package/singlestore-core/index.js.map +0 -1
- package/singlestore-core/indexes.cjs +0 -88
- package/singlestore-core/indexes.cjs.map +0 -1
- package/singlestore-core/indexes.d.cts +0 -62
- package/singlestore-core/indexes.d.ts +0 -62
- package/singlestore-core/indexes.js +0 -60
- package/singlestore-core/indexes.js.map +0 -1
- package/singlestore-core/primary-keys.cjs +0 -68
- package/singlestore-core/primary-keys.cjs.map +0 -1
- package/singlestore-core/primary-keys.d.cts +0 -30
- package/singlestore-core/primary-keys.d.ts +0 -30
- package/singlestore-core/primary-keys.js +0 -42
- package/singlestore-core/primary-keys.js.map +0 -1
- package/singlestore-core/query-builders/count.cjs +0 -73
- package/singlestore-core/query-builders/count.cjs.map +0 -1
- package/singlestore-core/query-builders/count.d.cts +0 -25
- package/singlestore-core/query-builders/count.d.ts +0 -25
- package/singlestore-core/query-builders/count.js +0 -49
- package/singlestore-core/query-builders/count.js.map +0 -1
- package/singlestore-core/query-builders/delete.cjs +0 -123
- package/singlestore-core/query-builders/delete.cjs.map +0 -1
- package/singlestore-core/query-builders/delete.d.cts +0 -83
- package/singlestore-core/query-builders/delete.d.ts +0 -83
- package/singlestore-core/query-builders/delete.js +0 -99
- package/singlestore-core/query-builders/delete.js.map +0 -1
- package/singlestore-core/query-builders/index.cjs +0 -33
- package/singlestore-core/query-builders/index.cjs.map +0 -1
- package/singlestore-core/query-builders/index.d.cts +0 -6
- package/singlestore-core/query-builders/index.d.ts +0 -6
- package/singlestore-core/query-builders/index.js +0 -7
- package/singlestore-core/query-builders/index.js.map +0 -1
- package/singlestore-core/query-builders/insert.cjs +0 -146
- package/singlestore-core/query-builders/insert.cjs.map +0 -1
- package/singlestore-core/query-builders/insert.d.cts +0 -106
- package/singlestore-core/query-builders/insert.d.ts +0 -106
- package/singlestore-core/query-builders/insert.js +0 -121
- package/singlestore-core/query-builders/insert.js.map +0 -1
- package/singlestore-core/query-builders/query-builder.cjs +0 -99
- package/singlestore-core/query-builders/query-builder.cjs.map +0 -1
- package/singlestore-core/query-builders/query-builder.d.cts +0 -33
- package/singlestore-core/query-builders/query-builder.d.ts +0 -33
- package/singlestore-core/query-builders/query-builder.js +0 -75
- package/singlestore-core/query-builders/query-builder.js.map +0 -1
- package/singlestore-core/query-builders/query.cjs.map +0 -1
- package/singlestore-core/query-builders/query.d.cts +0 -42
- package/singlestore-core/query-builders/query.d.ts +0 -42
- package/singlestore-core/query-builders/query.js.map +0 -1
- package/singlestore-core/query-builders/select.cjs +0 -687
- package/singlestore-core/query-builders/select.cjs.map +0 -1
- package/singlestore-core/query-builders/select.d.cts +0 -585
- package/singlestore-core/query-builders/select.d.ts +0 -585
- package/singlestore-core/query-builders/select.js +0 -662
- package/singlestore-core/query-builders/select.js.map +0 -1
- package/singlestore-core/query-builders/select.types.cjs +0 -17
- package/singlestore-core/query-builders/select.types.cjs.map +0 -1
- package/singlestore-core/query-builders/select.types.d.cts +0 -137
- package/singlestore-core/query-builders/select.types.d.ts +0 -137
- package/singlestore-core/query-builders/select.types.js +0 -1
- package/singlestore-core/query-builders/select.types.js.map +0 -1
- package/singlestore-core/query-builders/update.cjs +0 -147
- package/singlestore-core/query-builders/update.cjs.map +0 -1
- package/singlestore-core/query-builders/update.d.cts +0 -102
- package/singlestore-core/query-builders/update.d.ts +0 -102
- package/singlestore-core/query-builders/update.js +0 -122
- package/singlestore-core/query-builders/update.js.map +0 -1
- package/singlestore-core/schema.cjs +0 -56
- package/singlestore-core/schema.cjs.map +0 -1
- package/singlestore-core/schema.d.cts +0 -22
- package/singlestore-core/schema.d.ts +0 -22
- package/singlestore-core/schema.js +0 -29
- package/singlestore-core/schema.js.map +0 -1
- package/singlestore-core/session.cjs +0 -87
- package/singlestore-core/session.cjs.map +0 -1
- package/singlestore-core/session.d.cts +0 -66
- package/singlestore-core/session.d.ts +0 -66
- package/singlestore-core/session.js +0 -61
- package/singlestore-core/session.js.map +0 -1
- package/singlestore-core/subquery.cjs +0 -17
- package/singlestore-core/subquery.cjs.map +0 -1
- package/singlestore-core/subquery.d.cts +0 -5
- package/singlestore-core/subquery.d.ts +0 -5
- package/singlestore-core/subquery.js +0 -1
- package/singlestore-core/subquery.js.map +0 -1
- package/singlestore-core/table.cjs +0 -73
- package/singlestore-core/table.cjs.map +0 -1
- package/singlestore-core/table.d.cts +0 -40
- package/singlestore-core/table.d.ts +0 -40
- package/singlestore-core/table.js +0 -46
- package/singlestore-core/table.js.map +0 -1
- package/singlestore-core/unique-constraint.cjs +0 -82
- package/singlestore-core/unique-constraint.cjs.map +0 -1
- package/singlestore-core/unique-constraint.d.cts +0 -24
- package/singlestore-core/unique-constraint.d.ts +0 -24
- package/singlestore-core/unique-constraint.js +0 -54
- package/singlestore-core/unique-constraint.js.map +0 -1
- package/singlestore-core/utils.cjs +0 -65
- package/singlestore-core/utils.cjs.map +0 -1
- package/singlestore-core/utils.d.cts +0 -13
- package/singlestore-core/utils.d.ts +0 -13
- package/singlestore-core/utils.js +0 -41
- package/singlestore-core/utils.js.map +0 -1
- package/singlestore-core/view-base.cjs +0 -33
- package/singlestore-core/view-base.cjs.map +0 -1
- package/singlestore-core/view-base.d.cts +0 -9
- package/singlestore-core/view-base.d.ts +0 -9
- package/singlestore-core/view-base.js +0 -9
- package/singlestore-core/view-base.js.map +0 -1
- package/singlestore-core/view-common.cjs +0 -29
- package/singlestore-core/view-common.cjs.map +0 -1
- package/singlestore-core/view-common.d.cts +0 -1
- package/singlestore-core/view-common.d.ts +0 -1
- package/singlestore-core/view-common.js +0 -5
- package/singlestore-core/view-common.js.map +0 -1
- package/singlestore-core/view.cjs +0 -146
- package/singlestore-core/view.cjs.map +0 -1
- package/singlestore-core/view.d.cts +0 -65
- package/singlestore-core/view.d.ts +0 -65
- package/singlestore-core/view.js +0 -119
- package/singlestore-core/view.js.map +0 -1
- package/singlestore-proxy/driver.cjs +0 -62
- package/singlestore-proxy/driver.cjs.map +0 -1
- package/singlestore-proxy/driver.d.cts +0 -13
- package/singlestore-proxy/driver.d.ts +0 -13
- package/singlestore-proxy/driver.js +0 -42
- package/singlestore-proxy/driver.js.map +0 -1
- package/singlestore-proxy/index.cjs +0 -25
- package/singlestore-proxy/index.cjs.map +0 -1
- package/singlestore-proxy/index.d.cts +0 -2
- package/singlestore-proxy/index.d.ts +0 -2
- package/singlestore-proxy/index.js +0 -3
- package/singlestore-proxy/index.js.map +0 -1
- package/singlestore-proxy/migrator.cjs +0 -60
- package/singlestore-proxy/migrator.cjs.map +0 -1
- package/singlestore-proxy/migrator.d.cts +0 -4
- package/singlestore-proxy/migrator.d.ts +0 -4
- package/singlestore-proxy/migrator.js +0 -36
- package/singlestore-proxy/migrator.js.map +0 -1
- package/singlestore-proxy/session.cjs +0 -127
- package/singlestore-proxy/session.cjs.map +0 -1
- package/singlestore-proxy/session.d.cts +0 -50
- package/singlestore-proxy/session.d.ts +0 -50
- package/singlestore-proxy/session.js +0 -101
- package/singlestore-proxy/session.js.map +0 -1
package/singlestore/session.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { Connection, FieldPacket, OkPacket, Pool, ResultSetHeader, RowDataPacket } from 'mysql2/promise';
|
|
2
|
-
import { entityKind } from "../entity.js";
|
|
3
|
-
import type { Logger } from "../logger.js";
|
|
4
|
-
import type { RelationalSchemaConfig, TablesRelationalConfig } from "../relations.js";
|
|
5
|
-
import type { SingleStoreDialect } from "../singlestore-core/dialect.js";
|
|
6
|
-
import type { SelectedFieldsOrdered } from "../singlestore-core/query-builders/select.types.js";
|
|
7
|
-
import { type PreparedQueryKind, SingleStorePreparedQuery, type SingleStorePreparedQueryConfig, type SingleStorePreparedQueryHKT, type SingleStoreQueryResultHKT, SingleStoreSession, SingleStoreTransaction, type SingleStoreTransactionConfig } from "../singlestore-core/session.js";
|
|
8
|
-
import type { Query, SQL } from "../sql/sql.js";
|
|
9
|
-
import { type Assume } from "../utils.js";
|
|
10
|
-
export type SingleStoreDriverClient = Pool | Connection;
|
|
11
|
-
export type SingleStoreRawQueryResult = [ResultSetHeader, FieldPacket[]];
|
|
12
|
-
export type SingleStoreQueryResultType = RowDataPacket[][] | RowDataPacket[] | OkPacket | OkPacket[] | ResultSetHeader;
|
|
13
|
-
export type SingleStoreQueryResult<T = any> = [T extends ResultSetHeader ? T : T[], FieldPacket[]];
|
|
14
|
-
export declare class SingleStoreDriverPreparedQuery<T extends SingleStorePreparedQueryConfig> extends SingleStorePreparedQuery<T> {
|
|
15
|
-
private client;
|
|
16
|
-
private params;
|
|
17
|
-
private logger;
|
|
18
|
-
private fields;
|
|
19
|
-
private customResultMapper?;
|
|
20
|
-
private generatedIds?;
|
|
21
|
-
private returningIds?;
|
|
22
|
-
static readonly [entityKind]: string;
|
|
23
|
-
private rawQuery;
|
|
24
|
-
private query;
|
|
25
|
-
constructor(client: SingleStoreDriverClient, queryString: string, params: unknown[], logger: Logger, fields: SelectedFieldsOrdered | undefined, customResultMapper?: ((rows: unknown[][]) => T["execute"]) | undefined, generatedIds?: Record<string, unknown>[] | undefined, returningIds?: SelectedFieldsOrdered | undefined);
|
|
26
|
-
execute(placeholderValues?: Record<string, unknown>): Promise<T['execute']>;
|
|
27
|
-
iterator(placeholderValues?: Record<string, unknown>): AsyncGenerator<T['execute'] extends any[] ? T['execute'][number] : T['execute']>;
|
|
28
|
-
}
|
|
29
|
-
export interface SingleStoreDriverSessionOptions {
|
|
30
|
-
logger?: Logger;
|
|
31
|
-
}
|
|
32
|
-
export declare class SingleStoreDriverSession<TFullSchema extends Record<string, unknown>, TSchema extends TablesRelationalConfig> extends SingleStoreSession<SingleStoreQueryResultHKT, SingleStoreDriverPreparedQueryHKT, TFullSchema, TSchema> {
|
|
33
|
-
private client;
|
|
34
|
-
private schema;
|
|
35
|
-
private options;
|
|
36
|
-
static readonly [entityKind]: string;
|
|
37
|
-
private logger;
|
|
38
|
-
constructor(client: SingleStoreDriverClient, dialect: SingleStoreDialect, schema: RelationalSchemaConfig<TSchema> | undefined, options: SingleStoreDriverSessionOptions);
|
|
39
|
-
prepareQuery<T extends SingleStorePreparedQueryConfig>(query: Query, fields: SelectedFieldsOrdered | undefined, customResultMapper?: (rows: unknown[][]) => T['execute'], generatedIds?: Record<string, unknown>[], returningIds?: SelectedFieldsOrdered): PreparedQueryKind<SingleStoreDriverPreparedQueryHKT, T>;
|
|
40
|
-
all<T = unknown>(query: SQL): Promise<T[]>;
|
|
41
|
-
transaction<T>(transaction: (tx: SingleStoreDriverTransaction<TFullSchema, TSchema>) => Promise<T>, config?: SingleStoreTransactionConfig): Promise<T>;
|
|
42
|
-
}
|
|
43
|
-
export declare class SingleStoreDriverTransaction<TFullSchema extends Record<string, unknown>, TSchema extends TablesRelationalConfig> extends SingleStoreTransaction<SingleStoreDriverQueryResultHKT, SingleStoreDriverPreparedQueryHKT, TFullSchema, TSchema> {
|
|
44
|
-
static readonly [entityKind]: string;
|
|
45
|
-
transaction<T>(transaction: (tx: SingleStoreDriverTransaction<TFullSchema, TSchema>) => Promise<T>): Promise<T>;
|
|
46
|
-
}
|
|
47
|
-
export interface SingleStoreDriverQueryResultHKT extends SingleStoreQueryResultHKT {
|
|
48
|
-
type: SingleStoreRawQueryResult;
|
|
49
|
-
}
|
|
50
|
-
export interface SingleStoreDriverPreparedQueryHKT extends SingleStorePreparedQueryHKT {
|
|
51
|
-
type: SingleStoreDriverPreparedQuery<Assume<this['config'], SingleStorePreparedQueryConfig>>;
|
|
52
|
-
}
|
package/singlestore/session.js
DELETED
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
import { once } from "node:events";
|
|
2
|
-
import { Column } from "../column.js";
|
|
3
|
-
import { entityKind, is } from "../entity.js";
|
|
4
|
-
import { NoopLogger } from "../logger.js";
|
|
5
|
-
import {
|
|
6
|
-
SingleStorePreparedQuery,
|
|
7
|
-
SingleStoreSession,
|
|
8
|
-
SingleStoreTransaction
|
|
9
|
-
} from "../singlestore-core/session.js";
|
|
10
|
-
import { fillPlaceholders, sql } from "../sql/sql.js";
|
|
11
|
-
import { mapResultRow } from "../utils.js";
|
|
12
|
-
class SingleStoreDriverPreparedQuery extends SingleStorePreparedQuery {
|
|
13
|
-
constructor(client, queryString, params, logger, fields, customResultMapper, generatedIds, returningIds) {
|
|
14
|
-
super();
|
|
15
|
-
this.client = client;
|
|
16
|
-
this.params = params;
|
|
17
|
-
this.logger = logger;
|
|
18
|
-
this.fields = fields;
|
|
19
|
-
this.customResultMapper = customResultMapper;
|
|
20
|
-
this.generatedIds = generatedIds;
|
|
21
|
-
this.returningIds = returningIds;
|
|
22
|
-
this.rawQuery = {
|
|
23
|
-
sql: queryString,
|
|
24
|
-
// rowsAsArray: true,
|
|
25
|
-
typeCast: function(field, next) {
|
|
26
|
-
if (field.type === "TIMESTAMP" || field.type === "DATETIME" || field.type === "DATE") {
|
|
27
|
-
return field.string();
|
|
28
|
-
}
|
|
29
|
-
return next();
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
this.query = {
|
|
33
|
-
sql: queryString,
|
|
34
|
-
rowsAsArray: true,
|
|
35
|
-
typeCast: function(field, next) {
|
|
36
|
-
if (field.type === "TIMESTAMP" || field.type === "DATETIME" || field.type === "DATE") {
|
|
37
|
-
return field.string();
|
|
38
|
-
}
|
|
39
|
-
return next();
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
static [entityKind] = "SingleStoreDriverPreparedQuery";
|
|
44
|
-
rawQuery;
|
|
45
|
-
query;
|
|
46
|
-
async execute(placeholderValues = {}) {
|
|
47
|
-
const params = fillPlaceholders(this.params, placeholderValues);
|
|
48
|
-
this.logger.logQuery(this.rawQuery.sql, params);
|
|
49
|
-
const { fields, client, rawQuery, query, joinsNotNullableMap, customResultMapper, returningIds, generatedIds } = this;
|
|
50
|
-
if (!fields && !customResultMapper) {
|
|
51
|
-
const res = await client.query(rawQuery, params);
|
|
52
|
-
const insertId = res[0].insertId;
|
|
53
|
-
const affectedRows = res[0].affectedRows;
|
|
54
|
-
if (returningIds) {
|
|
55
|
-
const returningResponse = [];
|
|
56
|
-
let j = 0;
|
|
57
|
-
for (let i = insertId; i < insertId + affectedRows; i++) {
|
|
58
|
-
for (const column of returningIds) {
|
|
59
|
-
const key = returningIds[0].path[0];
|
|
60
|
-
if (is(column.field, Column)) {
|
|
61
|
-
if (column.field.primary && column.field.autoIncrement) {
|
|
62
|
-
returningResponse.push({ [key]: i });
|
|
63
|
-
}
|
|
64
|
-
if (column.field.defaultFn && generatedIds) {
|
|
65
|
-
returningResponse.push({ [key]: generatedIds[j][key] });
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
j++;
|
|
70
|
-
}
|
|
71
|
-
return returningResponse;
|
|
72
|
-
}
|
|
73
|
-
return res;
|
|
74
|
-
}
|
|
75
|
-
const result = await client.query(query, params);
|
|
76
|
-
const rows = result[0];
|
|
77
|
-
if (customResultMapper) {
|
|
78
|
-
return customResultMapper(rows);
|
|
79
|
-
}
|
|
80
|
-
return rows.map((row) => mapResultRow(fields, row, joinsNotNullableMap));
|
|
81
|
-
}
|
|
82
|
-
async *iterator(placeholderValues = {}) {
|
|
83
|
-
const params = fillPlaceholders(this.params, placeholderValues);
|
|
84
|
-
const conn = (isPool(this.client) ? await this.client.getConnection() : this.client).connection;
|
|
85
|
-
const { fields, query, rawQuery, joinsNotNullableMap, client, customResultMapper } = this;
|
|
86
|
-
const hasRowsMapper = Boolean(fields || customResultMapper);
|
|
87
|
-
const driverQuery = hasRowsMapper ? conn.query(query, params) : conn.query(rawQuery, params);
|
|
88
|
-
const stream = driverQuery.stream();
|
|
89
|
-
function dataListener() {
|
|
90
|
-
stream.pause();
|
|
91
|
-
}
|
|
92
|
-
stream.on("data", dataListener);
|
|
93
|
-
try {
|
|
94
|
-
const onEnd = once(stream, "end");
|
|
95
|
-
const onError = once(stream, "error");
|
|
96
|
-
while (true) {
|
|
97
|
-
stream.resume();
|
|
98
|
-
const row = await Promise.race([onEnd, onError, new Promise((resolve) => stream.once("data", resolve))]);
|
|
99
|
-
if (row === void 0 || Array.isArray(row) && row.length === 0) {
|
|
100
|
-
break;
|
|
101
|
-
} else if (row instanceof Error) {
|
|
102
|
-
throw row;
|
|
103
|
-
} else {
|
|
104
|
-
if (hasRowsMapper) {
|
|
105
|
-
if (customResultMapper) {
|
|
106
|
-
const mappedRow = customResultMapper([row]);
|
|
107
|
-
yield Array.isArray(mappedRow) ? mappedRow[0] : mappedRow;
|
|
108
|
-
} else {
|
|
109
|
-
yield mapResultRow(fields, row, joinsNotNullableMap);
|
|
110
|
-
}
|
|
111
|
-
} else {
|
|
112
|
-
yield row;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
} finally {
|
|
117
|
-
stream.off("data", dataListener);
|
|
118
|
-
if (isPool(client)) {
|
|
119
|
-
conn.end();
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
class SingleStoreDriverSession extends SingleStoreSession {
|
|
125
|
-
constructor(client, dialect, schema, options) {
|
|
126
|
-
super(dialect);
|
|
127
|
-
this.client = client;
|
|
128
|
-
this.schema = schema;
|
|
129
|
-
this.options = options;
|
|
130
|
-
this.logger = options.logger ?? new NoopLogger();
|
|
131
|
-
}
|
|
132
|
-
static [entityKind] = "SingleStoreDriverSession";
|
|
133
|
-
logger;
|
|
134
|
-
prepareQuery(query, fields, customResultMapper, generatedIds, returningIds) {
|
|
135
|
-
return new SingleStoreDriverPreparedQuery(
|
|
136
|
-
this.client,
|
|
137
|
-
query.sql,
|
|
138
|
-
query.params,
|
|
139
|
-
this.logger,
|
|
140
|
-
fields,
|
|
141
|
-
customResultMapper,
|
|
142
|
-
generatedIds,
|
|
143
|
-
returningIds
|
|
144
|
-
);
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
* What is its purpose?
|
|
149
|
-
*/
|
|
150
|
-
async query(query, params) {
|
|
151
|
-
this.logger.logQuery(query, params);
|
|
152
|
-
const result = await this.client.query({
|
|
153
|
-
sql: query,
|
|
154
|
-
values: params,
|
|
155
|
-
rowsAsArray: true,
|
|
156
|
-
typeCast: function(field, next) {
|
|
157
|
-
if (field.type === "TIMESTAMP" || field.type === "DATETIME" || field.type === "DATE") {
|
|
158
|
-
return field.string();
|
|
159
|
-
}
|
|
160
|
-
return next();
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
return result;
|
|
164
|
-
}
|
|
165
|
-
all(query) {
|
|
166
|
-
const querySql = this.dialect.sqlToQuery(query);
|
|
167
|
-
this.logger.logQuery(querySql.sql, querySql.params);
|
|
168
|
-
return this.client.execute(querySql.sql, querySql.params).then((result) => result[0]);
|
|
169
|
-
}
|
|
170
|
-
async transaction(transaction, config) {
|
|
171
|
-
const session = isPool(this.client) ? new SingleStoreDriverSession(
|
|
172
|
-
await this.client.getConnection(),
|
|
173
|
-
this.dialect,
|
|
174
|
-
this.schema,
|
|
175
|
-
this.options
|
|
176
|
-
) : this;
|
|
177
|
-
const tx = new SingleStoreDriverTransaction(
|
|
178
|
-
this.dialect,
|
|
179
|
-
session,
|
|
180
|
-
this.schema,
|
|
181
|
-
0
|
|
182
|
-
);
|
|
183
|
-
if (config) {
|
|
184
|
-
const setTransactionConfigSql = this.getSetTransactionSQL(config);
|
|
185
|
-
if (setTransactionConfigSql) {
|
|
186
|
-
await tx.execute(setTransactionConfigSql);
|
|
187
|
-
}
|
|
188
|
-
const startTransactionSql = this.getStartTransactionSQL(config);
|
|
189
|
-
await (startTransactionSql ? tx.execute(startTransactionSql) : tx.execute(sql`begin`));
|
|
190
|
-
} else {
|
|
191
|
-
await tx.execute(sql`begin`);
|
|
192
|
-
}
|
|
193
|
-
try {
|
|
194
|
-
const result = await transaction(tx);
|
|
195
|
-
await tx.execute(sql`commit`);
|
|
196
|
-
return result;
|
|
197
|
-
} catch (err) {
|
|
198
|
-
await tx.execute(sql`rollback`);
|
|
199
|
-
throw err;
|
|
200
|
-
} finally {
|
|
201
|
-
if (isPool(this.client)) {
|
|
202
|
-
session.client.release();
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
class SingleStoreDriverTransaction extends SingleStoreTransaction {
|
|
208
|
-
static [entityKind] = "SingleStoreDriverTransaction";
|
|
209
|
-
async transaction(transaction) {
|
|
210
|
-
const savepointName = `sp${this.nestedIndex + 1}`;
|
|
211
|
-
const tx = new SingleStoreDriverTransaction(
|
|
212
|
-
this.dialect,
|
|
213
|
-
this.session,
|
|
214
|
-
this.schema,
|
|
215
|
-
this.nestedIndex + 1
|
|
216
|
-
);
|
|
217
|
-
await tx.execute(sql.raw(`savepoint ${savepointName}`));
|
|
218
|
-
try {
|
|
219
|
-
const result = await transaction(tx);
|
|
220
|
-
await tx.execute(sql.raw(`release savepoint ${savepointName}`));
|
|
221
|
-
return result;
|
|
222
|
-
} catch (err) {
|
|
223
|
-
await tx.execute(sql.raw(`rollback to savepoint ${savepointName}`));
|
|
224
|
-
throw err;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
function isPool(client) {
|
|
229
|
-
return "getConnection" in client;
|
|
230
|
-
}
|
|
231
|
-
export {
|
|
232
|
-
SingleStoreDriverPreparedQuery,
|
|
233
|
-
SingleStoreDriverSession,
|
|
234
|
-
SingleStoreDriverTransaction
|
|
235
|
-
};
|
|
236
|
-
//# sourceMappingURL=session.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/singlestore/session.ts"],"sourcesContent":["import type { Connection as CallbackConnection } from 'mysql2';\nimport type {\n\tConnection,\n\tFieldPacket,\n\tOkPacket,\n\tPool,\n\tPoolConnection,\n\tQueryOptions,\n\tResultSetHeader,\n\tRowDataPacket,\n} from 'mysql2/promise';\nimport { once } from 'node:events';\nimport { Column } from '~/column.ts';\nimport { entityKind, is } from '~/entity.ts';\nimport type { Logger } from '~/logger.ts';\nimport { NoopLogger } from '~/logger.ts';\nimport type { RelationalSchemaConfig, TablesRelationalConfig } from '~/relations.ts';\nimport type { SingleStoreDialect } from '~/singlestore-core/dialect.ts';\nimport type { SelectedFieldsOrdered } from '~/singlestore-core/query-builders/select.types.ts';\nimport {\n\ttype PreparedQueryKind,\n\tSingleStorePreparedQuery,\n\ttype SingleStorePreparedQueryConfig,\n\ttype SingleStorePreparedQueryHKT,\n\ttype SingleStoreQueryResultHKT,\n\tSingleStoreSession,\n\tSingleStoreTransaction,\n\ttype SingleStoreTransactionConfig,\n} from '~/singlestore-core/session.ts';\nimport type { Query, SQL } from '~/sql/sql.ts';\nimport { fillPlaceholders, sql } from '~/sql/sql.ts';\nimport { type Assume, mapResultRow } from '~/utils.ts';\n\nexport type SingleStoreDriverClient = Pool | Connection;\n\nexport type SingleStoreRawQueryResult = [ResultSetHeader, FieldPacket[]];\nexport type SingleStoreQueryResultType = RowDataPacket[][] | RowDataPacket[] | OkPacket | OkPacket[] | ResultSetHeader;\nexport type SingleStoreQueryResult<\n\tT = any,\n> = [T extends ResultSetHeader ? T : T[], FieldPacket[]];\n\nexport class SingleStoreDriverPreparedQuery<T extends SingleStorePreparedQueryConfig>\n\textends SingleStorePreparedQuery<T>\n{\n\tstatic override readonly [entityKind]: string = 'SingleStoreDriverPreparedQuery';\n\n\tprivate rawQuery: QueryOptions;\n\tprivate query: QueryOptions;\n\n\tconstructor(\n\t\tprivate client: SingleStoreDriverClient,\n\t\tqueryString: string,\n\t\tprivate params: unknown[],\n\t\tprivate logger: Logger,\n\t\tprivate fields: SelectedFieldsOrdered | undefined,\n\t\tprivate customResultMapper?: (rows: unknown[][]) => T['execute'],\n\t\t// Keys that were used in $default and the value that was generated for them\n\t\tprivate generatedIds?: Record<string, unknown>[],\n\t\t// Keys that should be returned, it has the column with all properries + key from object\n\t\tprivate returningIds?: SelectedFieldsOrdered,\n\t) {\n\t\tsuper();\n\t\tthis.rawQuery = {\n\t\t\tsql: queryString,\n\t\t\t// rowsAsArray: true,\n\t\t\ttypeCast: function(field: any, next: any) {\n\t\t\t\tif (field.type === 'TIMESTAMP' || field.type === 'DATETIME' || field.type === 'DATE') {\n\t\t\t\t\treturn field.string();\n\t\t\t\t}\n\t\t\t\treturn next();\n\t\t\t},\n\t\t};\n\t\tthis.query = {\n\t\t\tsql: queryString,\n\t\t\trowsAsArray: true,\n\t\t\ttypeCast: function(field: any, next: any) {\n\t\t\t\tif (field.type === 'TIMESTAMP' || field.type === 'DATETIME' || field.type === 'DATE') {\n\t\t\t\t\treturn field.string();\n\t\t\t\t}\n\t\t\t\treturn next();\n\t\t\t},\n\t\t};\n\t}\n\n\tasync execute(placeholderValues: Record<string, unknown> = {}): Promise<T['execute']> {\n\t\tconst params = fillPlaceholders(this.params, placeholderValues);\n\n\t\tthis.logger.logQuery(this.rawQuery.sql, params);\n\n\t\tconst { fields, client, rawQuery, query, joinsNotNullableMap, customResultMapper, returningIds, generatedIds } =\n\t\t\tthis;\n\t\tif (!fields && !customResultMapper) {\n\t\t\tconst res = await client.query<any>(rawQuery, params);\n\t\t\tconst insertId = res[0].insertId;\n\t\t\tconst affectedRows = res[0].affectedRows;\n\t\t\t// for each row, I need to check keys from\n\t\t\tif (returningIds) {\n\t\t\t\tconst returningResponse = [];\n\t\t\t\tlet j = 0;\n\t\t\t\tfor (let i = insertId; i < insertId + affectedRows; i++) {\n\t\t\t\t\tfor (const column of returningIds) {\n\t\t\t\t\t\tconst key = returningIds[0]!.path[0]!;\n\t\t\t\t\t\tif (is(column.field, Column)) {\n\t\t\t\t\t\t\t// @ts-ignore\n\t\t\t\t\t\t\tif (column.field.primary && column.field.autoIncrement) {\n\t\t\t\t\t\t\t\treturningResponse.push({ [key]: i });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (column.field.defaultFn && generatedIds) {\n\t\t\t\t\t\t\t\t// generatedIds[rowIdx][key]\n\t\t\t\t\t\t\t\treturningResponse.push({ [key]: generatedIds[j]![key] });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tj++;\n\t\t\t\t}\n\n\t\t\t\treturn returningResponse;\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\n\t\tconst result = await client.query<any[]>(query, params);\n\t\tconst rows = result[0];\n\n\t\tif (customResultMapper) {\n\t\t\treturn customResultMapper(rows);\n\t\t}\n\n\t\treturn rows.map((row) => mapResultRow<T['execute']>(fields!, row, joinsNotNullableMap));\n\t}\n\n\tasync *iterator(\n\t\tplaceholderValues: Record<string, unknown> = {},\n\t): AsyncGenerator<T['execute'] extends any[] ? T['execute'][number] : T['execute']> {\n\t\tconst params = fillPlaceholders(this.params, placeholderValues);\n\t\tconst conn = ((isPool(this.client) ? await this.client.getConnection() : this.client) as {} as {\n\t\t\tconnection: CallbackConnection;\n\t\t}).connection;\n\n\t\tconst { fields, query, rawQuery, joinsNotNullableMap, client, customResultMapper } = this;\n\t\tconst hasRowsMapper = Boolean(fields || customResultMapper);\n\t\tconst driverQuery = hasRowsMapper ? conn.query(query, params) : conn.query(rawQuery, params);\n\n\t\tconst stream = driverQuery.stream();\n\n\t\tfunction dataListener() {\n\t\t\tstream.pause();\n\t\t}\n\n\t\tstream.on('data', dataListener);\n\n\t\ttry {\n\t\t\tconst onEnd = once(stream, 'end');\n\t\t\tconst onError = once(stream, 'error');\n\n\t\t\twhile (true) {\n\t\t\t\tstream.resume();\n\t\t\t\tconst row = await Promise.race([onEnd, onError, new Promise((resolve) => stream.once('data', resolve))]);\n\t\t\t\tif (row === undefined || (Array.isArray(row) && row.length === 0)) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (row instanceof Error) { // eslint-disable-line no-instanceof/no-instanceof\n\t\t\t\t\tthrow row;\n\t\t\t\t} else {\n\t\t\t\t\tif (hasRowsMapper) {\n\t\t\t\t\t\tif (customResultMapper) {\n\t\t\t\t\t\t\tconst mappedRow = customResultMapper([row as unknown[]]);\n\t\t\t\t\t\t\tyield (Array.isArray(mappedRow) ? mappedRow[0] : mappedRow);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tyield mapResultRow(fields!, row as unknown[], joinsNotNullableMap);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tyield row as T['execute'];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} finally {\n\t\t\tstream.off('data', dataListener);\n\t\t\tif (isPool(client)) {\n\t\t\t\tconn.end();\n\t\t\t}\n\t\t}\n\t}\n}\n\nexport interface SingleStoreDriverSessionOptions {\n\tlogger?: Logger;\n}\n\nexport class SingleStoreDriverSession<\n\tTFullSchema extends Record<string, unknown>,\n\tTSchema extends TablesRelationalConfig,\n> extends SingleStoreSession<SingleStoreQueryResultHKT, SingleStoreDriverPreparedQueryHKT, TFullSchema, TSchema> {\n\tstatic override readonly [entityKind]: string = 'SingleStoreDriverSession';\n\n\tprivate logger: Logger;\n\n\tconstructor(\n\t\tprivate client: SingleStoreDriverClient,\n\t\tdialect: SingleStoreDialect,\n\t\tprivate schema: RelationalSchemaConfig<TSchema> | undefined,\n\t\tprivate options: SingleStoreDriverSessionOptions,\n\t) {\n\t\tsuper(dialect);\n\t\tthis.logger = options.logger ?? new NoopLogger();\n\t}\n\n\tprepareQuery<T extends SingleStorePreparedQueryConfig>(\n\t\tquery: Query,\n\t\tfields: SelectedFieldsOrdered | undefined,\n\t\tcustomResultMapper?: (rows: unknown[][]) => T['execute'],\n\t\tgeneratedIds?: Record<string, unknown>[],\n\t\treturningIds?: SelectedFieldsOrdered,\n\t): PreparedQueryKind<SingleStoreDriverPreparedQueryHKT, T> {\n\t\t// Add returningId fields\n\t\t// Each driver gets them from response from database\n\t\treturn new SingleStoreDriverPreparedQuery(\n\t\t\tthis.client,\n\t\t\tquery.sql,\n\t\t\tquery.params,\n\t\t\tthis.logger,\n\t\t\tfields,\n\t\t\tcustomResultMapper,\n\t\t\tgeneratedIds,\n\t\t\treturningIds,\n\t\t) as PreparedQueryKind<SingleStoreDriverPreparedQueryHKT, T>;\n\t}\n\n\t/**\n\t * @internal\n\t * What is its purpose?\n\t */\n\tasync query(query: string, params: unknown[]): Promise<SingleStoreQueryResult> {\n\t\tthis.logger.logQuery(query, params);\n\t\tconst result = await this.client.query({\n\t\t\tsql: query,\n\t\t\tvalues: params,\n\t\t\trowsAsArray: true,\n\t\t\ttypeCast: function(field: any, next: any) {\n\t\t\t\tif (field.type === 'TIMESTAMP' || field.type === 'DATETIME' || field.type === 'DATE') {\n\t\t\t\t\treturn field.string();\n\t\t\t\t}\n\t\t\t\treturn next();\n\t\t\t},\n\t\t});\n\t\treturn result;\n\t}\n\n\toverride all<T = unknown>(query: SQL): Promise<T[]> {\n\t\tconst querySql = this.dialect.sqlToQuery(query);\n\t\tthis.logger.logQuery(querySql.sql, querySql.params);\n\t\treturn this.client.execute(querySql.sql, querySql.params).then((result) => result[0]) as Promise<T[]>;\n\t}\n\n\toverride async transaction<T>(\n\t\ttransaction: (tx: SingleStoreDriverTransaction<TFullSchema, TSchema>) => Promise<T>,\n\t\tconfig?: SingleStoreTransactionConfig,\n\t): Promise<T> {\n\t\tconst session = isPool(this.client)\n\t\t\t? new SingleStoreDriverSession(\n\t\t\t\tawait this.client.getConnection(),\n\t\t\t\tthis.dialect,\n\t\t\t\tthis.schema,\n\t\t\t\tthis.options,\n\t\t\t)\n\t\t\t: this;\n\t\tconst tx = new SingleStoreDriverTransaction<TFullSchema, TSchema>(\n\t\t\tthis.dialect,\n\t\t\tsession as SingleStoreSession<any, any, any, any>,\n\t\t\tthis.schema,\n\t\t\t0,\n\t\t);\n\t\tif (config) {\n\t\t\tconst setTransactionConfigSql = this.getSetTransactionSQL(config);\n\t\t\tif (setTransactionConfigSql) {\n\t\t\t\tawait tx.execute(setTransactionConfigSql);\n\t\t\t}\n\t\t\tconst startTransactionSql = this.getStartTransactionSQL(config);\n\t\t\tawait (startTransactionSql ? tx.execute(startTransactionSql) : tx.execute(sql`begin`));\n\t\t} else {\n\t\t\tawait tx.execute(sql`begin`);\n\t\t}\n\t\ttry {\n\t\t\tconst result = await transaction(tx);\n\t\t\tawait tx.execute(sql`commit`);\n\t\t\treturn result;\n\t\t} catch (err) {\n\t\t\tawait tx.execute(sql`rollback`);\n\t\t\tthrow err;\n\t\t} finally {\n\t\t\tif (isPool(this.client)) {\n\t\t\t\t(session.client as PoolConnection).release();\n\t\t\t}\n\t\t}\n\t}\n}\n\nexport class SingleStoreDriverTransaction<\n\tTFullSchema extends Record<string, unknown>,\n\tTSchema extends TablesRelationalConfig,\n> extends SingleStoreTransaction<\n\tSingleStoreDriverQueryResultHKT,\n\tSingleStoreDriverPreparedQueryHKT,\n\tTFullSchema,\n\tTSchema\n> {\n\tstatic override readonly [entityKind]: string = 'SingleStoreDriverTransaction';\n\n\toverride async transaction<T>(\n\t\ttransaction: (tx: SingleStoreDriverTransaction<TFullSchema, TSchema>) => Promise<T>,\n\t): Promise<T> {\n\t\tconst savepointName = `sp${this.nestedIndex + 1}`;\n\t\tconst tx = new SingleStoreDriverTransaction<TFullSchema, TSchema>(\n\t\t\tthis.dialect,\n\t\t\tthis.session,\n\t\t\tthis.schema,\n\t\t\tthis.nestedIndex + 1,\n\t\t);\n\t\tawait tx.execute(sql.raw(`savepoint ${savepointName}`));\n\t\ttry {\n\t\t\tconst result = await transaction(tx);\n\t\t\tawait tx.execute(sql.raw(`release savepoint ${savepointName}`));\n\t\t\treturn result;\n\t\t} catch (err) {\n\t\t\tawait tx.execute(sql.raw(`rollback to savepoint ${savepointName}`));\n\t\t\tthrow err;\n\t\t}\n\t}\n}\n\nfunction isPool(client: SingleStoreDriverClient): client is Pool {\n\treturn 'getConnection' in client;\n}\n\nexport interface SingleStoreDriverQueryResultHKT extends SingleStoreQueryResultHKT {\n\ttype: SingleStoreRawQueryResult;\n}\n\nexport interface SingleStoreDriverPreparedQueryHKT extends SingleStorePreparedQueryHKT {\n\ttype: SingleStoreDriverPreparedQuery<Assume<this['config'], SingleStorePreparedQueryConfig>>;\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var alias_exports = {};
|
|
20
|
-
__export(alias_exports, {
|
|
21
|
-
alias: () => alias
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(alias_exports);
|
|
24
|
-
var import_alias = require("../alias.cjs");
|
|
25
|
-
function alias(table, alias2) {
|
|
26
|
-
return new Proxy(table, new import_alias.TableAliasProxyHandler(alias2, false));
|
|
27
|
-
}
|
|
28
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
-
0 && (module.exports = {
|
|
30
|
-
alias
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=alias.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/singlestore-core/alias.ts"],"sourcesContent":["import { TableAliasProxyHandler } from '~/alias.ts';\nimport type { BuildAliasTable } from './query-builders/select.types.ts';\nimport type { SingleStoreTable } from './table.ts';\n\nexport function alias<TTable extends SingleStoreTable, TAlias extends string>( // | SingleStoreViewBase\n\ttable: TTable,\n\talias: TAlias,\n): BuildAliasTable<TTable, TAlias> {\n\treturn new Proxy(table, new TableAliasProxyHandler(alias, false)) as any;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAuC;AAIhC,SAAS,MACf,OACAA,QACkC;AAClC,SAAO,IAAI,MAAM,OAAO,IAAI,oCAAuBA,QAAO,KAAK,CAAC;AACjE;","names":["alias"]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BuildAliasTable } from "./query-builders/select.types.cjs";
|
|
2
|
-
import type { SingleStoreTable } from "./table.cjs";
|
|
3
|
-
export declare function alias<TTable extends SingleStoreTable, TAlias extends string>(// | SingleStoreViewBase
|
|
4
|
-
table: TTable, alias: TAlias): BuildAliasTable<TTable, TAlias>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BuildAliasTable } from "./query-builders/select.types.js";
|
|
2
|
-
import type { SingleStoreTable } from "./table.js";
|
|
3
|
-
export declare function alias<TTable extends SingleStoreTable, TAlias extends string>(// | SingleStoreViewBase
|
|
4
|
-
table: TTable, alias: TAlias): BuildAliasTable<TTable, TAlias>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/singlestore-core/alias.ts"],"sourcesContent":["import { TableAliasProxyHandler } from '~/alias.ts';\nimport type { BuildAliasTable } from './query-builders/select.types.ts';\nimport type { SingleStoreTable } from './table.ts';\n\nexport function alias<TTable extends SingleStoreTable, TAlias extends string>( // | SingleStoreViewBase\n\ttable: TTable,\n\talias: TAlias,\n): BuildAliasTable<TTable, TAlias> {\n\treturn new Proxy(table, new TableAliasProxyHandler(alias, false)) as any;\n}\n"],"mappings":"AAAA,SAAS,8BAA8B;AAIhC,SAAS,MACf,OACAA,QACkC;AAClC,SAAO,IAAI,MAAM,OAAO,IAAI,uBAAuBA,QAAO,KAAK,CAAC;AACjE;","names":["alias"]}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var all_exports = {};
|
|
20
|
-
__export(all_exports, {
|
|
21
|
-
getSingleStoreColumnBuilders: () => getSingleStoreColumnBuilders
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(all_exports);
|
|
24
|
-
var import_bigint = require("./bigint.cjs");
|
|
25
|
-
var import_binary = require("./binary.cjs");
|
|
26
|
-
var import_boolean = require("./boolean.cjs");
|
|
27
|
-
var import_char = require("./char.cjs");
|
|
28
|
-
var import_custom = require("./custom.cjs");
|
|
29
|
-
var import_date = require("./date.cjs");
|
|
30
|
-
var import_datetime = require("./datetime.cjs");
|
|
31
|
-
var import_decimal = require("./decimal.cjs");
|
|
32
|
-
var import_double = require("./double.cjs");
|
|
33
|
-
var import_enum = require("./enum.cjs");
|
|
34
|
-
var import_float = require("./float.cjs");
|
|
35
|
-
var import_int = require("./int.cjs");
|
|
36
|
-
var import_json = require("./json.cjs");
|
|
37
|
-
var import_mediumint = require("./mediumint.cjs");
|
|
38
|
-
var import_real = require("./real.cjs");
|
|
39
|
-
var import_serial = require("./serial.cjs");
|
|
40
|
-
var import_smallint = require("./smallint.cjs");
|
|
41
|
-
var import_text = require("./text.cjs");
|
|
42
|
-
var import_time = require("./time.cjs");
|
|
43
|
-
var import_timestamp = require("./timestamp.cjs");
|
|
44
|
-
var import_tinyint = require("./tinyint.cjs");
|
|
45
|
-
var import_varbinary = require("./varbinary.cjs");
|
|
46
|
-
var import_varchar = require("./varchar.cjs");
|
|
47
|
-
var import_year = require("./year.cjs");
|
|
48
|
-
function getSingleStoreColumnBuilders() {
|
|
49
|
-
return {
|
|
50
|
-
bigint: import_bigint.bigint,
|
|
51
|
-
binary: import_binary.binary,
|
|
52
|
-
boolean: import_boolean.boolean,
|
|
53
|
-
char: import_char.char,
|
|
54
|
-
customType: import_custom.customType,
|
|
55
|
-
date: import_date.date,
|
|
56
|
-
datetime: import_datetime.datetime,
|
|
57
|
-
decimal: import_decimal.decimal,
|
|
58
|
-
double: import_double.double,
|
|
59
|
-
singlestoreEnum: import_enum.singlestoreEnum,
|
|
60
|
-
float: import_float.float,
|
|
61
|
-
int: import_int.int,
|
|
62
|
-
json: import_json.json,
|
|
63
|
-
mediumint: import_mediumint.mediumint,
|
|
64
|
-
real: import_real.real,
|
|
65
|
-
serial: import_serial.serial,
|
|
66
|
-
smallint: import_smallint.smallint,
|
|
67
|
-
text: import_text.text,
|
|
68
|
-
time: import_time.time,
|
|
69
|
-
timestamp: import_timestamp.timestamp,
|
|
70
|
-
tinyint: import_tinyint.tinyint,
|
|
71
|
-
varbinary: import_varbinary.varbinary,
|
|
72
|
-
varchar: import_varchar.varchar,
|
|
73
|
-
year: import_year.year
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
77
|
-
0 && (module.exports = {
|
|
78
|
-
getSingleStoreColumnBuilders
|
|
79
|
-
});
|
|
80
|
-
//# sourceMappingURL=all.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/singlestore-core/columns/all.ts"],"sourcesContent":["import { bigint } from './bigint.ts';\nimport { binary } from './binary.ts';\nimport { boolean } from './boolean.ts';\nimport { char } from './char.ts';\nimport { customType } from './custom.ts';\nimport { date } from './date.ts';\nimport { datetime } from './datetime.ts';\nimport { decimal } from './decimal.ts';\nimport { double } from './double.ts';\nimport { singlestoreEnum } from './enum.ts';\nimport { float } from './float.ts';\nimport { int } from './int.ts';\nimport { json } from './json.ts';\nimport { mediumint } from './mediumint.ts';\nimport { real } from './real.ts';\nimport { serial } from './serial.ts';\nimport { smallint } from './smallint.ts';\nimport { text } from './text.ts';\nimport { time } from './time.ts';\nimport { timestamp } from './timestamp.ts';\nimport { tinyint } from './tinyint.ts';\nimport { varbinary } from './varbinary.ts';\nimport { varchar } from './varchar.ts';\nimport { year } from './year.ts';\n\nexport function getSingleStoreColumnBuilders() {\n\treturn {\n\t\tbigint,\n\t\tbinary,\n\t\tboolean,\n\t\tchar,\n\t\tcustomType,\n\t\tdate,\n\t\tdatetime,\n\t\tdecimal,\n\t\tdouble,\n\t\tsinglestoreEnum,\n\t\tfloat,\n\t\tint,\n\t\tjson,\n\t\tmediumint,\n\t\treal,\n\t\tserial,\n\t\tsmallint,\n\t\ttext,\n\t\ttime,\n\t\ttimestamp,\n\t\ttinyint,\n\t\tvarbinary,\n\t\tvarchar,\n\t\tyear,\n\t};\n}\n\nexport type SingleStoreColumnBuilders = ReturnType<typeof getSingleStoreColumnBuilders>;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAuB;AACvB,oBAAuB;AACvB,qBAAwB;AACxB,kBAAqB;AACrB,oBAA2B;AAC3B,kBAAqB;AACrB,sBAAyB;AACzB,qBAAwB;AACxB,oBAAuB;AACvB,kBAAgC;AAChC,mBAAsB;AACtB,iBAAoB;AACpB,kBAAqB;AACrB,uBAA0B;AAC1B,kBAAqB;AACrB,oBAAuB;AACvB,sBAAyB;AACzB,kBAAqB;AACrB,kBAAqB;AACrB,uBAA0B;AAC1B,qBAAwB;AACxB,uBAA0B;AAC1B,qBAAwB;AACxB,kBAAqB;AAEd,SAAS,+BAA+B;AAC9C,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACD;","names":[]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { bigint } from "./bigint.cjs";
|
|
2
|
-
import { binary } from "./binary.cjs";
|
|
3
|
-
import { boolean } from "./boolean.cjs";
|
|
4
|
-
import { char } from "./char.cjs";
|
|
5
|
-
import { customType } from "./custom.cjs";
|
|
6
|
-
import { date } from "./date.cjs";
|
|
7
|
-
import { datetime } from "./datetime.cjs";
|
|
8
|
-
import { decimal } from "./decimal.cjs";
|
|
9
|
-
import { double } from "./double.cjs";
|
|
10
|
-
import { singlestoreEnum } from "./enum.cjs";
|
|
11
|
-
import { float } from "./float.cjs";
|
|
12
|
-
import { int } from "./int.cjs";
|
|
13
|
-
import { json } from "./json.cjs";
|
|
14
|
-
import { mediumint } from "./mediumint.cjs";
|
|
15
|
-
import { real } from "./real.cjs";
|
|
16
|
-
import { serial } from "./serial.cjs";
|
|
17
|
-
import { smallint } from "./smallint.cjs";
|
|
18
|
-
import { text } from "./text.cjs";
|
|
19
|
-
import { time } from "./time.cjs";
|
|
20
|
-
import { timestamp } from "./timestamp.cjs";
|
|
21
|
-
import { tinyint } from "./tinyint.cjs";
|
|
22
|
-
import { varbinary } from "./varbinary.cjs";
|
|
23
|
-
import { varchar } from "./varchar.cjs";
|
|
24
|
-
import { year } from "./year.cjs";
|
|
25
|
-
export declare function getSingleStoreColumnBuilders(): {
|
|
26
|
-
bigint: typeof bigint;
|
|
27
|
-
binary: typeof binary;
|
|
28
|
-
boolean: typeof boolean;
|
|
29
|
-
char: typeof char;
|
|
30
|
-
customType: typeof customType;
|
|
31
|
-
date: typeof date;
|
|
32
|
-
datetime: typeof datetime;
|
|
33
|
-
decimal: typeof decimal;
|
|
34
|
-
double: typeof double;
|
|
35
|
-
singlestoreEnum: typeof singlestoreEnum;
|
|
36
|
-
float: typeof float;
|
|
37
|
-
int: typeof int;
|
|
38
|
-
json: typeof json;
|
|
39
|
-
mediumint: typeof mediumint;
|
|
40
|
-
real: typeof real;
|
|
41
|
-
serial: typeof serial;
|
|
42
|
-
smallint: typeof smallint;
|
|
43
|
-
text: typeof text;
|
|
44
|
-
time: typeof time;
|
|
45
|
-
timestamp: typeof timestamp;
|
|
46
|
-
tinyint: typeof tinyint;
|
|
47
|
-
varbinary: typeof varbinary;
|
|
48
|
-
varchar: typeof varchar;
|
|
49
|
-
year: typeof year;
|
|
50
|
-
};
|
|
51
|
-
export type SingleStoreColumnBuilders = ReturnType<typeof getSingleStoreColumnBuilders>;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { bigint } from "./bigint.js";
|
|
2
|
-
import { binary } from "./binary.js";
|
|
3
|
-
import { boolean } from "./boolean.js";
|
|
4
|
-
import { char } from "./char.js";
|
|
5
|
-
import { customType } from "./custom.js";
|
|
6
|
-
import { date } from "./date.js";
|
|
7
|
-
import { datetime } from "./datetime.js";
|
|
8
|
-
import { decimal } from "./decimal.js";
|
|
9
|
-
import { double } from "./double.js";
|
|
10
|
-
import { singlestoreEnum } from "./enum.js";
|
|
11
|
-
import { float } from "./float.js";
|
|
12
|
-
import { int } from "./int.js";
|
|
13
|
-
import { json } from "./json.js";
|
|
14
|
-
import { mediumint } from "./mediumint.js";
|
|
15
|
-
import { real } from "./real.js";
|
|
16
|
-
import { serial } from "./serial.js";
|
|
17
|
-
import { smallint } from "./smallint.js";
|
|
18
|
-
import { text } from "./text.js";
|
|
19
|
-
import { time } from "./time.js";
|
|
20
|
-
import { timestamp } from "./timestamp.js";
|
|
21
|
-
import { tinyint } from "./tinyint.js";
|
|
22
|
-
import { varbinary } from "./varbinary.js";
|
|
23
|
-
import { varchar } from "./varchar.js";
|
|
24
|
-
import { year } from "./year.js";
|
|
25
|
-
export declare function getSingleStoreColumnBuilders(): {
|
|
26
|
-
bigint: typeof bigint;
|
|
27
|
-
binary: typeof binary;
|
|
28
|
-
boolean: typeof boolean;
|
|
29
|
-
char: typeof char;
|
|
30
|
-
customType: typeof customType;
|
|
31
|
-
date: typeof date;
|
|
32
|
-
datetime: typeof datetime;
|
|
33
|
-
decimal: typeof decimal;
|
|
34
|
-
double: typeof double;
|
|
35
|
-
singlestoreEnum: typeof singlestoreEnum;
|
|
36
|
-
float: typeof float;
|
|
37
|
-
int: typeof int;
|
|
38
|
-
json: typeof json;
|
|
39
|
-
mediumint: typeof mediumint;
|
|
40
|
-
real: typeof real;
|
|
41
|
-
serial: typeof serial;
|
|
42
|
-
smallint: typeof smallint;
|
|
43
|
-
text: typeof text;
|
|
44
|
-
time: typeof time;
|
|
45
|
-
timestamp: typeof timestamp;
|
|
46
|
-
tinyint: typeof tinyint;
|
|
47
|
-
varbinary: typeof varbinary;
|
|
48
|
-
varchar: typeof varchar;
|
|
49
|
-
year: typeof year;
|
|
50
|
-
};
|
|
51
|
-
export type SingleStoreColumnBuilders = ReturnType<typeof getSingleStoreColumnBuilders>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { bigint } from "./bigint.js";
|
|
2
|
-
import { binary } from "./binary.js";
|
|
3
|
-
import { boolean } from "./boolean.js";
|
|
4
|
-
import { char } from "./char.js";
|
|
5
|
-
import { customType } from "./custom.js";
|
|
6
|
-
import { date } from "./date.js";
|
|
7
|
-
import { datetime } from "./datetime.js";
|
|
8
|
-
import { decimal } from "./decimal.js";
|
|
9
|
-
import { double } from "./double.js";
|
|
10
|
-
import { singlestoreEnum } from "./enum.js";
|
|
11
|
-
import { float } from "./float.js";
|
|
12
|
-
import { int } from "./int.js";
|
|
13
|
-
import { json } from "./json.js";
|
|
14
|
-
import { mediumint } from "./mediumint.js";
|
|
15
|
-
import { real } from "./real.js";
|
|
16
|
-
import { serial } from "./serial.js";
|
|
17
|
-
import { smallint } from "./smallint.js";
|
|
18
|
-
import { text } from "./text.js";
|
|
19
|
-
import { time } from "./time.js";
|
|
20
|
-
import { timestamp } from "./timestamp.js";
|
|
21
|
-
import { tinyint } from "./tinyint.js";
|
|
22
|
-
import { varbinary } from "./varbinary.js";
|
|
23
|
-
import { varchar } from "./varchar.js";
|
|
24
|
-
import { year } from "./year.js";
|
|
25
|
-
function getSingleStoreColumnBuilders() {
|
|
26
|
-
return {
|
|
27
|
-
bigint,
|
|
28
|
-
binary,
|
|
29
|
-
boolean,
|
|
30
|
-
char,
|
|
31
|
-
customType,
|
|
32
|
-
date,
|
|
33
|
-
datetime,
|
|
34
|
-
decimal,
|
|
35
|
-
double,
|
|
36
|
-
singlestoreEnum,
|
|
37
|
-
float,
|
|
38
|
-
int,
|
|
39
|
-
json,
|
|
40
|
-
mediumint,
|
|
41
|
-
real,
|
|
42
|
-
serial,
|
|
43
|
-
smallint,
|
|
44
|
-
text,
|
|
45
|
-
time,
|
|
46
|
-
timestamp,
|
|
47
|
-
tinyint,
|
|
48
|
-
varbinary,
|
|
49
|
-
varchar,
|
|
50
|
-
year
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
export {
|
|
54
|
-
getSingleStoreColumnBuilders
|
|
55
|
-
};
|
|
56
|
-
//# sourceMappingURL=all.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/singlestore-core/columns/all.ts"],"sourcesContent":["import { bigint } from './bigint.ts';\nimport { binary } from './binary.ts';\nimport { boolean } from './boolean.ts';\nimport { char } from './char.ts';\nimport { customType } from './custom.ts';\nimport { date } from './date.ts';\nimport { datetime } from './datetime.ts';\nimport { decimal } from './decimal.ts';\nimport { double } from './double.ts';\nimport { singlestoreEnum } from './enum.ts';\nimport { float } from './float.ts';\nimport { int } from './int.ts';\nimport { json } from './json.ts';\nimport { mediumint } from './mediumint.ts';\nimport { real } from './real.ts';\nimport { serial } from './serial.ts';\nimport { smallint } from './smallint.ts';\nimport { text } from './text.ts';\nimport { time } from './time.ts';\nimport { timestamp } from './timestamp.ts';\nimport { tinyint } from './tinyint.ts';\nimport { varbinary } from './varbinary.ts';\nimport { varchar } from './varchar.ts';\nimport { year } from './year.ts';\n\nexport function getSingleStoreColumnBuilders() {\n\treturn {\n\t\tbigint,\n\t\tbinary,\n\t\tboolean,\n\t\tchar,\n\t\tcustomType,\n\t\tdate,\n\t\tdatetime,\n\t\tdecimal,\n\t\tdouble,\n\t\tsinglestoreEnum,\n\t\tfloat,\n\t\tint,\n\t\tjson,\n\t\tmediumint,\n\t\treal,\n\t\tserial,\n\t\tsmallint,\n\t\ttext,\n\t\ttime,\n\t\ttimestamp,\n\t\ttinyint,\n\t\tvarbinary,\n\t\tvarchar,\n\t\tyear,\n\t};\n}\n\nexport type SingleStoreColumnBuilders = ReturnType<typeof getSingleStoreColumnBuilders>;\n"],"mappings":"AAAA,SAAS,cAAc;AACvB,SAAS,cAAc;AACvB,SAAS,eAAe;AACxB,SAAS,YAAY;AACrB,SAAS,kBAAkB;AAC3B,SAAS,YAAY;AACrB,SAAS,gBAAgB;AACzB,SAAS,eAAe;AACxB,SAAS,cAAc;AACvB,SAAS,uBAAuB;AAChC,SAAS,aAAa;AACtB,SAAS,WAAW;AACpB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AACrB,SAAS,cAAc;AACvB,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,eAAe;AACxB,SAAS,iBAAiB;AAC1B,SAAS,eAAe;AACxB,SAAS,YAAY;AAEd,SAAS,+BAA+B;AAC9C,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACD;","names":[]}
|