Type error for eq()

CCory5/10/2023
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));
CCory5/10/2023
for 'eq'
Rrphlmr5/11/2023
your 2 β€œeq” should be in the β€œand” parentheses πŸ˜‰
VVolks5/11/2023
Good catch, you're getting the expected 1 argument but got 2 for the .where