SnapshotLoaderConfig
A snapshot sync as a source of rows. It stands among the loaders, so the planner picks it like a list loader whose
required filters are the sync's
where
fields. It has no request: its rows come with the sync's snapshots.
Import
import { SnapshotLoaderConfig } from "@hyper-fetch/db"
Source
Package
Preview
type SnapshotLoaderConfig = {
byKey?: undefined;
byKeys?: undefined;
cursor?: undefined;
fixed?: undefined;
kind: list;
limit?: undefined;
notation?: undefined;
orderBy?: undefined;
page?: undefined;
request?: undefined;
rows?: undefined;
serverOnly?: undefined;
sync: SyncConfig;
where: Record<string, Partial<Record<ComparisonOperator, unknown>> & { required?: true }>;
}
Structure
SnapshotLoaderConfig
| Name | Type | Description |
|---|---|---|
| byKey | | |
| byKeys | | |
| cursor | | |
| fixed | | |
| kind | | |
| limit | | |
| notation | | |
| orderBy | | |
| page | | |
| request | | |
| rows | | |
| serverOnly | | |
| sync | | |
| where | | The sync's
|