transaction abstract method
returns a transaction object (Transaction) containing the Transaction.objectStore method, which you can use to access your object store.
mode
can be readonly (idbModeReadOnly), the default or readwrite (idbModeReadWrite)
Implementation
Transaction transaction(Object storeNameOrStoreNames, String mode);