is there a method to populate the query
is there a method to populate the query with foriegn key data?
3 Replies
Hey there - this is exactly how you would do it. What are you trying to figure out?
i was asking if there was a more direct ".populate()" methode to do this like in mongoose or include or annotate field like in ORM's like prisma and django i have worked in the past
The convex helpers library has relationship helpers: https://github.com/get-convex/convex-helpers/blob/main/packages/convex-helpers/README.md#relationship-helpers
GitHub
convex-helpers/packages/convex-helpers/README.md at main · get-conv...
A collection of useful code to complement the official packages. - get-convex/convex-helpers