summarize columns linked table
i got the following response i need to sum up qty_available for each product, how i can do it?
2 Replies
for example product MW305R Router Inalámbrico N de 300Mbps" should have qty_available 11 + 5 = 16
and MS105G Switch de escritorio de 5 puertos 10/100 / 1,000 Mbps qty_available = 11 + 0 = 11
current request
Backwards link traversing can be used to retrieve records but not for applying calculations or filtering on them. The summarize API cannot be used with the reverse link operator
<-
.
Instead, you can use SQL (https://xata.io/docs/sdk/sql/overview) to perform this calculation:
SQL over HTTP
How to access Xata using SQL directly over HTTP