candy 0.1.0
Candy is a lightweight ORM for the MongoDB database. If MongoMapper is Rails, Candy is Sinatra. It provides a module you mix into any class, enabling the class to connect to Mongo on its own and push its objects into a collection. Candied objects act like OpenStructs, allowing attributes to be defined and updated in Mongo immediately without having to be declared in the class. Mongo's atomic operators are used whenever possible, and a smart serializer (Candy::Wrapper) converts almost any object for assignment to any attribute.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
mongo
>= 0.18