I'm working on a project with CometChat API and back4app for DB.
I have a question on user signing up level.
I was told to use other DB than CometChat's itself for maintaining User info.
Working on it, I faced a problem with transaction control.
My app goes like this (registering user info)
1. back4app insert
2. cometchat insert
Here, I was wondering what if 1st goes right and 2nd goes wrong. I definitely need to rollback 1st insert too.
If back4app commit point is somehow controlled, I just need to know when it is and how to control it.
If not, please tell me what should I do with above.
Thank you!