Page Contents
Home > @loopback/repository > CrudRepository > find
CrudRepository.find() method
Find matching records
Signature:
find(filter?: Filter<T>, options?: Options): Promise<(T & Relations)[]>;
Parameters
Parameter | Type | Description |
---|---|---|
filter | Filter<T> | Query filter |
options | Options | Options for the operations |
Returns:
Promise<(T & Relations)[]>
A promise of an array of records found