API reference@melon-db/db-react
useFindMany
@melon-db/db-react — useFindMany
@melon-db/db-react API Reference
Function: useFindMany()
useFindMany<
T,U>(collection,args?,options?):U
Defined in: hooks.ts:261
Reactive Prisma-style findMany hook.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends Record<string, unknown> | Record<string, unknown> |
U | T[] |
Parameters
| Parameter | Type |
|---|---|
collection | string |
args? | PrismaFindManyArgs |
options? | UseQueryOptions<T, U> |
Returns
U
