---
lang: en
title: 'API docs: filter.filterbuilder.include'
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.include.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/filter](./filter.md) &gt; [FilterBuilder](./filter.filterbuilder.md) &gt; [include](./filter.filterbuilder.include.md)

## FilterBuilder.include() method

Declare `include`

**Signature:**

```typescript
include(...i: (string | string[] | Inclusion)[]): this;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

i


</td><td markdown="1">

(string \| string\[\] \| [Inclusion](./filter.inclusion.md)<!-- -->)\[\]


</td><td markdown="1">

A relation name, an array of relation names, or an `Inclusion` object for the relation/scope definitions


</td></tr>
</tbody></table>

**Returns:**

this


