Skip to main content
Version: v10.0.0

DehydratedDb

What db.dehydrate() returns: the server rows and loaded subsets, as type-tagged JSON


Import
import { DehydratedDb } from "@hyper-fetch/db"

Preview​

type DehydratedDb = {
__dehydrated: true;
collections: unknown;
}

Structure​

DehydratedDb
NameTypeDescription
__dehydrated
true
collections
unknown