sqltypes

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package sqltypes provides custom SQL type definitions for CEL (Date, Time, DateTime).

Index

Constants

This section is empty.

Variables

View Source
var (
	// Date represents a SQL DATE type for CEL.
	Date = decls.NewAbstractType("DATE")
	// Time represents a SQL TIME type for CEL.
	Time = decls.NewAbstractType("TIME")
	// DateTime represents a SQL DATETIME type for CEL.
	DateTime = decls.NewAbstractType("DATETIME")
	// Interval represents a SQL INTERVAL type for CEL.
	Interval = decls.NewAbstractType("INTERVAL")
	// DatePart represents a SQL date_part function type for CEL.
	DatePart = decls.NewAbstractType("date_part")
)
View Source
var SQLTypeDeclarations = cel.Types(

	Date, Time, DateTime, Interval, DatePart,
)

SQLTypeDeclarations provides CEL type declarations for custom SQL types.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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