Hi All,
I have a query regarding UDFs and API pricing. I’m just learning FQL so sorry if this question isn’t explained well.
There is this example in the documentation
Map(
[ 1, 2, 3, 4, 5 ],
Lambda(
"number",
Add(1, Var(“number”))
)
)
From what I gather this means the Lambda part will call the Add function 5 times, once for each of the items in the array. So in terms of UDF and API pricing how is this charged. How many TROs and TCOs is this priced at. I guess I’m wondering is if an FQL hit a collection that had 1 million documents and performed a lambda on each document is that 1 million TROs and 1 million TCOs.
Trying to get my head around what costs are involved in our planned system.
Thanks