Encodes a probe as a key string.
Serialises a parsed Probe back into its compact string representation suitable for use as a Projection or Selection key.
The probe to encode
The encoded key string
encodeProbe({ target: ">=", pipe: ["year"], path: ["releaseDate"] });// → '>=year:releaseDate' Copy
encodeProbe({ target: ">=", pipe: ["year"], path: ["releaseDate"] });// → '>=year:releaseDate'
decodeProbe
Encodes a probe as a key string.
Serialises a parsed Probe back into its compact string representation suitable for use as a Projection or Selection key.