Initializer
init(ddoc:name:type:def:)
Initializes a new Mango Index.
init(ddoc: String? = nil, name: String, type: String, def: IndexDefinition)
Parameters
- ddoc
The design document for the index.
- name
The name of the index.
- type
The type of the index.
- def
The definition of the index.