- Preparing search index...
- The search index is not available
Deepkit
Function convertClassQueryToMongo
- convertClassQueryToMongo<T, K, Q>(classType: ReflectionClass<T> | ClassType<any>, query: Q, fieldNamesMap?: QueryFieldNames, customMapping?: {
[name: string]: ((name: string, value: any, fieldNamesMap: {
[name: string]: boolean;
}) => any);
}): Q
-
Type Parameters
-
T
-
K extends string | number | symbol
-
Parameters
-
classType: ReflectionClass<T> | ClassType<any>
-
query: Q
-
fieldNamesMap: QueryFieldNames = {}
-
customMapping: {
[name: string]: ((name: string, value: any, fieldNamesMap: {
[name: string]: boolean;
}) => any);
} = {}
-
[name: string]: ((name: string, value: any, fieldNamesMap: {
[name: string]: boolean;
}) => any)
-
- (name: string, value: any, fieldNamesMap: {
[name: string]: boolean;
}): any
-
Parameters
-
name: string
-
value: any
-
fieldNamesMap: {
[name: string]: boolean;
}
Returns any
Returns Q