[pg] How do I make subquery in select()?
I wanna write a query like this in drizzle, but it doesn't seem like working
3 Replies
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
with
indeed works but is there no other way to do it like @Wabathur mentioned? (just curious)Yes it's a 1 to 1 change but you have to use the sql operator