Skip to content

Linq2indexedDB Core

Kristof degrave edited this page Apr 12, 2017 · 1 revision

Linq2indexedDB Core

The core of the Linq2IndexedDB library is a wrapper around the current indexedDB functionality. This is necessary because not all browsers implement the indexedDB API the same way. Also in most browsers the exception thrown aren't very clear. Better errors and a uniform cross browser implementation are the main goals of this wrapper.

All functions inside the wrapper return a promise object with 2 and sometimes 3 callback methods:

  • Success (called when the operation was successfull)
  • Error (called when an error occured inside the operation)
  • Progress (called when you can hook into the operation or get progress results)

{{ promise.then(success, error, progress); }}

The linq2indexeddb core contains the following functions:

The linq2indexeddb core contains the following events:

The linq2indexeddb core contains the following enumerations:

The linq2indexeddb core contains the following properties:

Clone this wiki locally