Monday, 14 March 2016

nosql - Apache couchDB good for pre-defined queries?



I see below statement at When to use CouchDB over MongoDB and vice versa




For accumulating, occasionally changing data, on which pre-defined
queries are to be run. Places where versioning is important.





I am not sure what predefined queries means here ?


Answer



It was referred to the view definition in CouchDB. The pre-defined queries are defined as map/reduced views that are indexed by CouchDB.



These views are defined in design documents stored in the database (pre-defined)
By the time of the post you refer, it is based in the features of CouchDB 1.x, now in CouchDB 2.x you can use Mango Queries for dynamic query expressions.


No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...