/** * The clause of a list membership filter: `in`, `notin`, `notin_with_null`. * * An empty list has a meaning of its own and never reaches the database as `IN ()`, which postgres, mysql, mssql and * oracle refuse as a syntax error (sqlite accepts it, so a sqlite test never sees it): * - `in []` matches nothing -> `1 = 0` * - `notin []` constrains nothing -> `1 = 1` * - `notin_with_null []` constrains nothing -> `1 = 1` * * A clause that holds OR closes its own parentheses: callers hand the string to andWhere as it is, and TypeORM does * not wrap string conditions (isolateWhereStatements is off by default). Without them `A AND B OR C` would drop every * condition before it, the domain and tenant ones included. */ export declare function membershipClause(field: string, operator: 'in' | 'notin' | 'notin_with_null', values: any[], param: string): { clause: string; parameters: { [key: string]: any; }; };