Settings

Theme

MongoEngine 0.5 Released

rosslawley.co.uk

10 points by rozza 14 years ago · 2 comments

Reader

zmitri 14 years ago

Anyone have any insight to using a tool like this over pymongo directly? I find that the nicest thing about mongodb is how flexible it is, and any other type of caching is easily done with redis on the side.

  • rozzaOP 14 years ago

    Yes me, we use it to formalise documents and explicitly declare what data we store.

    For total flexibility dictionary fields are best, they will handle any complex type eg: embedded dictionaries, lists or even other documents (automatically converting to a DBRef), however, you dont get validation, which may or may not be an issue based on your circumstances.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection