Question

The nice thing about CouchDB is that the view results are updated incrementally as the database changes. Is there a way to accomplish the same thing with MongoDB? I've been unable to locate any specifics in the documentation. Thanks

Était-ce utile?

La solution

No, MongoDB does not support dynamically-updated views in the way that CouchDB does. MapReduce results are written to a collection on disk and/or returned in the query; they are not updated unless you run the job again to do it.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top