Documentation
¶
Index ¶
- func AWSPolicyEqual(a, b any) (any, error)
- func JSONEqual(a, b any) (any, error)
- func Regexp(pattern, source any) (any, error)
- func RegexpLike(source, pattern any) (any, error)
- func RegexpReplace(source, pattern, replacement any) (any, error)
- func RegexpSubstr(source, pattern any) (any, error)
- func Register(drv *sqlite.Driver) error
- func SplitPart(source, separator, part any) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AWSPolicyEqual ¶
AWSPolicyEqual implements aws_policy_equal(a, b): 1 if the two IAM policy documents are equivalent under the retired C normalization rules (see awsPolicyCompare and DIVERGENCES.md), else 0. NULL or unparseable arguments are errors.
func JSONEqual ¶
JSONEqual implements json_equal(a, b): 1 if the documents are deeply equal, else 0. Objects compare unordered, arrays ordered, numbers as doubles with the epsilon rule (1 == 1.0). NULL or unparseable arguments are errors.
func Regexp ¶
Regexp implements regexp(pattern, source), the function SQLite invokes for the REGEXP operator: `X REGEXP Y` evaluates regexp(Y, X).
func RegexpLike ¶
RegexpLike implements regexp_like(source, pattern): 1 on match, else 0. NULL source or pattern yields NULL; an invalid pattern is an error.
func RegexpReplace ¶
RegexpReplace implements regexp_replace(source, pattern, replacement): replaces every match with replacement taken literally ($1 is not expanded, matching the retired C implementation). Any NULL argument yields NULL.
func RegexpSubstr ¶
RegexpSubstr implements regexp_substr(source, pattern): the leftmost match of pattern in source, or NULL if none. NULL source or pattern yields NULL.
Types ¶
This section is empty.