Skip to content

WhereClause.anyOfIgnoreCase()

David Fahlander edited this page Feb 24, 2016 · 4 revisions

THIS METHOD IS PART OF NEXT RELEASE v1.3.0. CAN BE PREVIEWED IN BRANCH "es6"

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

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