@mikro-orm/sql 7.2.13-dev.10 → 7.2.13-dev.11
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/AbstractSqlDriver.js +2 -2
- package/package.json +2 -2
package/AbstractSqlDriver.js
CHANGED
|
@@ -99,10 +99,10 @@ export class AbstractSqlDriver extends DatabaseDriver {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
if (options.collation != null && typeof options.collation !== 'string') {
|
|
102
|
-
throw new
|
|
102
|
+
throw new ValidationError('Collation option for SQL drivers must be a string (collation name). Use a CollationOptions object only with MongoDB.');
|
|
103
103
|
}
|
|
104
104
|
if (options.indexHint != null && typeof options.indexHint !== 'string') {
|
|
105
|
-
throw new
|
|
105
|
+
throw new ValidationError("indexHint for SQL drivers must be a string (e.g. 'force index(my_index)'). Use an object only with MongoDB.");
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
createEntityManager(useContext) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/sql",
|
|
3
|
-
"version": "7.2.13-dev.
|
|
3
|
+
"version": "7.2.13-dev.11",
|
|
4
4
|
"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.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data-mapper",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@mikro-orm/core": "^7.2.12"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@mikro-orm/core": "7.2.13-dev.
|
|
56
|
+
"@mikro-orm/core": "7.2.13-dev.11"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">= 22.17.0"
|