metowo
DTDrizzle Team
•Created by metowo on 7/14/2024 in #help
db.query returns empty object
I'm using commonjs for swapping out the query builder from knex and bookshelf with drizzle and am seeing that logging
db.query
returns an empty object which I found because db.query.users.findFirst
was giving me a can't call findfirst on undefined error.
this is my schema
and my db config
12 replies