Best practices for complex queries
Forgive my lack of depth as I've been primarily a front-end dev, but I'm having issues getting complex queries to work with TypeScript.
This is an example of one of my queries:
1. This does not get automatic TypeScript parsing because it's too deeply nested. Is there something I can do about that?
2. Is this even the correct way to think about this? Should these be multiple queries? Is there a way to separate out all the queries without harming performance querying the database so many times?
Any and all help is appreciated, even if it's just pointing me in the right direction of additional information.
0 Replies