As expected, I’m getting a nested array, where the deep arrays contain data from the related table. All works fine.
My question is: is there a way to restrict the properties transported from the related table? Something like query.setProperties() but now for the associated table.
Hello @Dima ,
Thanks for this hint. It basically works! Some things I found:
I cannot use this in conjunction with query.setRelationsDepth(): But that’s ok. I only need a depth of 1.
The response now is de-normalized. The relation table is not represented an array within the array datasets from the primary table. The datasets from the primary table are now repeated for each dataset in the relational table. But I will be able to cope with that.