WhereClause.anyOf()

Syntax

table.where(indexOrPrimKey).anyOf(array) or
table.where(indexOrPrimKey).anyOf(key1, key2, keyN, ...)

Parameters

indexOrPrimKey: StringName of an index or primary key registered in Version.stores()
arrayArray of keys to look for
key1, key2, keyNKeys to look for

Return Value

Collection

Implementation Details

This method is an extension to the standard indexedDB API and is implemented using an algorithm invented by David Fahlander. For more details, please read this article

Table of Contents