Support Topics Documentation Slack YouTube Blog

Retrieve relations but limit properties returned

(Steven Salmon) #1

Using either Rest of Javascript SDK when performing a query can you limit the properties returned on a related table? Obviously you can limit properties on the top level table but I want to limit on the related table properties. Is this possible?

Thank you


(Stanislaw Grin) #2

Hi Steven,
no, it’s not possible, but you can filter returned properties using custom Business Logic code in afterFind event handler.


(Steven Salmon) #3

Ok fully understand. Thank you for confirming this.