[repost ]How does MongoDB compare to CouchDB? What are the advantages and disadvantages of each?
Answer: Querying One advantage of MongoDB is that simple queries are simple. If you just want documents where a particular field contains “x”, you can execute something like db.users.find({"name" : "Richard Henry"}); . With CouchDB you’ll need to write a Map/Reduce query. MongoDB still supports Map/Reduce for complex queries, but doing simple stuff is very […]
via WordPress http://ift.tt/1tZuSvX
via WordPress http://ift.tt/1tZuSvX
Labels: hanhuiwen
0 Comments:
Post a Comment
<< Home