Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ wrapThis
Function
wrapThis
compiler/semantic/sql.go:733–735 ·
view source on GitHub ↗
(n ast.Node, field string)
Source
from the content-addressed store, hash-verified
731
}
732
733
func
wrapThis(n ast.Node, field string) *sem.RecordExpr {
734
return
wrapField(field, sem.NewThis(n, nil))
735
}
736
737
func
wrapField(field string, e sem.Expr) *sem.RecordExpr {
738
return
&sem.RecordExpr{
Callers
1
sqlSelect
Method · 0.85
Calls
2
NewThis
Function · 0.92
wrapField
Function · 0.85
Tested by
no test coverage detected