@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
65 lines (34 loc) • 1.01 kB
Markdown
---
lang: en
title: 'API docs: filter.filterbuilder.where'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/filter
permalink: /doc/en/lb4/apidocs.filter.filterbuilder.where.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/filter](./filter.md) > [FilterBuilder](./filter.filterbuilder.md) > [where](./filter.filterbuilder.where.md)
## FilterBuilder.where() method
Declare a where clause
**Signature:**
```typescript
where(w: Where<MT>): this;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
w
</td><td markdown="1">
[Where](./filter.where.md)<!-- --><MT>
</td><td markdown="1">
Where object
</td></tr>
</tbody></table>
**Returns:**
this