Replies: 4 comments 5 replies
-
You can use multiple moor databases in the your app, which is what I would do here. It's hard to give exact advice without additional details, but you could have one moor database class for the master database and (potentially more than) one for the detail databases. Initially you'd use the master database, when desired you can just switch over. How to switch between database classes is a concern of your app, but moor lets you use multiple databases in the same app. |
Beta Was this translation helpful? Give feedback.
-
How to create instance for the one detail database? |
Beta Was this translation helpful? Give feedback.
-
Currently I'm creating instance in static class and using everywhere in the app |
Beta Was this translation helpful? Give feedback.
-
Is this good way? |
Beta Was this translation helpful? Give feedback.
-
i have the below requirement.
-> 1 master database
-> multiple detail database
when login the app master database will use, after login any one detail database will use.
how to do connection with one detail database after initialize app?
Pls suggest, becoz every time i'm initializing the database
Beta Was this translation helpful? Give feedback.
All reactions