> For the complete documentation index, see [llms.txt](https://dexiejs.typogram.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexiejs.typogram.co/whereclause/whereclause.startswithanyof.md). Agents can also search and read this documentation through its [MCP server](https://dexiejs.typogram.co/~gitbook/mcp).

# WhereClause.startsWithAnyOf()

*Since v1.2*

#### Syntax

```javascript
table.where(indexOrPrimKey).startsWithAnyOf(array) or
table.where(indexOrPrimKey).startsWithAnyOf(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
