@@ -67,7 +67,7 @@ trait IDBStoreLike[S] extends js.Object {
67
67
* key. This is for retrieving specific records from an object store.
68
68
*
69
69
* Note: This method produces the same result for: a) a record that doesn't exist in the database and b) a record
70
- * that has an undefined value. To tell these situations apart, call the [[openCursor() ]] method with the same key.
70
+ * that has an undefined value. To tell these situations apart, call the [[openCursor ]] method with the same key.
71
71
* That method provides a cursor if the record exists, and no cursor if it does not.
72
72
*/
73
73
def get (key : IDBKey | IDBKeyRange ): IDBRequest [S , IDBValue ] = js.native
@@ -85,9 +85,9 @@ trait IDBStoreLike[S] extends js.Object {
85
85
*
86
86
* To tell these situations apart, you either call
87
87
*
88
- * - the [[openCursor() ]] method with the same key. That method provides a cursor if the record exists, and no
89
- * cursor if it does not.
90
- * - the [[count() ]] method with the same key, which will return 1 if the row exists and 0 if it doesn't.
88
+ * - the [[openCursor ]] method with the same key. That method provides a cursor if the record exists, and no cursor
89
+ * if it does not.
90
+ * - the [[count ]] method with the same key, which will return 1 if the row exists and 0 if it doesn't.
91
91
*/
92
92
def getAll (query : js.UndefOr [IDBKeyRange | IDBKey ] = js.native,
93
93
count : js.UndefOr [Int ] = js.native): IDBRequest [S , js.Array [IDBValue ]] = js.native
@@ -103,8 +103,8 @@ trait IDBStoreLike[S] extends js.Object {
103
103
* - a record that doesn't exist in the database
104
104
* - a record that has an undefined value
105
105
*
106
- * To tell these situations apart, you need to call the [[openCursor() ]] method with the same key. That method
107
- * provides a cursor if the record exists, and no cursor if it does not.
106
+ * To tell these situations apart, you need to call the [[openCursor ]] method with the same key. That method provides
107
+ * a cursor if the record exists, and no cursor if it does not.
108
108
*/
109
109
def getAllKeys (query : js.UndefOr [IDBKeyRange | IDBKey ] = js.native,
110
110
count : js.UndefOr [Int ] = js.native): IDBRequest [S , js.Array [IDBKey ]] = js.native
@@ -167,9 +167,9 @@ class IDBObjectStore extends IDBStoreLike[IDBObjectStore] {
167
167
/** Returns an [[IDBRequest ]] object, and, in a separate thread, deletes the specified record or records.
168
168
*
169
169
* Either a key or an [[IDBKeyRange ]] can be passed, allowing one or multiple records to be deleted from a store. To
170
- * delete all records in a store, use [[clear() ]].
170
+ * delete all records in a store, use [[clear ]].
171
171
*
172
- * Bear in mind that if you are using an [[IDBCursor ]], you can use the [[IDBCursor.delete() ]] method to more
172
+ * Bear in mind that if you are using an [[IDBCursor ]], you can use the [[IDBCursor.delete ]] method to more
173
173
* efficiently delete the current record — without having to explicitly look up the record's key.
174
174
*/
175
175
def delete (key : IDBKey | IDBKeyRange ): IDBRequest [IDBObjectStore , Unit ] = js.native
0 commit comments