I have tables Advertisement and Photo, and I have one-to-many relation
I can’t save Advertisement without photo
Steps:
save Photo
save Adverisement
set relations
so I have to make 3 requests, but in 3 step, I get an exception (lose internet connection for example), so I’ve created Advertisement without photo
How can I handle this case?
In Backendless 3, I was able to save by one request
Ok, I can handle an exception, but if user lose internet connection at 3 step, and in database was saved Adverisement without Photo
User can reconect hour later