Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
22 lines
523 B
Plaintext
22 lines
523 B
Plaintext
import { and, eq, gt, gte, ilike, inArray, isNotNull, isNull, lt, lte, ne, notIlike, notInArray, or } from 'drizzle-orm';
|
|
export const operatorMap = {
|
|
and,
|
|
contains: ilike,
|
|
equals: eq,
|
|
exists: isNotNull,
|
|
greater_than: gt,
|
|
greater_than_equal: gte,
|
|
in: inArray,
|
|
isNull,
|
|
less_than: lt,
|
|
less_than_equal: lte,
|
|
like: ilike,
|
|
not_equals: ne,
|
|
not_like: notIlike,
|
|
// TODO: support this
|
|
// all: all,
|
|
not_in: notInArray,
|
|
or
|
|
};
|
|
|
|
//# sourceMappingURL=operatorMap.js.map |