db.syncable.getOptions()
Get sync options for given URL
Syntax
db.syncable.getOptions(url, callback)
Parameters
| url: string | The URL to get the options for | |
| callback: Function | function (options) { } | optional |
Callback Parameters
| options: Object | The options of the given URL |
Return Value
Remarks
If the callback is omitted the returned Promise will resolve with the options for given URL, calling any Promise.then() callback.
If the callback is specified, it will be called with the options for the given URL and the returned Promise will resolve with the return value of given callback.