These are chat archives for c58/marsdb

24th
Jan 2016
Ben
@Seraph-Design
Jan 24 2016 14:08
Hello! From every DB solution i tried MarsDB feels superior for my app. I'm building with ionic / angular framework and got everything working so far.. but i can't manage to change the Storage implementation to LocalForage. So far i've included marsdb.localForage.min.js after marsdb.angular.min.js in my <head>. But when i try to call $collectionProvider.defaultStorageManager(LocalForageManager); in my app.config i get a ReferenceError: LocalForageManager is not defined. Any help with this is appreciated, thanks!
Artem Artemyev
@c58
Jan 24 2016 16:36
Hi, @Seraph-Design ! All included storages is available in a global variable Mars.Storages. You just need to write $collectionProvider.defaultStorageManager(Mars.Storages.LocalForage). I will include it in a README.md
Also i advice you to upgrade MarsDB to a latest 0.5.8 version. I've fixed some issues.
Ben
@Seraph-Design
Jan 24 2016 18:24
Wow, such a simple solution. It just worked! Thank you very much :)