Skip to content

ForceUniverse/bigcargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Google group

Social media

Twitter

Follow us on twitter https://twitter.com/usethedartforce

Google+

Follow us on google+

or join our G+ Community