IDBObjectStore.idl [plain text]
typedef (DOMString or sequence<DOMString>) IDBKeyPath;
[
ActiveDOMObject,
Conditional=INDEXED_DATABASE,
GenerateIsReachable=Impl,
JSCustomMarkFunction,
SkipVTableValidation,
] interface IDBObjectStore {
attribute DOMString name;
readonly attribute IDBKeyPath? keyPath;
readonly attribute DOMStringList indexNames;
readonly attribute IDBTransaction transaction;
readonly attribute boolean autoIncrement;
[CallWith=GlobalObject, MayThrowException] IDBRequest put(any value, optional any key);
[CallWith=GlobalObject, MayThrowException] IDBRequest add(any value, optional any key);
[CallWith=GlobalObject, ImplementedAs=deleteFunction, MayThrowException] IDBRequest delete(IDBKeyRange? keyRange);
[CallWith=GlobalObject, ImplementedAs=deleteFunction, MayThrowException] IDBRequest delete(any key);
[CallWith=GlobalObject, MayThrowException] IDBRequest get(IDBKeyRange? key);
[CallWith=GlobalObject, MayThrowException] IDBRequest get(any key);
[CallWith=GlobalObject, MayThrowException] IDBRequest getKey(IDBKeyRange? key);
[CallWith=GlobalObject, MayThrowException] IDBRequest getKey(any key);
[CallWith=GlobalObject, MayThrowException] IDBRequest clear();
[CallWith=GlobalObject, MayThrowException] IDBRequest openCursor(optional IDBKeyRange? range = null, optional IDBCursorDirection direction = "next");
[CallWith=GlobalObject, MayThrowException] IDBRequest openCursor(any key, optional IDBCursorDirection direction = "next");
[CallWith=GlobalObject, MayThrowException] IDBRequest openKeyCursor(optional IDBKeyRange? range = null, optional IDBCursorDirection direction = "next");
[CallWith=GlobalObject, MayThrowException] IDBRequest openKeyCursor(any key, optional IDBCursorDirection direction = "next");
[CallWith=GlobalObject, MayThrowException] IDBRequest getAll(optional IDBKeyRange? range = null, optional [EnforceRange] unsigned long count);
[CallWith=GlobalObject, MayThrowException] IDBRequest getAll(any key, optional [EnforceRange] unsigned long count);
[CallWith=GlobalObject, MayThrowException] IDBRequest getAllKeys(optional IDBKeyRange? range = null, optional [EnforceRange] unsigned long count);
[CallWith=GlobalObject, MayThrowException] IDBRequest getAllKeys(any key, optional [EnforceRange] unsigned long count);
[CallWith=GlobalObject, MayThrowException] IDBIndex createIndex(DOMString name, (DOMString or sequence<DOMString>) keyPath, optional IDBIndexParameters options);
[MayThrowException] IDBIndex index(DOMString name);
[MayThrowException] void deleteIndex(DOMString name);
[CallWith=GlobalObject, MayThrowException] IDBRequest count(optional IDBKeyRange? range = null);
[CallWith=GlobalObject, MayThrowException] IDBRequest count(any key);
};
dictionary IDBIndexParameters {
boolean unique = false;
boolean multiEntry = false;
};