INNER CODE UNIT · TypeScript

GetOprType

OS-Guild/graphql-to-mongodb · src/graphQLFilterType.ts:8

const GetOprType = () => cache(typesCache, "Opr", () => new GraphQLEnumType({
    name: 'Opr',
    values: {
        EQL: { value: "$eq" },
        GT: { value: "$gt" },
        GTE: { value: "$gte" },
        IN: { value: "$in" },
        ALL: { value: "$all" },
        LT: { value: "$lt" },
        LTE: { value: "$lte" },
        NE: { value: "$ne" },
        NIN: { value: "$nin" }
    }
}));
/////////////////////////////////////////////////////////////////////

const GetOprExistsType = () => cache(typesCache, "OprExists", () => new GraphQLEnumType({
    name: 'OprExists',

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…