Reference
database
string
required
Define your database.
storage
function
class
required
The type of storage you use. Here you must define with the stagync-storage class or function imported in the project.
name
string
required
Name of the store.
table
deprecated
Redundancy of name
.
syncErrorHandler
function
Receive read errors or read all data.
By declaring syncErrorHandler the handlers of sync only
The first to receive the property value, data => ...
.
syncErrorHandler: (err) => {...}
schemas
Set the properties of your storage.
methods
Define custom metering for your storage