keyrange.js
No description.

File Location

/goog/db/keyrange.js

Classes

goog.db.KeyRange
Creates a new IDBKeyRange wrapper object. Should not be created directly, instead use one of the static factory methods. For example:

Public Protected Private

Global Functions

goog.db.KeyRange.bound(lowerupperopt_lowerOpenopt_upperOpen) !goog.db.KeyRange
Creates a key range with upper and lower bounds.
Arguments:
lower : IDBKeyType
The value of the lower bound.
upper : IDBKeyType
The value of the upper bound.
opt_lowerOpen : boolean=
If true, the range excludes the lower bound value.
opt_upperOpen : boolean=
If true, the range excludes the upper bound value.
Returns: !goog.db.KeyRange  The key range.
code »
goog.db.KeyRange.lowerBound(loweropt_lowerOpen) !goog.db.KeyRange
Creates a key range with a lower bound only, finishes at the last record.
Arguments:
lower : IDBKeyType
The value of the lower bound.
opt_lowerOpen : boolean=
If true, the range excludes the lower bound value.
Returns: !goog.db.KeyRange  The key range.
code »
goog.db.KeyRange.only(key) !goog.db.KeyRange
Creates a new key range for a single value.
Arguments:
key : IDBKeyType
The single value in the range.
Returns: !goog.db.KeyRange  The key range.
code »
goog.db.KeyRange.upperBound(upperopt_upperOpen) !goog.db.KeyRange
Creates a key range with a upper bound only, starts at the first record.
Arguments:
upper : IDBKeyType
The value of the upper bound.
opt_upperOpen : boolean=
If true, the range excludes the upper bound value.
Returns: !goog.db.KeyRange  The key range.
code »

Directory db

File Reference