chennaione / sugar

Insanely easy way to work with Android Database.
http://satyan.github.com/sugar/
MIT License
2.62k stars 583 forks source link

Multiple databases #390

Open carmas123 opened 9 years ago

carmas123 commented 9 years ago

Hi, can I manage with SugarDB two or more databases? I need to have a db downloaded from server with all products (30k more/less) and another database with orders. Problems:

  1. In the manifest I can specify only one database name.
  2. How can I specify for every class that mapping to database1 or database2?

My best regards....we love Sugar...:)

revg75 commented 9 years ago

I am also in need of multiple database support. Any suggestions?

martji commented 8 years ago

help

revg75 commented 8 years ago

I had to abandon sugar... had to just use sqlite and roll my own solution unfortunately. Would still be nice to be able to use sugar with multiple dbs though

carmas123 commented 8 years ago

revg go to DBFlow https://github.com/Raizlabs/DBFlow :)

sibelius commented 8 years ago

@revg75 we will accept a PR for this