goog.db
Namespacegoog.db.Cursor
ClassCreates a new IDBCursor wrapper object. Should not be created directly, access cursor through object store. … more
goog.db.Error
ClassA database error. Since the stack trace can be unhelpful in an asynchronous context, the error provides a message about where it was produced. … more
goog.db.Index
ClassCreates an IDBIndex wrapper object. Indexes are associated with object stores and provide methods for looking up objects based on their non-key properties. Should not be created directly, access through the object store it belongs to. … more
goog.db.IndexedDb
ClassCreates an IDBDatabase wrapper object. The database object has methods for setting the version to change the structure of the database and for creating transactions to get or modify the stored records. Should not be created directly, call {@link goog.db.openDatabase} to set up the connection. … more
goog.db.KeyRange
ClassCreates a new IDBKeyRange wrapper object. Should not be created directly, instead use one of the static factory methods. For example: … more
goog.db.ObjectStore
ClassCreates an IDBObjectStore wrapper object. Object stores have methods for storing and retrieving records, and are accessed through a transaction object. They also have methods for creating indexes associated with the object store. They can only be created when setting the version of the database. Should not be created directly, access object stores through transactions. … more
goog.db.Transaction
ClassCreates a new transaction. Transactions contain methods for accessing object stores and are created from the database object. Should not be created directly, open a database and call createTransaction on it. … more
.openDatabase(name)
Opens a database connection and wraps it.
name
{string
}
goog.async.Deferred
}