32 const std::string&
name)
33 : store_name(name), transaction(transaction) {}
35 IDBObjectStore::~IDBObjectStore() {}
81 this,
transaction, std::move(clone), key, no_overwrite));
132 cursor->request = request;
167 NotImplemented(
"clear");
168 NotImplemented(
"count");
169 NotImplemented(
"createIndex");
170 NotImplemented(
"deleteIndex");
171 NotImplemented(
"index");
172 NotImplemented(
"indexNames");
ExceptionOr< void > StoreInProto(Any input, proto::Value *result)
const Member< IDBTransaction > transaction
void Trace(memory::HeapTracer *tracer) const override
ExceptionOr< RefPtr< IDBRequest > > Put(Any value, optional< IdbKeyType > key)
ExceptionOr< RefPtr< IDBRequest > > Get(IdbKeyType key)
const std::string store_name
IDBObjectStore(RefPtr< IDBTransaction > transaction, const std::string &name)
ExceptionOr< RefPtr< IDBRequest > > AddOrPut(Any value, optional< IdbKeyType > key, bool no_overwrite)
void Trace(const Traceable *ptr)
#define RETURN_IF_ERROR(code)
const optional< std::string > key_path
ExceptionOr< RefPtr< IDBRequest > > Delete(IdbKeyType key)
T value_or(U &&default_value) const &
ExceptionOr< RefPtr< IDBRequest > > Add(Any value, optional< IdbKeyType > key)
ExceptionOr< RefPtr< IDBRequest > > OpenCursor(optional< IdbKeyType > range, optional< IDBCursorDirection > direction)
void Trace(memory::HeapTracer *tracer) const override
static JsError DOMException(ExceptionCode code)
const bool auto_increment