WhereClause.startsWithAnyOf()

Since v1.2

Syntax

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

Parameters

indexOrPrimKey: StringName of an index or primary key registered in Version.stores()
arrayArray of prefixes (strings) to look for
str1, str2, strNPrefixes (strings) to look for

Return Value

Collection

Table of Contents

We use cookies

We use our own and third-party cookies to personalize content and to analyze web traffic. Read more about cookies