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

Return Value

Promise<options>

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.

See also

Dexie.Syncable.js