cel2ansisql

package
v0.0.0-...-7888263 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

README

CEL2ANSISQL

This package builds a mapper between the Common Expression Language and Structured Query Language standards. Specifically, this package attempts to provide a mapping for ANSI SQL, as a way to ensure the highest re-usability of the SQL generated.

Mapping Table

Operators
CEL SQL
== =
&& AND
|| OR
Functions
CEL SQL
startsWith($1) LIKE CONCAT($1, '%%')

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToSQL

func ConvertToSQL(a *cel.Ast) (string, error)

ConvertToSQL converts a CEL AST to ANSI SQL

Types

This section is empty.

Jump to

Keyboard shortcuts

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