bigcargo 0.2.6
bigcargo: ^0.2.6 copied to clipboard
A nosql binder to cargo
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, collection: "store", conf: {"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!
});
});
Implementations #
We have implemenations for:
- MongoDB
- Redis (experimental)
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