Класс ObjectStore
- Наследование
- Object
- JSObject
- DartHtmlDomObject
- ObjectStore
- Аннотации
- @DomName('IDBObjectStore')
- @Unstable()
Статические свойства
- instanceRuntimeType → Type @Deprecated("Только для внутреннего использования"), только для чтения
Конструкторы
- ObjectStore.internal_()
Свойства
- autoIncrement → bool @DocsEditable(), @DomName('IDBObjectStore.autoIncrement'), только для чтения
- indexNames → List<String> @DocsEditable(), @DomName('IDBObjectStore.indexNames'), только для чтения
- keyPath → Object @DocsEditable(), @DomName('IDBObjectStore.keyPath'), только для чтения
- name → String @DocsEditable(), @DomName('IDBObjectStore.name'), только для чтения
- transaction → Transaction @DocsEditable(), @DomName('IDBObjectStore.transaction'), только для чтения
- hashCode → int только для чтения, унаследовано
- runtimeType → Type только для чтения, унаследовано
-
Представление runtime-типа объекта.
Операторы
- operator ==(
other) → bool унаследовано -
Оператор равенства.
Методы
- add(
value, [ key ]) → Future @DomName('IDBObjectStore.add') - clear(
) → Future @DomName('IDBObjectStore.clear') - count(
[key_OR_range ]) → Future<int> @DomName('IDBObjectStore.count') - createIndex(
String name, keyPath, { bool unique, bool multiEntry }) → Index @DomName('IDBObjectStore.createIndex') - delete(
key_OR_keyRange) → Future @DomName('IDBObjectStore.delete') - deleteIndex(
String name) → void @DocsEditable(), @DomName('IDBObjectStore.deleteIndex') - getAll(
Object range, [ int maxCount ]) → Request - getAllKeys(
Object range, [ int maxCount ]) → Request - getObject(
key) → Future @DomName('IDBObjectStore.get') - index(
String name) → Index @DocsEditable(), @DomName('IDBObjectStore.index') - openCursor(
{key, KeyRange range, String direction, bool autoAdvance }) → Stream<CursorWithValue> @DomName('IDBObjectStore.openCursor') -
Создаёт поток курсоров над записями в этом хранилище объектов.
- openKeyCursor(
Object range, [ String direction ]) → Request - put(
value, [ key ]) → Future @DomName('IDBObjectStore.put') - noSuchMethod(
Invocation invocation) → dynamic унаследовано -
Вызывается при обращении к несуществующему методу или свойству.
- toString(
) → String унаследовано -
Возвращает результат выполнения JavaScript-метода
toString.
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-indexed_db/ObjectStore-class.html