-
-
Notifications
You must be signed in to change notification settings - Fork 679
Transaction.table()
David Fahlander edited this page Oct 10, 2016
·
6 revisions
** DEPRECATED ** This method is deprecated. Use db.table(tableName instead)
trans.table(nameName)
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.
Returned Table instance will be a singleton Table instance and will not be bound to given transaction.
Dexie.js - minimalistic and bullet proof indexedDB library