Var&V
Convex Community3y ago
7 replies
Var&

fetch external resources while inside query

I'm trying to fetch additional data from external resource and merge it with query data to form the final data that gets sent back to client. For that I'm trying to use internalAction but seems like I can't figure out how to implement it? So I have the following questions:
Am I on the right track of trying to use internalAction inside a
query
?
if not, how can I achieve this?

take this as an example. I query a table and each record has an ID that the full data of that ID is in external resource. Now my challenge is to privately fetch the data for those IDs and stitch it with query result and send back to client ( btw the query result is small number maybe < 20 records)

Any help would be appreciated.
Was this page helpful?