Skip to content
David Fahlander edited this page Apr 17, 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.

Count all objects.

Get the first N objects in store.

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