This commit is contained in:
2026-05-27 10:30:23 -04:00
parent 5214412fff
commit 1e1773c186
48 changed files with 5351 additions and 160 deletions

View File

@@ -0,0 +1,28 @@
// drizzle-orm mock - chainable proxies
function createChainable() {
return new Proxy(function() {}, {
apply() { return createChainable(); },
get() { return createChainable(); },
});
}
const eq = createChainable();
const and = createChainable();
const or = createChainable();
const not = createChainable();
const inArray = createChainable();
const gte = createChainable();
const lte = createChainable();
const gt = createChainable();
const lt = createChainable();
const like = createChainable();
const ilike = createChainable();
const isNull = createChainable();
const isNotNull = createChainable();
const desc = createChainable();
const asc = createChainable();
const count = createChainable();
const sql = createChainable();
const relations = createChainable();
export { eq, and, or, not, inArray, gte, lte, gt, lt, like, ilike, isNull, isNotNull, desc, asc, count, sql, relations };