Modified select() on an existing query example
Hey, I would like to reuse first query with some left joins etc. to obtain results count with second query
I found some posts, and it seems its possible, but cant get it working.
I just need to alternate select() to other fields, more precisely to a simple sql count expression.
helpIs there a way to modify the select() on an existing query ?
https://github.com/drizzle-team/drizzle-orm/issues/561
I found some posts, and it seems its possible, but cant get it working.
I just need to alternate select() to other fields, more precisely to a simple sql count expression.
helpIs there a way to modify the select() on an existing query ?
https://github.com/drizzle-team/drizzle-orm/issues/561