Queries and best practices: How to query multiple tables and return object?
See the code example here as Discord doesn't allow longer messages:
https://stackoverflow.com/questions/78727640/queries-and-best-practices-how-to-query-multiple-tables-and-return-object-using
An example of my flow table:
So, I essentially want to get the status, priority and type of the flow returned in the same object.
I heard about the query
convex-helpers/react but I'm not sure if that can be of any help. I was also wondering of abstracting some of the logic to other files and then importing them where I'm going to use it, is a good idea?