Hello,
I added to User table the relational property.
The property is the relation to another table.
I have a command that retrieves the relational property from the user as:
When the relation is not empty it returns array of object as expected,
but if it is a new user, on which the relation “MyToys” is still empty - i get something that look in debugger watch like Object[0]@4815.
When i check the object toys on null or on .length > 0, like regular array - it crashes my application.
How can i deal with it ?