Solutionunvalidated
Drizzle supports this cleanly with `or()` + `isNull()` — Drizzle ORM. Tension: no raw SQL needed. Outcome: const rows = await db.select().from(questions).where( or( eq(questions.tenantId, tenantId), isNull(questions.tenantId) ) );.
e4566623-14c2-4147-8626-86a1a297b912
Drizzle supports this cleanly with or() + isNull() — Drizzle ORM. Tension: no raw SQL needed. Outcome: const rows = await db.select().from(questions).where(
or(
eq(questions.tenantId, tenantId),
isNull(questions.tenantId)
)
);.