Comparing version 1.0.66 to 1.0.67
@@ -18,3 +18,3 @@ import { Pluck } from '../helper_types'; | ||
}; | ||
export declare type VirtualField<Schema extends OrmaSchema, Entity extends GetAllEntities<Schema>> = Subquery<Schema, Pluck<GetAllEdges<Schema, Entity>, 'to_entity'>, false> | QueryField<Schema, Entity> | Entity | number | GroupBy<Schema, Entity> | OrderBy<Schema, Entity>; | ||
export declare type VirtualField<Schema extends OrmaSchema, Entity extends GetAllEntities<Schema>> = Subquery<Schema, Pluck<GetAllEdges<Schema, Entity>, 'to_entity'>, false> | QueryField<Schema, Entity> | Entity | number | GroupBy<Schema, Entity> | OrderBy<Schema, Entity> | any[]; | ||
export declare type FromObj<Schema extends OrmaSchema, Entity extends GetAllEntities<Schema>, RequireFrom extends boolean> = RequireFrom extends true ? { | ||
@@ -21,0 +21,0 @@ $from: Entity; |
@@ -187,1 +187,12 @@ "use strict"; | ||
} | ||
{ | ||
// handles where clause | ||
const good = { | ||
products: { | ||
id: true, | ||
$where: { | ||
$eq: ['id', { $escape: true }] | ||
} | ||
} | ||
}; | ||
} |
{ | ||
"name": "orma", | ||
"version": "1.0.66", | ||
"version": "1.0.67", | ||
"description": "A declarative relational syncronous orm", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
399291
10154