What is a function call?
Just looking at the pricing section of convex. What is considered a function call?
Is it just user defined functions (queries, mutations, actions)? So if I define a query that does multiple fetches, would I just be charged for the outer query? Or for each fetch?
5 Replies
The query call is one function call. You’re not charged per database access, for example.
So yep, the outer query. .
Woah. that's crazy awesome 🤯
Thanks @jamwt
What happens if an action calls multiple queries/mutations? I'm guessing it's 1 (for the action) + (# of queries) + (# of mutations).
Yep
I'm guessing internal* functions are counted the same as any other function type (queries, mutations, actions).
Yep, Only differ by security/visibility