MCPcopy Create free account
hub / github.com/dataddo/pgq / WithMetadataFilter

Function WithMetadataFilter

consumer.go:252–261  ·  view source on GitHub ↗
(filter *MetadataFilter)

Source from the content-addressed store, hash-verified

250
251// MetadataFilter is a filter for metadata. Right now support only direct matching of key/value
252type (
253 MetadataOperation string
254
255 MetadataFilter struct {
256 Key string
257 Operation MetadataOperation
258 Value string
259 }
260)
261
262const (
263 OpEqual MetadataOperation = "="
264 OpNotEqual MetadataOperation = "<>"

Calls

no outgoing calls