Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MemoFilterCELAttributes = []cel.EnvOption{ cel.Variable("content", cel.StringType), cel.Variable("create_time", cel.StringType), cel.Variable("tag", cel.StringType), cel.Variable("update_time", cel.StringType), cel.Variable("visibility", cel.StringType), }
MemoFilterCELAttributes are the CEL attributes for memo.
Functions ¶
func GetConstValue ¶
GetConstValue returns the constant value of the expression.
func GetIdentExprName ¶
GetIdentExprName returns the name of the identifier expression.
Types ¶
type ConvertContext ¶
type ConvertContext struct {
Buffer strings.Builder
Args []any
// The offset of the next argument in the condition string.
// Mainly using for PostgreSQL.
ArgsOffset int
}
func NewConvertContext ¶
func NewConvertContext() *ConvertContext
Click to show internal directories.
Click to hide internal directories.