Closed katopz closed 8 years ago
There aren't any native sync capabilities like the one you referenced. You'd have to write the syncing code yourself. I think this is a bit out of scope for an ODM like Camo. I think it would make more sense for syncing to be implemented in the DB or application layer, depending on your needs.
If the underlying DB driver supports syncing (which I don't think either of them do) then you can access the driver using camo.getClient().driver()
.
@dalcib from quick glance it looks like that would be possible. If you want to discuss more please open a separate issue. Thanks for the suggestion!
The sync feature seems to be out of scope for Camo, so I'm closing this issue.
Let say I use
NeDB
when offline and sync to remoteMongoDB
when online similar to this and may I ask for example if it poossible? (BTWoffline capability
should add to features in readme if it possible tho)Thanks