Function: useCollectionFetch
▸ useCollectionFetch<M
, UserType
>(«destructured»
): CollectionFetchResult
<M
>
This hook is used to fetch collections using a given collection
Type parameters
Name | Type |
---|---|
M | extends Record <string , any > |
UserType | extends User |
Parameters
Name | Type |
---|---|
«destructured» | CollectionFetchProps <M > |