@textile/hub > ReadTransaction > find
ReadTransaction.find() method
find queries the store for entities matching the given query parameters. See Query for options.
Signature:
find<T = unknown>(query: QueryJSON): Promise<Array<T>>;
Parameters
Parameter | Type | Description |
---|---|---|
query | QueryJSON | The object that describes the query. See Query for options. Alternatively, see QueryJSON for the basic interface. |
Returns:
Promise<Array<T>>