Best way to get count in extras
is there a better way to do this without the
sql
operator? I want to just use drizzle code (to make more complex queries). if i try to, i get weird issues. similarly, if i replace "Product"."productSetId"
with ${products.productSetId}
, it tells me productSetId
does not exist on the ProductSet table (it uses the wrong table)4 Replies
what i want is to be able to do something like:
did you figure out how to do it?
Drizzle ORM - Utils
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.