Skip to content

Commit f1ff1d4

Browse files
Shorten method names
1 parent 3d0ab52 commit f1ff1d4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,8 +2711,8 @@ interface IDBObjectStore {
27112711
readonly attribute boolean autoIncrement;
27122712

27132713
[NewObject] IDBRequest put(any value, optional any key);
2714-
[NewObject] IDBRequest putAllValues(sequence<any> values);
2715-
[NewObject] IDBRequest putAllEntries(sequence<sequence<any>> entries);
2714+
[NewObject] IDBRequest putValues(sequence<any> values);
2715+
[NewObject] IDBRequest putEntries(sequence<sequence<any>> entries);
27162716
[NewObject] IDBRequest add(any value, optional any key);
27172717
[NewObject] IDBRequest delete(any query);
27182718
[NewObject] IDBRequest clear();
@@ -2890,7 +2890,7 @@ and false otherwise.
28902890
If successful, |request|'s {{IDBRequest/result}} will be the
28912891
[=object-store/record=]'s [=/key=].
28922892

2893-
: |request| = |store| . {{IDBObjectStore/putAllValues()|putAllValues}}(|values|)
2893+
: |request| = |store| . {{IDBObjectStore/putValues()|putValues}}(|values|)
28942894

28952895
::
28962896
Adds or updates multiple [=object-store/records=] in |store| with the given array of |values|.
@@ -2901,7 +2901,7 @@ and false otherwise.
29012901
If any [=/record=] fails to be stored, no updates will be made and the |request| will fail, with |request|'s {{IDBRequest/error!!attribute}} set to an error e.g. a "{{ConstraintError}}" {{DOMException}}.
29022902

29032903

2904-
: |request| = |store| . {{IDBObjectStore/putAllEntries()|putAllEntries}}(|entries|)
2904+
: |request| = |store| . {{IDBObjectStore/putEntries()|putEntries}}(|entries|)
29052905

29062906
::
29072907
Adds or updates multiple [=object-store/records=] in |store| with the given array of |entries|. Each entry is a two element array with a [=/key=] and [=/value=] for the record.
@@ -3008,11 +3008,11 @@ To <dfn>add or put a single record</dfn> with |handle|, |value|, |key|, and |no-
30083008

30093009
</div>
30103010

3011-
The <dfn method for=IDBObjectStore>putAllValues(|values|)</dfn> method steps are to return the result of running [=add or put multiple records=] with [=/this=], |values|, and false.
3011+
The <dfn method for=IDBObjectStore>putValues(|values|)</dfn> method steps are to return the result of running [=add or put multiple records=] with [=/this=], |values|, and false.
30123012

30133013
<div algorithm>
30143014

3015-
The <dfn method for=IDBObjectStore>putAllEntries(|entries|)</dfn> method steps are:
3015+
The <dfn method for=IDBObjectStore>putEntries(|entries|)</dfn> method steps are:
30163016

30173017
1. Let |keys| be a new [=/list=].
30183018

@@ -3072,7 +3072,7 @@ To <dfn>add or put multiple records</dfn> with |handle|, |values|, |no-overwrite
30723072

30733073
1. [=list/Append=] |r| to |rs|.
30743074

3075-
1. Let |keys| be |rs|.
3075+
1. Set |keys| to |rs|.
30763076

30773077
1. Let |targetRealm| be a user-agent defined [=ECMAScript/Realm=].
30783078

@@ -6861,7 +6861,7 @@ For the revision history of the second edition, see [that document's Revision Hi
68616861
* Added <a href="#accessibility">Accessibility considerations</a> section. ([Issue #327](https://github.com/w3c/IndexedDB/issues/327))
68626862
* Used [[infra]]'s list sorting definition. ([Issue #346](https://github.com/w3c/IndexedDB/issues/346))
68636863
* Added a definition for [=transaction/live=] transactions, and renamed "run an upgrade transaction" to [=/upgrade a database=], to disambiguate "running". ([Issue #408](https://github.com/w3c/IndexedDB/issues/408))
6864-
* Added {{IDBObjectStore/putAllValues()}} and {{IDBObjectStore/putAllEntries()}} methods. ([Issue #69](https://github.com/w3c/IndexedDB/issues/69))
6864+
* Added {{IDBObjectStore/putValues()}} and {{IDBObjectStore/putEntries()}} methods. ([Issue #69](https://github.com/w3c/IndexedDB/issues/69))
68656865

68666866
<!-- ============================================================ -->
68676867
# Acknowledgements # {#acknowledgements}

0 commit comments

Comments
 (0)