db.syncable.getOptions()

Get sync options for given URL

Syntax

db.syncable.getOptions(url, callback)

Parameters

url: stringThe URL to get the options for
callback: Functionfunction (options) { }optional

Callback Parameters

options: ObjectThe 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

Table of Contents