---
lang: en
title: 'API docs: repository.crudconnector.find'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository
permalink: /doc/en/lb4/apidocs.repository.crudconnector.find.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [CrudConnector](./repository.crudconnector.md) &gt; [find](./repository.crudconnector.find.md)

## CrudConnector.find() method

Find matching entities by the filter

<b>Signature:</b>

```typescript
find(modelClass: Class<Entity>, filter?: Filter, options?: Options): Promise<EntityData[]>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  modelClass | [Class](./repository.class.md)<!-- -->&lt;[Entity](./repository.entity.md)<!-- -->&gt; | The model class |
|  filter | [Filter](./filter.filter.md) | <i>(Optional)</i> The query filter |
|  options | [Options](./repository.options.md) | <i>(Optional)</i> Options for the operation |

<b>Returns:</b>

Promise&lt;[EntityData](./repository.entitydata.md)<!-- -->\[\]&gt;

A promise of an array of entities found for the filter


