UNPKG

iridium

Version:

A custom lightweight ORM for MongoDB designed for power-users

15 lines (14 loc) 352 B
import { BSONType, BSONArray } from "./BSON"; export interface Conditions { [property: string]: { $eq?: BSONType; $ne?: BSONType; $in?: BSONArray; $nin?: BSONArray; $elemMatch?: Conditions; $gt?: BSONType; $gte?: BSONType; $lt?: BSONType; $lte?: BSONType; } | BSONType; }