Class DesignDocumentView

Contains information about a view in a design document.

Constructors

Properties

Constructors

  • Internal

    Parameters

    • data: {
          map?: string;
          reduce?: string;
      }
      • Optional map?: string
      • Optional reduce?: string

    Returns DesignDocumentView

  • Parameters

    • Optional map: string
    • Optional reduce: string

    Returns DesignDocumentView

    Deprecated

Properties

map: undefined | string

The mapping function to use for this view.

reduce: undefined | string

The reduction function to use for this view.