Skip to content

db.syncable.getOptions()

Nikolas Poniros edited this page Jan 29, 2017 · 2 revisions

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

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

Clone this wiki locally