new DBObjectDeleteTemplate(name:, uri: [, options])
Parameters:
| Name | Type | Argument | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
name: |
String | valid DBObject name |
|||||||||||||||||||
uri: |
Object | [{route, method}] object if not DELETE @ '/api/ |
|||||||||||||||||||
options |
Object |
<optional> |
Properties
|
- Source:
Extends
Methods
-
execute()
-
Edit a new DBObject from class 'this._name' by calling the associated route
- Overrides:
- Source:
Returns:
promise wrapping the created DBObject
- Type
- Promise