Skip to content

Dexie.Syncable.IDatabaseChange

David Fahlander edited this page May 18, 2014 · 33 revisions

Interface

interface IDatabaseChange {
Number type; // 1 = CREATE, 2 = UPDATE, 3 = DELETE
String table;
any key;
};

interface IDatabaseCreateChange : IDatabaseChange {
Object obj; // Created Object
};

interface IDatabaseUpdateChange : IDatabaseChange {
Object mods; // Set of keyPaths and their altered values
};

interface IDatabaseDeleteChange : IDatabaseChange {
};

Description

Clone this wiki locally