Type error for eq()

I get Expected 1 arguments, but got 2. in a statement like this:
.where(and(eq(menu.id, form.data.id)), eq(menu.userId, session.userId));

for 'eq'
Rrphlmr ⚡5/11/2023
your 2 “eq” should be in the “and” parentheses 😉
Good catch, you're getting the expected 1 argument but got 2 for the .where

Looking for more? Join the community!