method DatastoreAdapter.prototype.docToEntity
DatastoreAdapter.prototype.docToEntity(
key: Key,
doc: Record<string, unknown>,
): { key: Key; data: Record<string, unknown>; }

Parameters

key: Key
doc: Record<string, unknown>

Return Type

{ key: Key; data: Record<string, unknown>; }

Usage

import { DatastoreAdapter } from ".";