@mikro-orm/libsql 7.0.0-dev.105 → 7.0.0-dev.106
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/LibSqlConnection.d.ts +2 -1
- package/LibSqlConnection.js +3 -4
- package/package.json +3 -3
package/LibSqlConnection.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ import { LibSqlDialect } from './LibSqlDialect.js';
|
|
|
4
4
|
export declare class LibSqlConnection extends BaseSqliteConnection {
|
|
5
5
|
private database;
|
|
6
6
|
createKyselyDialect(options: Dictionary & Options): LibSqlDialect;
|
|
7
|
-
|
|
7
|
+
/** @inheritDoc */
|
|
8
|
+
executeDump(source: string): Promise<void>;
|
|
8
9
|
}
|
package/LibSqlConnection.js
CHANGED
|
@@ -13,10 +13,9 @@ export class LibSqlConnection extends BaseSqliteConnection {
|
|
|
13
13
|
onCreateConnection: this.options.onCreateConnection ?? this.config.get('onCreateConnection'),
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
async
|
|
16
|
+
/** @inheritDoc */
|
|
17
|
+
async executeDump(source) {
|
|
18
18
|
await this.ensureConnection();
|
|
19
|
-
|
|
20
|
-
this.database.exec((await readFile(path)).toString());
|
|
19
|
+
this.database.exec(source);
|
|
21
20
|
}
|
|
22
21
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/libsql",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-dev.
|
|
4
|
+
"version": "7.0.0-dev.106",
|
|
5
5
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./package.json": "./package.json",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@mikro-orm/sql": "7.0.0-dev.
|
|
53
|
+
"@mikro-orm/sql": "7.0.0-dev.106",
|
|
54
54
|
"kysely": "0.28.9",
|
|
55
55
|
"libsql": "0.5.22",
|
|
56
56
|
"sqlstring-sqlite": "0.1.1"
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"@mikro-orm/core": "^6.6.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@mikro-orm/core": "7.0.0-dev.
|
|
62
|
+
"@mikro-orm/core": "7.0.0-dev.106"
|
|
63
63
|
}
|
|
64
64
|
}
|