Skip to content

WriteableTable

David Fahlander edited this page May 8, 2014 · 19 revisions

The WriteableTable class represents an IDBObjectStore opened from an "rw" transaction or retrieved from Dexie.table()

Inheritance Hierarchy

Properties

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

The table schema of this object store.

Methods

Insert an object into store.

Apply given changes to an existing object.

Replace or insert object.

Delete an object from store.

Clear all objects in store.

Methods derived from Table

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 WriteableCollection containing all objects in store.

Returns a Collection instance ordered by given index.

Returns a Collection instance with reversed order of the primary key.

Map this table to javascript constructor function.

Define a javascript constructor function and map to this table.

Clone this wiki locally