Skip to content

Transaction.table()

David Fahlander edited this page Apr 15, 2014 · 6 revisions

Syntax

trans.table(nameName)

Return Type

Table

Description

Get a Table or WriteableTable instance representing one of your object stores specified in Dexie.version. Table is returned if the transaction was opened in "r" (readonly) mode. WriteableTable will be returned if the transaction was opened in "rw" (readwrite) mode. If transaction is a versionchange transaction (happens only in your registered upgraders and callbacks to on("populate"), the returned instance will be WriteableTable.

Clone this wiki locally