UNPKG

@userlab/dx

Version:

Build efficient GraphQL backend

76 lines (75 loc) 1.36 kB
import { GraphQLInputType } from 'graphql'; export declare enum Operator { eq = "eq", ne = "ne", gt = "gt", gte = "gte", lt = "lt", lte = "lte", is = "is", not = "not", in = "in", notIn = "notIn", like = "like", notLike = "notLike", iLike = "iLike", insub = "insub" } export declare const operators: { eq: { type: GraphQLInputType; sql: string; }; ne: { type: GraphQLInputType; sql: string; }; gt: { type: GraphQLInputType; sql: string; }; gte: { type: GraphQLInputType; sql: string; }; lt: { type: GraphQLInputType; sql: string; }; lte: { type: GraphQLInputType; sql: string; }; is: { type: GraphQLInputType; sql: string; }; not: { type: GraphQLInputType; sql: string; }; in: { type: GraphQLInputType; sql: string; }; notIn: { type: GraphQLInputType; sql: string; }; like: { type: GraphQLInputType; sql: string; }; notLike: { type: GraphQLInputType; sql: string; }; iLike: { type: GraphQLInputType; sql: string; }; insub: { type: GraphQLInputType; sql: string; }; };