bigcargo 0.1.0
bigcargo: ^0.1.0 copied to clipboard
A key value, storage library for dart
BigCargo #
An abstraction implementation of Cargo on nosql databases
Simple usage #
For the moment we have only a MongoDB implementation. Please take a look at the test examples.
Or just look at this.
Cargo storage = new Cargo(MODE: CargoMode.MONGODB, conf: {"collection": "store", "address": "mongodb://127.0.0.1/test" });
storage.start().then((_) {
storage.clear();
storage["someValue"] = {"value": "go"};
storage.getItem("someValue").then((value) {
// do something with the retrieved value!
});
});
Contributing #
If you found a bug, just create a new issue or even better fork and issue a pull request with you fix.
Join our discussion group #
Social media #
Follow us on twitter https://twitter.com/usethedartforce
Google+
Follow us on google+
or join our G+ Community