UNPKG

feathers-prisma

Version:

A Feathers service adapter for Prisma ORM.

41 lines (40 loc) 855 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OPERATORS_MAP = exports.OPERATORS = void 0; exports.OPERATORS = { not: '$ne', gte: '$gte', gt: '$gt', lte: '$lte', lt: '$lt', in: '$in', notIn: '$nin', and: '$and', or: '$or', // specific to prisma contains: '$contains', startsWith: '$startsWith', endsWith: '$endsWith', mode: '$mode', }; exports.OPERATORS_MAP = { $lt: 'lt', $lte: 'lte', $gt: 'gt', $gte: 'gte', $in: 'in', $nin: 'notIn', $ne: 'not', $eager: 'includes', // specific to prisma /** * @deprecated use $prisma instead */ $rawWhere: 'rawWhere', $prisma: 'prisma', $contains: 'contains', $search: 'search', $startsWith: 'startsWith', $endsWith: 'endsWith', $mode: 'mode', };