Click or drag to resize

View Methods

The View type exposes the following members.

Methods
  NameDescription
Public methodCreateQuery
Creates a new Query for this view.
Public methodDelete
Deletes the View.
Public methodDeleteIndex
Deletes the View's persistent index. The index is regenerated on the next Query execution.
Public methodSetMap
Defines the View's MapDelegate and sets its ReduceDelegate to null.
Public methodSetMapReduce
Defines the View's MapDelegate and ReduceDelegate.
Public methodUpdateIndex
Updates the View's persistent index. Indexing scans all documents that have changed since the last time the index was updated. The body of each document is passed to the view's map callback, and any emitted rows are added to the index. Any existing rows previously emitted by those documents, that weren't re-emitted this time, are removed.
Top
See Also