Methods
"boolean, function"(removePersistent, callback)
Drop collections and optionally drop persistent storage with callback.
Parameters:
Name | Type | Description |
---|---|---|
removePersistent |
Boolean | True to drop persistent storage, false to keep it. |
callback |
function | Callback method. |
- Source:
"boolean, function"(removePersistent, callback)
Drop collections and optionally drop persistent storage with callback.
Parameters:
Name | Type | Description |
---|---|---|
removePersistent |
Boolean | True to drop persistent storage, false to keep it. |
callback |
function | Callback method. |
- Source:
"string, *, function"(event, id, listener)
Attach an event listener to the passed event only if the passed
id matches the document id for the event being fired.
Parameters:
Name | Type | Description |
---|---|---|
event |
String | The name of the event to listen for. |
id |
* | The document id to match against. |
listener |
function | The method to call when the event is fired. |
- Source:
"string, function"(event, listener)
Attach an event listener to the passed event.
Parameters:
Name | Type | Description |
---|---|---|
event |
String | The name of the event to listen for. |
listener |
function | The method to call when the event is fired. |
- Source:
boolean(removePersistent)
Drop collection and optionally drop persistent storage.
Parameters:
Name | Type | Description |
---|---|---|
removePersistent |
Boolean | True to drop persistent storage, false to keep it. |
- Source:
boolean(removePersistent)
Drop collection and optionally drop persistent storage.
Parameters:
Name | Type | Description |
---|---|---|
removePersistent |
Boolean | True to drop persistent storage, false to keep it. |
- Source:
function(callback)
Drop collection and persistent storage with callback.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Callback method. |
- Source:
function(callback)
Drop collection and persistent storage with callback.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Callback method. |
- Source: