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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top