Why does drizzle allow different tables in the same statement?

It isn't clear to me why await db.update(posts).set({ title }).where(eq(users.name, 'hello')); doesnt throw a type error. shouldnt it be possible for typecript to infer that i need a posts table column in the where clause?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server