Rxdb React
Interfaces
Interfaces
DBContextValue
Database context state
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
db | RxDatabase | undefined | Yes | RxDB instance (undefined while loading) |
loading | boolean | Yes | Loading state |
error | Error | null | Yes | Error if initialization failed |
RxContext
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
db | RxDatabaseBaseExtended | null | Yes |
ProviderProps
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
db | RxDatabase<Collections> | undefined | No |
UseRxQueryOptions
Properties:
| Property | Type | Required | Description |
|---|---|---|---|
pageSize | number | undefined | No | Controls page size, in both "infinite scroll" & "traditional" pagination |
pagination | PaginationMode | undefined | No | Determines pagination mode |
json | boolean | undefined | No | Converts resulting RxDocuments to plain objects |