WhereClause.anyOf()

Syntax

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

Parameters

indexOrPrimKey: String

Name of an index or primary key registered in Version.stores()

array

Array of keys to look for

key1, key2, keyN

Keys 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