@mikro-orm/core 7.0.11-dev.10 → 7.0.11-dev.12
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/drivers/IDatabaseDriver.d.ts +4 -0
- package/package.json +1 -1
- package/utils/Utils.js +1 -1
|
@@ -248,6 +248,7 @@ export interface NativeInsertUpdateOptions<T> {
|
|
|
248
248
|
/** `nativeUpdate()` only option */
|
|
249
249
|
upsert?: boolean;
|
|
250
250
|
loggerContext?: LogContext;
|
|
251
|
+
logging?: LoggingOptions;
|
|
251
252
|
/** sql only */
|
|
252
253
|
unionWhere?: ObjectQuery<T>[];
|
|
253
254
|
/** sql only */
|
|
@@ -310,6 +311,8 @@ export interface UpdateOptions<T> {
|
|
|
310
311
|
filters?: FilterOptions;
|
|
311
312
|
schema?: string;
|
|
312
313
|
ctx?: Transaction;
|
|
314
|
+
loggerContext?: LogContext;
|
|
315
|
+
logging?: LoggingOptions;
|
|
313
316
|
/** sql only */
|
|
314
317
|
unionWhere?: ObjectQuery<T>[];
|
|
315
318
|
/** sql only */
|
|
@@ -347,6 +350,7 @@ export interface DriverMethodOptions {
|
|
|
347
350
|
ctx?: Transaction;
|
|
348
351
|
schema?: string;
|
|
349
352
|
loggerContext?: LogContext;
|
|
353
|
+
logging?: LoggingOptions;
|
|
350
354
|
}
|
|
351
355
|
/** MongoDB-style collation options for locale-aware string comparison. */
|
|
352
356
|
export interface CollationOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
|
-
"version": "7.0.11-dev.
|
|
3
|
+
"version": "7.0.11-dev.12",
|
|
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",
|
package/utils/Utils.js
CHANGED
|
@@ -141,7 +141,7 @@ export function parseJsonSafe(value) {
|
|
|
141
141
|
/** Collection of general-purpose utility methods used throughout the ORM. */
|
|
142
142
|
export class Utils {
|
|
143
143
|
static PK_SEPARATOR = '~~~';
|
|
144
|
-
static #ORM_VERSION = '7.0.11-dev.
|
|
144
|
+
static #ORM_VERSION = '7.0.11-dev.12';
|
|
145
145
|
/**
|
|
146
146
|
* Checks if the argument is instance of `Object`. Returns false for arrays.
|
|
147
147
|
*/
|