@mikro-orm/sql 7.1.6-dev.16 → 7.1.6-dev.18
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.
|
@@ -9,10 +9,10 @@ export declare class BaseMySqlPlatform extends AbstractSqlPlatform {
|
|
|
9
9
|
protected readonly schemaHelper: MySqlSchemaHelper;
|
|
10
10
|
protected readonly exceptionConverter: MySqlExceptionConverter;
|
|
11
11
|
protected readonly ORDER_BY_NULLS_TRANSLATE: {
|
|
12
|
-
readonly "asc nulls first":
|
|
13
|
-
readonly "asc nulls last":
|
|
14
|
-
readonly "desc nulls first":
|
|
15
|
-
readonly "desc nulls last":
|
|
12
|
+
readonly "asc nulls first": 'is not null';
|
|
13
|
+
readonly "asc nulls last": 'is null';
|
|
14
|
+
readonly "desc nulls first": 'is not null';
|
|
15
|
+
readonly "desc nulls last": 'is null';
|
|
16
16
|
};
|
|
17
17
|
supportsMultiColumnCountDistinct(): boolean;
|
|
18
18
|
/** @internal */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/sql",
|
|
3
|
-
"version": "7.1.6-dev.
|
|
3
|
+
"version": "7.1.6-dev.18",
|
|
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.1.5"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@mikro-orm/core": "7.1.6-dev.
|
|
56
|
+
"@mikro-orm/core": "7.1.6-dev.18"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">= 22.17.0"
|
package/query/CriteriaNode.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ export declare class CriteriaNode<T extends object> implements ICriteriaNode<T>
|
|
|
9
9
|
protected readonly metadata: MetadataStorage;
|
|
10
10
|
readonly entityName: EntityName<T>;
|
|
11
11
|
readonly parent?: ICriteriaNode<T> | undefined;
|
|
12
|
-
readonly key?:
|
|
12
|
+
readonly key?: EntityKey<T> | RawQueryFragmentSymbol | undefined;
|
|
13
13
|
readonly validate: boolean;
|
|
14
14
|
readonly strict: boolean;
|
|
15
15
|
payload: any;
|
|
16
16
|
prop?: EntityProperty<T>;
|
|
17
17
|
index?: number;
|
|
18
|
-
constructor(metadata: MetadataStorage, entityName: EntityName<T>, parent?: ICriteriaNode<T> | undefined, key?:
|
|
18
|
+
constructor(metadata: MetadataStorage, entityName: EntityName<T>, parent?: ICriteriaNode<T> | undefined, key?: EntityKey<T> | RawQueryFragmentSymbol | undefined, validate?: boolean, strict?: boolean);
|
|
19
19
|
process(qb: IQueryBuilder<T>, options?: ICriteriaNodeProcessOptions): any;
|
|
20
20
|
unwrap(): any;
|
|
21
21
|
shouldInline(payload: any): boolean;
|
package/query/QueryBuilder.d.ts
CHANGED
|
@@ -236,7 +236,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
236
236
|
#private;
|
|
237
237
|
protected readonly metadata: MetadataStorage;
|
|
238
238
|
protected readonly driver: AbstractSqlDriver;
|
|
239
|
-
protected readonly context?: Transaction
|
|
239
|
+
protected readonly context?: Transaction;
|
|
240
240
|
protected connectionType?: ConnectionType | undefined;
|
|
241
241
|
protected em?: SqlEntityManager | undefined;
|
|
242
242
|
protected loggerContext?: (LoggingOptions & Dictionary) | undefined;
|
|
@@ -253,7 +253,7 @@ export declare class QueryBuilder<Entity extends object = AnyEntity, RootAlias e
|
|
|
253
253
|
/**
|
|
254
254
|
* @internal
|
|
255
255
|
*/
|
|
256
|
-
constructor(entityName: EntityName<Entity> | QueryBuilder<Entity, any, any, any>, metadata: MetadataStorage, driver: AbstractSqlDriver, context?: Transaction
|
|
256
|
+
constructor(entityName: EntityName<Entity> | QueryBuilder<Entity, any, any, any>, metadata: MetadataStorage, driver: AbstractSqlDriver, context?: Transaction, alias?: string, connectionType?: ConnectionType | undefined, em?: SqlEntityManager | undefined, loggerContext?: (LoggingOptions & Dictionary) | undefined);
|
|
257
257
|
/**
|
|
258
258
|
* Creates a SELECT query, specifying the fields to retrieve.
|
|
259
259
|
*
|