Methods
# async dropDesignDocument(designDocName, optionsopt, callbackopt) → {Promise.<DesignDocument>}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
designDocName |
string | ||
options |
Object |
<optional> |
|
timeout |
number |
<optional> |
|
callback |
DropDesignDocumentCallback |
<optional> |
Promise.<DesignDocument>
# async getAllDesignDocuments(optionsopt, callbackopt) → {Promise.<Array.<DesignDocument>>}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options |
Object |
<optional> |
|
timeout |
number |
<optional> |
|
callback |
GetAllDesignDocumentsCallback |
<optional> |
Promise.<Array.<DesignDocument>>
# async getDesignDocument(designDocName, optionsopt, callbackopt) → {Promise.<DesignDocument>}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
designDocName |
string | ||
options |
Object |
<optional> |
|
timeout |
number |
<optional> |
|
callback |
GetDesignDocumentCallback |
<optional> |
Promise.<DesignDocument>
# async publishDesignDocument(designDocName, optionsopt, callbackopt) → {Promise.<boolean>}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
designDocName |
string | ||
options |
Object |
<optional> |
|
timeout |
number |
<optional> |
|
callback |
PublishDesignDocumentCallback |
<optional> |
Promise.<boolean>
# async upsertDesignDocument(designDoc, optionsopt, callbackopt) → {Promise.<DesignDocument>}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
designDoc |
DesignDocument | ||
options |
Object |
<optional> |
|
timeout |
number |
<optional> |
|
callback |
UpsertDesignDocumentCallback |
<optional> |
Promise.<DesignDocument>