MCPcopy Create free account
hub / github.com/rilldata/rill / hasNilValue

Function hasNilValue

runtime/metricsview/query_expression_sql.go:233–235  ·  view source on GitHub ↗
(expr *Expression)

Source from the content-addressed store, hash-verified

231}
232
233func hasNilValue(expr *Expression) bool {
234 return expr != nil && expr.Value == nil && expr.Condition == nil && expr.Subquery == nil
235}
236
237// safeSQLIdentifierRegexp matches SQL identifiers that don't need to be escaped (alphanumeric and underscores, not starting with a digit).
238var safeSQLIdentifierRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_]*$`)

Callers 3

writeBinaryConditionMethod · 0.85
writeBinaryConditionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected