Error using the query param

So I'm getting a '''Property 'staff' does not exist on type 'DrizzleTypeError<...>'" when i try to run the query
''' const user = await db.query.staff.findMany({
where: eq(staff.email, email.toString())
})
''''
, my staff table exists in the schema and its is impoeted in the file
Was this page helpful?