@mikro-orm/core 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.
|
@@ -43,9 +43,10 @@ export declare abstract class Connection {
|
|
|
43
43
|
*/
|
|
44
44
|
ensureConnection(): Promise<void>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Execute raw SQL queries, handy from running schema dump loaded from a file.
|
|
47
|
+
* This method doesn't support transactions, as opposed to `orm.schema.execute()`, which is used internally.
|
|
47
48
|
*/
|
|
48
|
-
|
|
49
|
+
executeDump(dump: string): Promise<void>;
|
|
49
50
|
protected onConnect(): Promise<void>;
|
|
50
51
|
transactional<T>(cb: (trx: Transaction) => Promise<T>, options?: {
|
|
51
52
|
isolationLevel?: IsolationLevel | `${IsolationLevel}`;
|
|
@@ -40,10 +40,11 @@ export class Connection {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Execute raw SQL queries, handy from running schema dump loaded from a file.
|
|
44
|
+
* This method doesn't support transactions, as opposed to `orm.schema.execute()`, which is used internally.
|
|
44
45
|
*/
|
|
45
|
-
async
|
|
46
|
-
throw new Error(`
|
|
46
|
+
async executeDump(dump) {
|
|
47
|
+
throw new Error(`Executing SQL dumps is not supported by current driver`);
|
|
47
48
|
}
|
|
48
49
|
async onConnect() {
|
|
49
50
|
const schemaGenerator = this.config.getExtension('@mikro-orm/schema-generator');
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
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",
|
package/utils/Utils.js
CHANGED
|
@@ -125,7 +125,7 @@ export function parseJsonSafe(value) {
|
|
|
125
125
|
}
|
|
126
126
|
export class Utils {
|
|
127
127
|
static PK_SEPARATOR = '~~~';
|
|
128
|
-
static #ORM_VERSION = '7.0.0-dev.
|
|
128
|
+
static #ORM_VERSION = '7.0.0-dev.106';
|
|
129
129
|
/* v8 ignore next */
|
|
130
130
|
static dynamicImportProvider = (id) => import(id);
|
|
131
131
|
/**
|