Skip to content

WhereClause.anyOf()

David Fahlander edited this page Apr 3, 2014 · 5 revisions

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 or WriteableCollection depending on table type

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

Clone this wiki locally