@mikro-orm/mariadb 7.0.0-dev.34 → 7.0.0-dev.36
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/MariaDbSchemaHelper.js +2 -2
- package/package.json +4 -4
package/MariaDbSchemaHelper.js
CHANGED
|
@@ -55,7 +55,7 @@ export class MariaDbSchemaHelper extends MySqlSchemaHelper {
|
|
|
55
55
|
numeric_precision as numeric_precision,
|
|
56
56
|
numeric_scale as numeric_scale,
|
|
57
57
|
ifnull(datetime_precision, character_maximum_length) length
|
|
58
|
-
from information_schema.columns where table_schema = database() and table_name in (${tables.map(t => this.platform.quoteValue(t.table_name))})
|
|
58
|
+
from information_schema.columns where table_schema = database() and table_name in (${tables.map(t => this.platform.quoteValue(t.table_name)).join(', ')})
|
|
59
59
|
order by ordinal_position`;
|
|
60
60
|
const allColumns = await connection.execute(sql);
|
|
61
61
|
const str = (val) => val != null ? '' + val : val;
|
|
@@ -122,7 +122,7 @@ export class MariaDbSchemaHelper extends MySqlSchemaHelper {
|
|
|
122
122
|
tc.check_clause as expression,
|
|
123
123
|
/*M!100510 case when tc.level = 'Column' then tc.constraint_name else */ null /*M!100510 end */ as column_name
|
|
124
124
|
from information_schema.check_constraints tc
|
|
125
|
-
where tc.table_name in (${tables.map(t => this.platform.quoteValue(t.table_name))}) and tc.constraint_schema = database()
|
|
125
|
+
where tc.table_name in (${tables.map(t => this.platform.quoteValue(t.table_name)).join(', ')}) and tc.constraint_schema = database()
|
|
126
126
|
order by tc.constraint_name`;
|
|
127
127
|
}
|
|
128
128
|
wrap(val, type) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mariadb",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-dev.
|
|
4
|
+
"version": "7.0.0-dev.36",
|
|
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,14 +50,14 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@mikro-orm/mysql": "7.0.0-dev.
|
|
53
|
+
"@mikro-orm/mysql": "7.0.0-dev.36"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@mikro-orm/core": "^6.5.
|
|
56
|
+
"@mikro-orm/core": "^6.5.8",
|
|
57
57
|
"kysely": "0.28.7"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@mikro-orm/core": "7.0.0-dev.
|
|
60
|
+
"@mikro-orm/core": "7.0.0-dev.36",
|
|
61
61
|
"kysely": "*"
|
|
62
62
|
}
|
|
63
63
|
}
|