Skip to content

Commit a6a3acc

Browse files
Editorial: Fix links/phrasing in non-normative text about queries
Copy/pasta and repeated edits had muddled the non-normative text around various methods explaining the query parameter, namely "The query parameter... identifying the record/records/values/keys..." was inconsistent in phrasing. plurals and link targets. This cleans it up, resulting in: IDBObjectStore.delete() - [object-store] records IDBObjectStore.get() - [object-store] record value IDBObjectStore.getKey() - [object-store] record key IDBObjectStore.getAll() - [object-store] record values IDBObjectStore.getAllKeys() - [object-store] record keys IDBObjectStore.count() - [object-store] records IDBIndex.get() - [index] referenced value IDBIndex.getKey() - [object-store] record key IDBIndex.getAll() - [index] referenced values IDBIndex.getAllKeys() - [object-store] record keys IDBIndex.count() - [index] records ... where [blah] above is disambiguating the link target just in this commit comment, not in the actual text. As a reminder, an index record's *value* is a *key* in the referenced object store; since this is downright confusing and we're just talking about informative text, the link above is to an object store's record key.
1 parent c435314 commit a6a3acc

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
@@ -3020,7 +3020,7 @@ The <dfn method for=IDBObjectStore>delete(|query|)</dfn> method steps are:
30203020

30213021
<aside class=note>
30223022
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3023-
identifying the [=object-store/records=] keys to be
3023+
identifying the [=object-store/records=] to be
30243024
deleted.
30253025
</aside>
30263026

@@ -3130,7 +3130,7 @@ The <dfn method for=IDBObjectStore>get(|query|)</dfn> method steps are:
31303130

31313131
<aside class=note>
31323132
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3133-
identifying the [=object-store/record=] to be retrieved. If a
3133+
identifying the [=object-store/record=] value to be retrieved. If a
31343134
range is specified, the method retrieves the first existing value in
31353135
that range.
31363136
</aside>
@@ -3235,7 +3235,7 @@ The <dfn method for=IDBObjectStore>getAllKeys(|query|, |count|)</dfn> method ste
32353235

32363236
<aside class=note>
32373237
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3238-
identifying the [=object-store/records=] keys to be retrieved. If null or not
3238+
identifying the [=object-store/record=] keys to be retrieved. If null or not
32393239
given, an [=unbounded key range=] is used. If |count| is specified
32403240
and there are more than |count| keys in range, only the first |count|
32413241
will be retrieved.
@@ -3268,7 +3268,7 @@ The <dfn method for=IDBObjectStore>count(|query|)</dfn> method steps are:
32683268

32693269
<aside class=note>
32703270
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3271-
identifying the [=object-store/records=] keys to be counted. If null or not
3271+
identifying the [=object-store/records=] to be counted. If null or not
32723272
given, an [=unbounded key range=] is used.
32733273
</aside>
32743274

@@ -3799,7 +3799,7 @@ The <dfn method for=IDBIndex>get(|query|)</dfn> method steps are:
37993799

38003800
<aside class=note>
38013801
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3802-
identifying the [=object-store/record=] to be retrieved. If a
3802+
identifying the [=index/referenced value=] to be retrieved. If a
38033803
range is specified, the method retrieves the first existing record in
38043804
that range.
38053805
</aside>
@@ -3870,7 +3870,7 @@ The <dfn method for=IDBIndex>getAll(|query|, |count|)</dfn> method steps are:
38703870

38713871
<aside class=note>
38723872
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3873-
identifying the [=object-store/record=] keys to be retrieved. If null or not given,
3873+
identifying the [=index/referenced values=] to be retrieved. If null or not given,
38743874
an [=unbounded key range=] is used. If |count| is specified and
38753875
there are more than |count| records in range, only the first |count|
38763876
will be retrieved.
@@ -3903,7 +3903,7 @@ The <dfn method for=IDBIndex>getAllKeys(|query|, |count|)</dfn> method steps are
39033903

39043904
<aside class=note>
39053905
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3906-
identifying the [=object-store/records=] keys to be retrieved. If null or not
3906+
identifying the [=object-store/record=] keys to be retrieved. If null or not
39073907
given, an [=unbounded key range=] is used. If |count| is specified
39083908
and there are more than |count| keys in range, only the first |count|
39093909
will be retrieved.
@@ -3936,7 +3936,7 @@ The <dfn method for=IDBIndex>count(|query|)</dfn> method steps are:
39363936

39373937
<aside class=note>
39383938
The |query| parameter can be a [=/key=] or [=/key range=] (an {{IDBKeyRange}})
3939-
identifying the [=object-store/records=] keys to be counted. If null or not
3939+
identifying the [=index/records=] to be counted. If null or not
39403940
given, an [=unbounded key range=] is used.
39413941
</aside>
39423942

0 commit comments

Comments
 (0)