DbPersistenceOptions
Import
import { DbPersistenceOptions } from "@hyper-fetch/db"
Source
Package
Preview
type DbPersistenceOptions = {
networkTimeout?: number;
scope?: string;
storage: DbStorage;
version?: string | number;
}
Structure
DbPersistenceOptions
| Name | Type | Description |
|---|---|---|
| networkTimeout | | How long a query whose restore found no rows waits for the network before it shows an empty result |
| scope | | Keeps one user's or tenant's data apart from another's, such as the user id |
| storage | | |
| version | | Persisted rows of another version are cleared. The outbox is kept, because it holds the only copy of writes. |
