UNPKG

prisma-criteria

Version:

Parses, validates, and creates a criteria object that can be passed to the Prisma "findMany" method to query a list of resources matching the given filters, pagination and order.

7 lines (6 loc) 291 B
export declare const FILTER_SEPARATOR = " "; export declare const LIST_START = "["; export declare const LIST_END = "]"; export declare const LIST_ELEMENTS_SEPARATOR = ";"; export declare const RELATION_SCALAR_SEPARATOR = "-"; export declare const LOGIC_OPERATORS_WITH_SPACES_REGEX: RegExp;