package
0.2.1
Repository: https://github.com/theory/sqljson.git
Documentation: pkg.go.dev

# Functions

Exists checks whether the JSON path returns any item for the specified JSON value.
First returns the first JSON item returned by the JSON path for the specified JSON value, or nil if there are no results.
Match returns the result of a JSON path predicate check for the specified JSON value.
Query returns all JSON items returned by the JSON path for the specified JSON value.
WithSilent suppresses the following errors: missing object field or array element, unexpected JSON item type, datetime and numeric errors.
WithTZ allows casting between TZ and non-TZ time and timestamp types.
WithVars specifies variables to use during execution.

# Variables

ErrExecution errors denote runtime execution errors.
ErrInvalid errors denote invalid or unexpected execution.
ErrVerbose errors are execution errors that can be suppressed by [WithSilent].
NULL is returned when Postgres would return NULL from Match and Exists.

# Structs

Executor represents the context for jsonpath execution.

# Type aliases

Option specifies an execution option.
Vars represents JSON path variables and their values.