26thavenue
26thavenue
DTDrizzle Team
Created by 26thavenue on 1/4/2024 in #help
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
16 replies