@warlock.js/cascade
Version:
ORM for managing databases
8 lines • 741 B
TypeScript
export declare const whereOperators: readonly ["=", "!=", "not", ">", ">=", "<", "<=", "in", "nin", "notIn", "all", "exists", "type", "mod", "regex", "geoIntersects", "geoWithin", "near", "between", "notBetween", "nearSphere", "elemMatch", "size", "like", "notLike", "startsWith", "endsWith", "notStartsWith", "notEndsWith"];
export type WhereOperator = (typeof whereOperators)[number];
export type MongoDBOperator = "$eq" | "$ne" | "$gt" | "$not" | "$gte" | "$lt" | "$lte" | "$in" | "$nin" | "$all" | "$exists" | "$type" | "$mod" | "$regex" | "$geoIntersects" | "$geoWithin" | "$between" | "$near" | "$nearSphere" | "$elemMatch" | "$size";
export type GeoLocation = {
lat: number;
lng: number;
};
//# sourceMappingURL=types.d.ts.map