MCPcopy Index your code
hub / github.com/uber/aresdb / IsUUIDColumn

Function IsUUIDColumn

query/expr/ast.go:626–631  ·  view source on GitHub ↗

IsUUIDColumn returns whether an Expr is UUID

(expression Expr)

Source from the content-addressed store, hash-verified

624
625// IsUUIDColumn returns whether an Expr is UUID
626func IsUUIDColumn(expression Expr) bool {
627 if varRef, ok := expression.(*VarRef); ok {
628 return varRef.DataType == memCom.UUID
629 }
630 return false
631}
632
633// Cast returns an expression that casts the input to the desired type.
634// The returned expression AST will be used directly for VM instruction

Callers 2

RewriteMethod · 0.92
RewriteMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected