@prisma/orm-target-sqlite 8.0.0-rc.24-dev.1 → 8.0.0-rc.24-dev.2
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/dist/{adapter-DAyC9dXr.d.mts → adapter-BBdY4iCZ.d.mts} +6 -6
- package/dist/{adapter-DAyC9dXr.d.mts.map → adapter-BBdY4iCZ.d.mts.map} +1 -1
- package/dist/adapter.d.mts +1 -1
- package/dist/adapter__adapter.d.mts +1 -1
- package/dist/{aggregates-DNxUFwla.d.mts → aggregates-Bee9csBL.d.mts} +6 -6
- package/dist/{aggregates-DNxUFwla.d.mts.map → aggregates-Bee9csBL.d.mts.map} +1 -1
- package/dist/driver__runtime.mjs +30 -0
- package/dist/driver__runtime.mjs.map +1 -1
- package/dist/target.d.mts +1 -1
- package/dist/target__aggregates.d.mts +1 -1
- package/package.json +10 -10
|
@@ -66,7 +66,7 @@ declare const sqliteAdapterContractContributions: {
|
|
|
66
66
|
readonly operation: "sum";
|
|
67
67
|
readonly input: {
|
|
68
68
|
readonly kind: "codec";
|
|
69
|
-
readonly codecId: "sql/int@1" | "sqlite/
|
|
69
|
+
readonly codecId: "sql/int@1" | "sqlite/bigintnumber@1" | "sqlite/bigint@1" | "sqlite/integer@1";
|
|
70
70
|
};
|
|
71
71
|
readonly output: {
|
|
72
72
|
readonly kind: "codec";
|
|
@@ -77,7 +77,7 @@ declare const sqliteAdapterContractContributions: {
|
|
|
77
77
|
readonly operation: "sumBigInt";
|
|
78
78
|
readonly input: {
|
|
79
79
|
readonly kind: "codec";
|
|
80
|
-
readonly codecId: "sql/int@1" | "sqlite/
|
|
80
|
+
readonly codecId: "sql/int@1" | "sqlite/bigintnumber@1" | "sqlite/bigint@1" | "sqlite/integer@1";
|
|
81
81
|
};
|
|
82
82
|
readonly output: {
|
|
83
83
|
readonly kind: "codec";
|
|
@@ -102,7 +102,7 @@ declare const sqliteAdapterContractContributions: {
|
|
|
102
102
|
readonly operation: "avg";
|
|
103
103
|
readonly input: {
|
|
104
104
|
readonly kind: "codec";
|
|
105
|
-
readonly codecId: "sql/int@1" | "sql/float@1" | "sqlite/
|
|
105
|
+
readonly codecId: "sql/int@1" | "sql/float@1" | "sqlite/bigintnumber@1" | "sqlite/bigint@1" | "sqlite/integer@1" | "sqlite/real@1";
|
|
106
106
|
};
|
|
107
107
|
readonly output: {
|
|
108
108
|
readonly kind: "codec";
|
|
@@ -133,7 +133,7 @@ declare const sqliteAdapterContractContributions: {
|
|
|
133
133
|
readonly operation: "min";
|
|
134
134
|
readonly input: {
|
|
135
135
|
readonly kind: "codec";
|
|
136
|
-
readonly codecId: "sqlite/
|
|
136
|
+
readonly codecId: "sqlite/datetime@1" | "sqlite/datetime-temporal@1" | "sqlite/datetime-string@1" | "sqlite/date-string@1" | "sqlite/date-temporal@1" | "sqlite/time-string@1" | "sqlite/time-temporal@1" | "sqlite/json@1" | "sqlite/blob@1";
|
|
137
137
|
};
|
|
138
138
|
readonly output: {
|
|
139
139
|
readonly kind: "self";
|
|
@@ -174,7 +174,7 @@ declare const sqliteAdapterContractContributions: {
|
|
|
174
174
|
readonly operation: "max";
|
|
175
175
|
readonly input: {
|
|
176
176
|
readonly kind: "codec";
|
|
177
|
-
readonly codecId: "sqlite/
|
|
177
|
+
readonly codecId: "sqlite/datetime@1" | "sqlite/datetime-temporal@1" | "sqlite/datetime-string@1" | "sqlite/date-string@1" | "sqlite/date-temporal@1" | "sqlite/time-string@1" | "sqlite/time-temporal@1" | "sqlite/json@1" | "sqlite/blob@1";
|
|
178
178
|
};
|
|
179
179
|
readonly output: {
|
|
180
180
|
readonly kind: "self";
|
|
@@ -196,4 +196,4 @@ declare const sqliteAdapterContractContributions: {
|
|
|
196
196
|
};
|
|
197
197
|
//#endregion
|
|
198
198
|
export { sqliteAdapterContractContributions as n, sqliteAdapterCapabilities as t };
|
|
199
|
-
//# sourceMappingURL=adapter-
|
|
199
|
+
//# sourceMappingURL=adapter-BBdY4iCZ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-
|
|
1
|
+
{"version":3,"file":"adapter-BBdY4iCZ.d.mts","names":[],"sources":["../../../../3-targets/sqlite/2-adapter/dist/adapter.d.mts"],"mappings":";;;;cAGc,2BAA2B;WAC9B;aACE;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;aACA;;;;;;;;cAQC;WACH,cAAc;aACZ;eACE;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;eACA;;;WAGJ;aACE;eACE;eACA;iBACE;;eAEF;iBACE;iBACA;;eAEF;eACA;eACA,6EAA6E;;eAE7E;eACA;iBACE;;eAEF;iBACE;iBACA;;eAEF;eACA;eACA,6EAA6E;;eAE7E,8EAA8E;eAC9E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;eACA,6EAA6E;;eAE7E,8EAA8E;eAC9E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA,8EAA8E;eAC9E;eACA;iBACE;iBACA;;eAEF;iBACE;iBACA;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;eACA,6EAA6E;;eAE7E;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;;eAEA;eACA;iBACE;iBACA;;eAEF;iBACE;;eAEF;eACA,6EAA6E"}
|
package/dist/adapter.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as SqliteContract, r as SqliteLoweredStatement, t as SqliteAdapterOptions } from "./types-RJMd2PlL-BTGAJrBQ.mjs";
|
|
2
2
|
import { b as createSqliteBuiltinCodecLookup, o as SqliteCodecRegistry, t as JsonValue$1, x as createSqliteCodecRegistryWithBuiltins } from "./codecs-A0DbaZRE-CMyLhO_K.mjs";
|
|
3
3
|
import { i as sqliteRawCodecInferer, r as renderLoweredSql, t as createSqliteAdapter } from "./adapter-xFPDhkod-DB6XDGgl.mjs";
|
|
4
|
-
import { n as sqliteAdapterContractContributions, t as sqliteAdapterCapabilities } from "./adapter-
|
|
4
|
+
import { n as sqliteAdapterContractContributions, t as sqliteAdapterCapabilities } from "./adapter-BBdY4iCZ.mjs";
|
|
5
5
|
import { t as CodecTypes } from "./codec-types-CGtSWeZ5-B5RH39BA.mjs";
|
|
6
6
|
import "./codec-types-Dx9dQe-Y.mjs";
|
|
7
7
|
import { a as jsonColumn, c as textColumn, i as integerColumn, n as blobColumn, o as rawColumn, r as datetimeColumn, s as realColumn, t as bigintColumn } from "./column-types-bTPNfz46.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as SqliteAdapterOptions } from "./types-RJMd2PlL-BTGAJrBQ.mjs";
|
|
2
2
|
import { i as sqliteRawCodecInferer, t as createSqliteAdapter } from "./adapter-xFPDhkod-DB6XDGgl.mjs";
|
|
3
|
-
import { n as sqliteAdapterContractContributions, t as sqliteAdapterCapabilities } from "./adapter-
|
|
3
|
+
import { n as sqliteAdapterContractContributions, t as sqliteAdapterCapabilities } from "./adapter-BBdY4iCZ.mjs";
|
|
4
4
|
export { type SqliteAdapterOptions, createSqliteAdapter, sqliteAdapterCapabilities, sqliteAdapterContractContributions, sqliteRawCodecInferer };
|
|
@@ -33,7 +33,7 @@ declare const sqliteAggregateDescriptors: readonly [{
|
|
|
33
33
|
readonly operation: "sum";
|
|
34
34
|
readonly input: {
|
|
35
35
|
readonly kind: "codec";
|
|
36
|
-
readonly codecId: "sql/int@1" | "sqlite/
|
|
36
|
+
readonly codecId: "sql/int@1" | "sqlite/bigintnumber@1" | "sqlite/bigint@1" | "sqlite/integer@1";
|
|
37
37
|
};
|
|
38
38
|
readonly output: {
|
|
39
39
|
readonly kind: "codec";
|
|
@@ -44,7 +44,7 @@ declare const sqliteAggregateDescriptors: readonly [{
|
|
|
44
44
|
readonly operation: "sumBigInt";
|
|
45
45
|
readonly input: {
|
|
46
46
|
readonly kind: "codec";
|
|
47
|
-
readonly codecId: "sql/int@1" | "sqlite/
|
|
47
|
+
readonly codecId: "sql/int@1" | "sqlite/bigintnumber@1" | "sqlite/bigint@1" | "sqlite/integer@1";
|
|
48
48
|
};
|
|
49
49
|
readonly output: {
|
|
50
50
|
readonly kind: "codec";
|
|
@@ -69,7 +69,7 @@ declare const sqliteAggregateDescriptors: readonly [{
|
|
|
69
69
|
readonly operation: "avg";
|
|
70
70
|
readonly input: {
|
|
71
71
|
readonly kind: "codec";
|
|
72
|
-
readonly codecId: "sql/int@1" | "sql/float@1" | "sqlite/
|
|
72
|
+
readonly codecId: "sql/int@1" | "sql/float@1" | "sqlite/bigintnumber@1" | "sqlite/bigint@1" | "sqlite/integer@1" | "sqlite/real@1";
|
|
73
73
|
};
|
|
74
74
|
readonly output: {
|
|
75
75
|
readonly kind: "codec";
|
|
@@ -100,7 +100,7 @@ declare const sqliteAggregateDescriptors: readonly [{
|
|
|
100
100
|
readonly operation: "min";
|
|
101
101
|
readonly input: {
|
|
102
102
|
readonly kind: "codec";
|
|
103
|
-
readonly codecId: "sqlite/
|
|
103
|
+
readonly codecId: "sqlite/datetime@1" | "sqlite/datetime-temporal@1" | "sqlite/datetime-string@1" | "sqlite/date-string@1" | "sqlite/date-temporal@1" | "sqlite/time-string@1" | "sqlite/time-temporal@1" | "sqlite/json@1" | "sqlite/blob@1";
|
|
104
104
|
};
|
|
105
105
|
readonly output: {
|
|
106
106
|
readonly kind: "self";
|
|
@@ -141,7 +141,7 @@ declare const sqliteAggregateDescriptors: readonly [{
|
|
|
141
141
|
readonly operation: "max";
|
|
142
142
|
readonly input: {
|
|
143
143
|
readonly kind: "codec";
|
|
144
|
-
readonly codecId: "sqlite/
|
|
144
|
+
readonly codecId: "sqlite/datetime@1" | "sqlite/datetime-temporal@1" | "sqlite/datetime-string@1" | "sqlite/date-string@1" | "sqlite/date-temporal@1" | "sqlite/time-string@1" | "sqlite/time-temporal@1" | "sqlite/json@1" | "sqlite/blob@1";
|
|
145
145
|
};
|
|
146
146
|
readonly output: {
|
|
147
147
|
readonly kind: "self";
|
|
@@ -161,4 +161,4 @@ declare const sqliteAggregateDescriptors: readonly [{
|
|
|
161
161
|
}];
|
|
162
162
|
//#endregion
|
|
163
163
|
export { sqliteAggregateDescriptors as t };
|
|
164
|
-
//# sourceMappingURL=aggregates-
|
|
164
|
+
//# sourceMappingURL=aggregates-Bee9csBL.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregates-
|
|
1
|
+
{"version":3,"file":"aggregates-Bee9csBL.d.mts","names":[],"sources":["../../../../3-targets/sqlite/1-target/dist/aggregates.d.mts"],"mappings":";;;;;;cAKc;WACH;WACA;aACE;;WAEF;aACE;aACA;;WAEF;WACA;WACA,OAAO;;WAEP;WACA;aACE;;WAEF;aACE;aACA;;WAEF;WACA;WACA,OAAO;;WAEP,QAAQ;WACR;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;WACA,OAAO;;WAEP,QAAQ;WACR;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA,QAAQ;WACR;WACA;aACE;aACA;;WAEF;aACE;aACA;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;WACA,OAAO;;WAEP;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;;WAEA;WACA;aACE;aACA;;WAEF;aACE;;WAEF;WACA,OAAO"}
|
package/dist/driver__runtime.mjs
CHANGED
|
@@ -101,7 +101,37 @@ var SqliteTransactionImpl = class extends SqliteQueryable {
|
|
|
101
101
|
throw normalizeSqliteError(error, wasClosedByDriver(this.db));
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
async savepoint(name) {
|
|
105
|
+
return openSqliteSavepoint(this.db, name);
|
|
106
|
+
}
|
|
104
107
|
};
|
|
108
|
+
var SqliteSavepointImpl = class extends SqliteQueryable {
|
|
109
|
+
name;
|
|
110
|
+
constructor(db, name) {
|
|
111
|
+
super(db);
|
|
112
|
+
this.name = name;
|
|
113
|
+
}
|
|
114
|
+
async commit() {
|
|
115
|
+
execSavepointStatement(this.db, `RELEASE SAVEPOINT ${this.name}`);
|
|
116
|
+
}
|
|
117
|
+
async rollback() {
|
|
118
|
+
execSavepointStatement(this.db, `ROLLBACK TO SAVEPOINT ${this.name}`);
|
|
119
|
+
}
|
|
120
|
+
async savepoint(name) {
|
|
121
|
+
return openSqliteSavepoint(this.db, name);
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
function execSavepointStatement(db, sql) {
|
|
125
|
+
try {
|
|
126
|
+
db.exec(sql);
|
|
127
|
+
} catch (error) {
|
|
128
|
+
throw normalizeSqliteError(error, wasClosedByDriver(db));
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function openSqliteSavepoint(db, name) {
|
|
132
|
+
execSavepointStatement(db, `SAVEPOINT ${name}`);
|
|
133
|
+
return new SqliteSavepointImpl(db, name);
|
|
134
|
+
}
|
|
105
135
|
function unboundQuery() {
|
|
106
136
|
return { [Symbol.asyncIterator]() {
|
|
107
137
|
return { async next() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver__runtime.mjs","names":["#state","#requireConnected"],"sources":["../../../../3-targets/sqlite/3-driver/dist/runtime.mjs"],"sourcesContent":["import { a as wasClosedByDriver, i as closeDatabase, n as sqliteParams, r as normalizeSqliteError, t as sqliteDriverDescriptorMeta } from \"./descriptor-meta-Drr6Abaf.mjs\";\nimport { DatabaseSync } from \"node:sqlite\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { validateSqliteIsolationLevel } from \"@internal/target-sqlite/runtime\";\nimport { InternalError } from \"@internal/utils/internal-error\";\n//#region src/sqlite-driver.ts\nfunction driverError(code, message, details) {\n\tconst error = new Error(message);\n\tObject.defineProperty(error, \"name\", {\n\t\tvalue: \"RuntimeError\",\n\t\tconfigurable: true\n\t});\n\treturn Object.assign(error, {\n\t\tcode,\n\t\tcategory: \"DRIVER\",\n\t\tseverity: \"error\",\n\t\tmessage,\n\t\tdetails\n\t});\n}\nconst NOT_CONNECTED_MESSAGE = \"SQLite driver not connected. Call connect(binding) before acquireConnection or execute.\";\nconst ALREADY_CONNECTED_MESSAGE = \"SQLite driver already connected. Call close() before reconnecting with a new binding.\";\nfunction openConnection(path) {\n\ttry {\n\t\tconst db = new DatabaseSync(path);\n\t\tdb.exec(\"PRAGMA foreign_keys = ON\");\n\t\tdb.exec(\"PRAGMA busy_timeout = 5000\");\n\t\treturn db;\n\t} catch (error) {\n\t\tthrow normalizeSqliteError(error, false);\n\t}\n}\nvar SqliteQueryable = class {\n\tdb;\n\tconstructor(db) {\n\t\tthis.db = db;\n\t}\n\tasync *query(request) {\n\t\ttry {\n\t\t\tconst stmt = this.db.prepare(request.sql);\n\t\t\tfor (const row of stmt.iterate(...sqliteParams(request.params))) yield blindCast(row);\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync execute(request) {\n\t\ttry {\n\t\t\tconst stmt = this.db.prepare(request.sql);\n\t\t\tif (stmt.columns().length !== 0) throw new InternalError(\"SQLite cannot execute statements that return rows.\");\n\t\t\tconst { changes, lastInsertRowid } = stmt.run(...sqliteParams(request.params));\n\t\t\tconst affectedRows = Number(changes);\n\t\t\treturn affectedRows === 1 ? {\n\t\t\t\taffectedRows,\n\t\t\t\tinsertId: String(lastInsertRowid)\n\t\t\t} : { affectedRows };\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync explain(request) {\n\t\ttry {\n\t\t\treturn { rows: this.db.prepare(`EXPLAIN QUERY PLAN ${request.sql}`).all(...sqliteParams(request.params)) };\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n};\nvar SqliteConnectionImpl = class extends SqliteQueryable {\n\tasync beginTransaction(start) {\n\t\tif (start?.isolationLevel !== void 0) validateSqliteIsolationLevel(start.isolationLevel);\n\t\ttry {\n\t\t\tthis.db.exec(\"BEGIN\");\n\t\t\treturn new SqliteTransactionImpl(this.db);\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync release() {\n\t\treturn this.destroy();\n\t}\n\tasync destroy(_reason) {\n\t\ttry {\n\t\t\tcloseDatabase(this.db);\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n};\nvar SqliteTransactionImpl = class extends SqliteQueryable {\n\tasync commit() {\n\t\ttry {\n\t\t\tthis.db.exec(\"COMMIT\");\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync rollback() {\n\t\ttry {\n\t\t\tthis.db.exec(\"ROLLBACK\");\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n};\nfunction unboundQuery() {\n\treturn { [Symbol.asyncIterator]() {\n\t\treturn { async next() {\n\t\t\tthrow driverError(\"DRIVER.NOT_CONNECTED\", NOT_CONNECTED_MESSAGE);\n\t\t} };\n\t} };\n}\nvar SqliteDriver = class {\n\tfamilyId = \"sql\";\n\ttargetId = \"sqlite\";\n\t#state;\n\tconstructor(initialState) {\n\t\tthis.#state = initialState ?? { kind: \"unbound\" };\n\t}\n\t#requireConnected() {\n\t\tif (this.#state.kind !== \"connected\") throw driverError(\"DRIVER.NOT_CONNECTED\", NOT_CONNECTED_MESSAGE);\n\t\treturn this.#state;\n\t}\n\tget state() {\n\t\treturn this.#state.kind;\n\t}\n\tasync connect(binding) {\n\t\tif (this.#state.kind === \"connected\") throw driverError(\"DRIVER.ALREADY_CONNECTED\", ALREADY_CONNECTED_MESSAGE, { bindingKind: binding.kind });\n\t\tthis.#state = {\n\t\t\tkind: \"connected\",\n\t\t\tpath: binding.path,\n\t\t\tconn: new SqliteConnectionImpl(openConnection(binding.path))\n\t\t};\n\t}\n\tasync acquireConnection() {\n\t\tconst { path } = this.#requireConnected();\n\t\treturn new SqliteConnectionImpl(openConnection(path));\n\t}\n\tasync close() {\n\t\tif (this.#state.kind !== \"connected\") return;\n\t\tconst { conn } = this.#state;\n\t\tthis.#state = { kind: \"closed\" };\n\t\tawait conn.release();\n\t}\n\tquery(request) {\n\t\tif (this.#state.kind !== \"connected\") return unboundQuery();\n\t\treturn this.#state.conn.query(request);\n\t}\n\tasync execute(request) {\n\t\treturn this.#requireConnected().conn.execute(request);\n\t}\n\tasync explain(request) {\n\t\treturn this.#requireConnected().conn.explain(request);\n\t}\n};\n//#endregion\n//#region src/core/runtime/runtime-driver.ts\nconst sqliteRuntimeDriverDescriptor = {\n\t...sqliteDriverDescriptorMeta,\n\tcreate() {\n\t\treturn new SqliteDriver();\n\t}\n};\n//#endregion\nexport { sqliteRuntimeDriverDescriptor as default };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;;AAMA,SAAS,YAAY,MAAM,SAAS,SAAS;CAC5C,MAAM,QAAQ,IAAI,MAAM,OAAO;CAC/B,OAAO,eAAe,OAAO,QAAQ;EACpC,OAAO;EACP,cAAc;C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,qBAAqB;EACrG,OAAO,KAAKA;CACb;CACA,IAAI,QAAQ;EACX,OAAO,KAAKA,OAAO;CACpB;CACA,MAAM,QAAQ,SAAS;EACtB,IAAI,KAAKA,OAAO,SAAS,aAAa,MAAM,YAAY,4BAA4B,2BAA2B,EAAE,aAAa,QAAQ,KAAK,CAAC;EAC5I,KAAKA,SAAS;GACb,MAAM;GACN,MAAM,QAAQ;GACd,MAAM,IAAI,qBAAqB,eAAe,QAAQ,IAAI,CAAC;EAC5D;CACD;CACA,MAAM,oBAAoB;EACzB,MAAM,EAAE,SAAS,KAAKC,kBAAkB;EACxC,OAAO,IAAI,qBAAqB,eAAe,IAAI,CAAC;CACrD;CACA,MAAM,QAAQ;EACb,IAAI,KAAKD,OAAO,SAAS,aAAa;EACtC,MAAM,EAAE,SAAS,KAAKA;EACtB,KAAKA,SAAS,EAAE,MAAM,SAAS;EAC/B,MAAM,KAAK,QAAQ;CACpB;CACA,MAAM,SAAS;EACd,IAAI,KAAKA,OAAO,SAAS,aAAa,OAAO,aAAa;EAC1D,OAAO,KAAKA,OAAO,KAAK,MAAM,OAAO;CACtC;CACA,MAAM,QAAQ,SAAS;EACtB,OAAO,KAAKC,kBAAkB,CAAC,CAAC,KAAK,QAAQ,OAAO;CACrD;CACA,MAAM,QAAQ,SAAS;EACtB,OAAO,KAAKA,kBAAkB,CAAC,CAAC,KAAK,QAAQ,OAAO;CACrD;AACD;AAGA,MAAM,gCAAgC;CACrC,GAAG;CACH,SAAS;EACR,OAAO,IAAI,aAAa;CACzB;AACD"}
|
|
1
|
+
{"version":3,"file":"driver__runtime.mjs","names":["#state","#requireConnected"],"sources":["../../../../3-targets/sqlite/3-driver/dist/runtime.mjs"],"sourcesContent":["import { a as wasClosedByDriver, i as closeDatabase, n as sqliteParams, r as normalizeSqliteError, t as sqliteDriverDescriptorMeta } from \"./descriptor-meta-Drr6Abaf.mjs\";\nimport { DatabaseSync } from \"node:sqlite\";\nimport { blindCast } from \"@internal/utils/casts\";\nimport { validateSqliteIsolationLevel } from \"@internal/target-sqlite/runtime\";\nimport { InternalError } from \"@internal/utils/internal-error\";\n//#region src/sqlite-driver.ts\nfunction driverError(code, message, details) {\n\tconst error = new Error(message);\n\tObject.defineProperty(error, \"name\", {\n\t\tvalue: \"RuntimeError\",\n\t\tconfigurable: true\n\t});\n\treturn Object.assign(error, {\n\t\tcode,\n\t\tcategory: \"DRIVER\",\n\t\tseverity: \"error\",\n\t\tmessage,\n\t\tdetails\n\t});\n}\nconst NOT_CONNECTED_MESSAGE = \"SQLite driver not connected. Call connect(binding) before acquireConnection or execute.\";\nconst ALREADY_CONNECTED_MESSAGE = \"SQLite driver already connected. Call close() before reconnecting with a new binding.\";\nfunction openConnection(path) {\n\ttry {\n\t\tconst db = new DatabaseSync(path);\n\t\tdb.exec(\"PRAGMA foreign_keys = ON\");\n\t\tdb.exec(\"PRAGMA busy_timeout = 5000\");\n\t\treturn db;\n\t} catch (error) {\n\t\tthrow normalizeSqliteError(error, false);\n\t}\n}\nvar SqliteQueryable = class {\n\tdb;\n\tconstructor(db) {\n\t\tthis.db = db;\n\t}\n\tasync *query(request) {\n\t\ttry {\n\t\t\tconst stmt = this.db.prepare(request.sql);\n\t\t\tfor (const row of stmt.iterate(...sqliteParams(request.params))) yield blindCast(row);\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync execute(request) {\n\t\ttry {\n\t\t\tconst stmt = this.db.prepare(request.sql);\n\t\t\tif (stmt.columns().length !== 0) throw new InternalError(\"SQLite cannot execute statements that return rows.\");\n\t\t\tconst { changes, lastInsertRowid } = stmt.run(...sqliteParams(request.params));\n\t\t\tconst affectedRows = Number(changes);\n\t\t\treturn affectedRows === 1 ? {\n\t\t\t\taffectedRows,\n\t\t\t\tinsertId: String(lastInsertRowid)\n\t\t\t} : { affectedRows };\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync explain(request) {\n\t\ttry {\n\t\t\treturn { rows: this.db.prepare(`EXPLAIN QUERY PLAN ${request.sql}`).all(...sqliteParams(request.params)) };\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n};\nvar SqliteConnectionImpl = class extends SqliteQueryable {\n\tasync beginTransaction(start) {\n\t\tif (start?.isolationLevel !== void 0) validateSqliteIsolationLevel(start.isolationLevel);\n\t\ttry {\n\t\t\tthis.db.exec(\"BEGIN\");\n\t\t\treturn new SqliteTransactionImpl(this.db);\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync release() {\n\t\treturn this.destroy();\n\t}\n\tasync destroy(_reason) {\n\t\ttry {\n\t\t\tcloseDatabase(this.db);\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n};\nvar SqliteTransactionImpl = class extends SqliteQueryable {\n\tasync commit() {\n\t\ttry {\n\t\t\tthis.db.exec(\"COMMIT\");\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync rollback() {\n\t\ttry {\n\t\t\tthis.db.exec(\"ROLLBACK\");\n\t\t} catch (error) {\n\t\t\tthrow normalizeSqliteError(error, wasClosedByDriver(this.db));\n\t\t}\n\t}\n\tasync savepoint(name) {\n\t\treturn openSqliteSavepoint(this.db, name);\n\t}\n};\nvar SqliteSavepointImpl = class extends SqliteQueryable {\n\tname;\n\tconstructor(db, name) {\n\t\tsuper(db);\n\t\tthis.name = name;\n\t}\n\tasync commit() {\n\t\texecSavepointStatement(this.db, `RELEASE SAVEPOINT ${this.name}`);\n\t}\n\tasync rollback() {\n\t\texecSavepointStatement(this.db, `ROLLBACK TO SAVEPOINT ${this.name}`);\n\t}\n\tasync savepoint(name) {\n\t\treturn openSqliteSavepoint(this.db, name);\n\t}\n};\nfunction execSavepointStatement(db, sql) {\n\ttry {\n\t\tdb.exec(sql);\n\t} catch (error) {\n\t\tthrow normalizeSqliteError(error, wasClosedByDriver(db));\n\t}\n}\nfunction openSqliteSavepoint(db, name) {\n\texecSavepointStatement(db, `SAVEPOINT ${name}`);\n\treturn new SqliteSavepointImpl(db, name);\n}\nfunction unboundQuery() {\n\treturn { [Symbol.asyncIterator]() {\n\t\treturn { async next() {\n\t\t\tthrow driverError(\"DRIVER.NOT_CONNECTED\", NOT_CONNECTED_MESSAGE);\n\t\t} };\n\t} };\n}\nvar SqliteDriver = class {\n\tfamilyId = \"sql\";\n\ttargetId = \"sqlite\";\n\t#state;\n\tconstructor(initialState) {\n\t\tthis.#state = initialState ?? { kind: \"unbound\" };\n\t}\n\t#requireConnected() {\n\t\tif (this.#state.kind !== \"connected\") throw driverError(\"DRIVER.NOT_CONNECTED\", NOT_CONNECTED_MESSAGE);\n\t\treturn this.#state;\n\t}\n\tget state() {\n\t\treturn this.#state.kind;\n\t}\n\tasync connect(binding) {\n\t\tif (this.#state.kind === \"connected\") throw driverError(\"DRIVER.ALREADY_CONNECTED\", ALREADY_CONNECTED_MESSAGE, { bindingKind: binding.kind });\n\t\tthis.#state = {\n\t\t\tkind: \"connected\",\n\t\t\tpath: binding.path,\n\t\t\tconn: new SqliteConnectionImpl(openConnection(binding.path))\n\t\t};\n\t}\n\tasync acquireConnection() {\n\t\tconst { path } = this.#requireConnected();\n\t\treturn new SqliteConnectionImpl(openConnection(path));\n\t}\n\tasync close() {\n\t\tif (this.#state.kind !== \"connected\") return;\n\t\tconst { conn } = this.#state;\n\t\tthis.#state = { kind: \"closed\" };\n\t\tawait conn.release();\n\t}\n\tquery(request) {\n\t\tif (this.#state.kind !== \"connected\") return unboundQuery();\n\t\treturn this.#state.conn.query(request);\n\t}\n\tasync execute(request) {\n\t\treturn this.#requireConnected().conn.execute(request);\n\t}\n\tasync explain(request) {\n\t\treturn this.#requireConnected().conn.explain(request);\n\t}\n};\n//#endregion\n//#region src/core/runtime/runtime-driver.ts\nconst sqliteRuntimeDriverDescriptor = {\n\t...sqliteDriverDescriptorMeta,\n\tcreate() {\n\t\treturn new SqliteDriver();\n\t}\n};\n//#endregion\nexport { sqliteRuntimeDriverDescriptor as default };\n\n//# sourceMappingURL=runtime.mjs.map"],"mappings":";;;;;;AAMA,SAAS,YAAY,MAAM,SAAS,SAAS;CAC5C,MAAM,QAAQ,IAAI,MAAM,OAAO;CAC/B,OAAO,eAAe,OAAO,QAAQ;EACpC,OAAO;EACP,cAAc;CACf,CAAC;CACD,OAAO,OAAO,OAAO,OAAO;EAC3B;EACA,UAAU;EACV,UAAU;EACV;EACA;CACD,CAAC;AACF;AACA,MAAM,wBAAwB;AAC9B,MAAM,4BAA4B;AAClC,SAAS,eAAe,MAAM;CAC7B,IAAI;EACH,MAAM,KAAK,IAAI,aAAa,IAAI;EAChC,GAAG,KAAK,0BAA0B;EAClC,GAAG,KAAK,4BAA4B;EACpC,OAAO;CACR,SAAS,OAAO;EACf,MAAM,qBAAqB,OAAO,KAAK;CACxC;AACD;AACA,IAAI,kBAAkB,MAAM;CAC3B;CACA,YAAY,IAAI;EACf,KAAK,KAAK;CACX;CACA,OAAO,MAAM,SAAS;EACrB,IAAI;GACH,MAAM,OAAO,KAAK,GAAG,QAAQ,QAAQ,GAAG;GACxC,KAAK,MAAM,OAAO,KAAK,QAAQ,GAAG,aAAa,QAAQ,MAAM,CAAC,GAAG,MAAM,UAAU,GAAG;EACrF,SAAS,OAAO;GACf,MAAM,qBAAqB,OAAO,kBAAkB,KAAK,EAAE,CAAC;EAC7D;CACD;CACA,MAAM,QAAQ,SAAS;EACtB,IAAI;GACH,MAAM,OAAO,KAAK,GAAG,QAAQ,QAAQ,GAAG;GACxC,IAAI,KAAK,QAAQ,CAAC,CAAC,WAAW,GAAG,MAAM,IAAI,cAAc,oDAAoD;GAC7G,MAAM,EAAE,SAAS,oBAAoB,KAAK,IAAI,GAAG,aAAa,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AQ;GACd,MAAM,IAAI,qBAAqB,eAAe,QAAQ,IAAI,CAAC;EAC5D;CACD;CACA,MAAM,oBAAoB;EACzB,MAAM,EAAE,SAAS,KAAKC,kBAAkB;EACxC,OAAO,IAAI,qBAAqB,eAAe,IAAI,CAAC;CACrD;CACA,MAAM,QAAQ;EACb,IAAI,KAAKD,OAAO,SAAS,aAAa;EACtC,MAAM,EAAE,SAAS,KAAKA;EACtB,KAAKA,SAAS,EAAE,MAAM,SAAS;EAC/B,MAAM,KAAK,QAAQ;CACpB;CACA,MAAM,SAAS;EACd,IAAI,KAAKA,OAAO,SAAS,aAAa,OAAO,aAAa;EAC1D,OAAO,KAAKA,OAAO,KAAK,MAAM,OAAO;CACtC;CACA,MAAM,QAAQ,SAAS;EACtB,OAAO,KAAKC,kBAAkB,CAAC,CAAC,KAAK,QAAQ,OAAO;CACrD;CACA,MAAM,QAAQ,SAAS;EACtB,OAAO,KAAKA,kBAAkB,CAAC,CAAC,KAAK,QAAQ,OAAO;CACrD;AACD;AAGA,MAAM,gCAAgC;CACrC,GAAG;CACH,SAAS;EACR,OAAO,IAAI,aAAa;CACzB;AACD"}
|
package/dist/target.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ import "./codec-types-IproBv-Q.mjs";
|
|
|
10
10
|
import "./codec-ids-9Fs9p6ST.mjs";
|
|
11
11
|
import { n as quoteIdentifier, t as escapeLiteral } from "./sql-utils-BqHka8P6.mjs";
|
|
12
12
|
import { n as readSqliteDefault, r as sqliteResolveDefault, t as SqliteReportedDefault } from "./default-normalizer-CtNsZNRZ.mjs";
|
|
13
|
-
import { t as sqliteAggregateDescriptors } from "./aggregates-
|
|
13
|
+
import { t as sqliteAggregateDescriptors } from "./aggregates-Bee9csBL.mjs";
|
|
14
14
|
import { a as buildSignMarkerBootstrapQueries, c as datetime, d as jsonText, f as sqliteTable, i as buildControlTableBootstrapQueries, l as indexExistsAst, m as text, n as IndexExistsCheckBuilder, o as columnExistsAst, p as tableExistsAst, r as TableExistsCheckBuilder, s as createTable, t as ColumnExistsCheckBuilder, u as integer } from "./contract-free-IqKgq8Pk.mjs";
|
|
15
15
|
import { n as buildTargetDetails, t as SqlitePlanTargetDetails } from "./planner-target-details-B-qtfkmj-DIGpv7YQ.mjs";
|
|
16
16
|
import { n as sqliteScalarTypeConstructors } from "./control-DGa_C2q6.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as sqliteAggregateDescriptors } from "./aggregates-
|
|
1
|
+
import { t as sqliteAggregateDescriptors } from "./aggregates-Bee9csBL.mjs";
|
|
2
2
|
export { sqliteAggregateDescriptors };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-target-sqlite",
|
|
3
|
-
"version": "8.0.0-rc.24-dev.
|
|
3
|
+
"version": "8.0.0-rc.24-dev.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@prisma/orm-family-sql": "8.0.0-rc.24-dev.
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.24-dev.
|
|
14
|
-
"@prisma/orm-toolchain": "8.0.0-rc.24-dev.
|
|
12
|
+
"@prisma/orm-family-sql": "8.0.0-rc.24-dev.2",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.24-dev.2",
|
|
14
|
+
"@prisma/orm-toolchain": "8.0.0-rc.24-dev.2",
|
|
15
15
|
"@standard-schema/spec": "1.1.0",
|
|
16
16
|
"arktype": "^2.2.2",
|
|
17
17
|
"pathe": "^2.0.3",
|
|
18
18
|
"temporal-spec": "1.0.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@internal/adapter-sqlite": "8.0.0-rc.24-dev.
|
|
22
|
-
"@internal/driver-sqlite": "8.0.0-rc.24-dev.
|
|
23
|
-
"@internal/target-sqlite": "8.0.0-rc.24-dev.
|
|
24
|
-
"@repo/test-utils": "8.0.0-rc.24-dev.
|
|
25
|
-
"@repo/tsconfig": "8.0.0-rc.24-dev.
|
|
26
|
-
"@repo/tsdown": "8.0.0-rc.24-dev.
|
|
21
|
+
"@internal/adapter-sqlite": "8.0.0-rc.24-dev.2",
|
|
22
|
+
"@internal/driver-sqlite": "8.0.0-rc.24-dev.2",
|
|
23
|
+
"@internal/target-sqlite": "8.0.0-rc.24-dev.2",
|
|
24
|
+
"@repo/test-utils": "8.0.0-rc.24-dev.2",
|
|
25
|
+
"@repo/tsconfig": "8.0.0-rc.24-dev.2",
|
|
26
|
+
"@repo/tsdown": "8.0.0-rc.24-dev.2",
|
|
27
27
|
"tsdown": "0.22.14",
|
|
28
28
|
"typescript": "5.9.3",
|
|
29
29
|
"vitest": "5.0.0-rc.2"
|