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

Method writeValue

runtime/metricsview/query_expression_sql.go:54–57  ·  view source on GitHub ↗
(val any)

Source from the content-addressed store, hash-verified

52}
53
54func (b exprSQLBuilder) writeValue(val any) error {
55 _, err := b.WriteString(sqlstring.ToLiteral(val))
56 return err
57}
58
59func (b exprSQLBuilder) writeSubquery(s *Subquery) error {
60 _, err := b.WriteString("(SELECT ")

Callers 1

writeExpressionMethod · 0.95

Calls 1

ToLiteralFunction · 0.92

Tested by

no test coverage detected