Skip to content
David Fahlander edited this page May 8, 2014 · 28 revisions

The Table class represents an IDBObjectStore.

Inheritance Hierarchy

Properties

The name of the object store represented by this Table instance.

The table schema of this object store.

Events

Atomic CRUD hook called when object is about to be created in db.

Atomic CRUD hook called when object has been read from db and is about to be delivered to caller.

Atomic CRUD hook called when object is about to be modified in db.

Atomic CRUD hook called when object is about to be deleted from db.

Methods

Retrieve object by primary key.

Retrieve objects using a query.

Apply javascript filter on all items in the object store

Count all objects.

Return a Collection ordered by primary key, where the first N items in the table are ignored.

Return a Collection ordered by primary key, limited to N items.

Iterate all objects in store.

Get an array containing all objects in store.

Get a Collection containing all objects in store.

Return a Collection instance ordered by given index.

Map this table to javascript constructor function.

Define a javascript constructor function and map to this table.

See Also

Clone this wiki locally