> For the complete documentation index, see [llms.txt](https://cross-packages.gitbook.io/cross-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cross-packages.gitbook.io/cross-api/pt-br/services/find-in.md).

# FindIn

```typescript
const propertyName = { id : 'id' };
const baseData = [3, 4, 6, 7, 8, 9];
const select = { name: true }

const exampleArray = await this.examplesRepository.findIn(
  {
    where: { id: [3, 4, 6, 7, 8, 9] },
    relations: ["relation-1", "relation-2"], // ou { "relation-1": true, "relation-2": true }
    order: { id: 'ASC' },
    select,
  },
  trx,
);

// Busca todos e seleciona name onde id entre = "3, 4, 6, 7, 8, 9"

output: [exampleArray]
```

***
