can we save multiple 1:1 relation ships once?
Please see the documentation on setting a relation: https://backendless.com/docs/rest/data_explicit_relation_list.html
You cannot set a relation while saving a parent object, if that if youre question.
For example tables A,B,C
A has 1:N relationship with B after saving data we will get objectId array of B table in return (up to this its fine)
After that B have 1:1 one relation ship, for that i need to implement here for N records of B relation as 1:1 to records of C (multiple one to one relationships)
How we can implement this?
Effectively you want to update N parents (records from B), which is impossible as of yet. The only option I see is exactly what you seem to already implement - N save requests for each 1:1 relation.
so for each 1:1 i need to write then and catch blocks?
I’m not sure what’s the best option in JS code, in Java I’d do that with a simple for-loop.
Yes, In js also for loop we will do each 1:1 relation, for each one we have then and catch blocks