Function convertClassQueryToMongo

  • Type Parameters

    • T

    • K extends string | number | symbol

    • Q extends FilterQuery<T>

    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;
              }
              • [name: string]: boolean

            Returns any

    Returns Q

Generated using TypeDoc