cel2sql

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cel2sql converts CEL filter expressions to SQL WHERE clauses. It is adapted from github.com/aep-dev/aepc/pkg/cel2ansisql with fixes for cel-go operator naming conventions (e.g. "_==_" instead of "==").

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(env *cel.Env, filter string) (string, error)

Convert compiles a CEL expression against the given environment and returns the equivalent SQL WHERE clause.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL