db.read() - cieszynski/dberta.js GitHub Wiki

Syntax

DB.read(string1, ...stringN)
Create a transaction for one or more object stores for read-only actions. All specified object stores can be accessed during this transaction.

Parameters

string1, ...stringN
One or more object store name(s) as string.

Return value

A Promise that resolves to a read-only transction (TRANSACTION).

Exceptions

ReadOnlyError
The transaction associated with this operation is in read-only mode.