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"
Source
Package
Preview
type SyncWhere<Row,Fields> = { [ Field in Fields]: { eq: (value: Row[Field]) => ListenerPatch } };