Skip to content

WhereClause.anyOfIgnoreCase()

David Fahlander edited this page Nov 25, 2016 · 4 revisions

Since v1.3.0

Syntax

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

Parameters

indexOrPrimKey: String Name of an index or primary key registered in Version.stores()
array: string[] Array of strings to look for
key1, key2, keyN Keys to look for

Return Value

Collection

Remarks

Search an index for keys that matches any of given strings, ignoring case differences.

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