Keşfet

Multiple finder results to API result

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
3,573
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
I have three different finder results that I want to merge into a single API result (finder result 1 being the primary set of properties, and then two properties each reflecting the other two finder results). Is there an example of building your own object and outputting it as part of introducing an API?

My original plan was to use setupApiResultData to return the result, but I have several TO_MANY joins, so I decided to fall back to 3 separate queries.

Appreciate any thoughts in advance!
 

Konu görüntüleyen kullanıcılar

Geri
Üst Alt