Skip to content

WhereClause.startsWithAnyOfIgnoreCase()

David Fahlander edited this page Feb 24, 2016 · 8 revisions
  • THIS METHOD IS PART OF NEXT RELEASE v1.3.0. CAN BE PREVIEWED IN BRANCH "es6" *

Syntax

table.where(indexOrPrimKey).startsWithAnyOfIgnoreCase(array) or
table.where(indexOrPrimKey).startsWithAnyOfIgnoreCase(str1, str2, strN, ...)

Parameters

indexOrPrimKey: String Name of an index or primary key registered in Version.stores()
array Array of prefixes (strings) to look for
str1, str2, strN Prefixes (strings) to look for

Return Value

Collection or WriteableCollection depending on table type

Clone this wiki locally