Mango Smoothie Build Status

A CouchDB Mango/Cloudant query client for rust. It supports creating indexes, listing indexes and querying indexes

For (docs)[http://garrensmith.com/mango_smoothie/]

``` extern crate mangosmoothie; use mangosmoothie::database;

[macro_use]

extern crate serde_json;

let queryresp = db.queryindex(json!({ "selector": { "diet": { "$eq": "omnivore" } }, "fields": ["id", "rev", "name", "class", "diet"] }));

let result = queryresp.unwrap(); let doc = &result.docs[0]; asserteq!(doc.get("class").unwrap().as_str().unwrap(), "mammal"); ```

License

Mango Smoothie is licensed under MIT. See the LICENSE file for more