Skip to main content
Version: v10.5.2

SyncWhere

Maps the eq filters of a query to listener params or a subscription payload, for the fields in Fields


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

Preview​

type SyncWhere<Row,Fields> = { [ Field in Fields]: { eq: (value: Row[Field]) => ListenerPatch } };