MCPcopy Create free account
hub / github.com/PostHog/duckgres / funcCallNode

Function funcCallNode

transpiler/transform/functions_compat.go:286–291  ·  view source on GitHub ↗
(name string, args ...*pg_query.Node)

Source from the content-addressed store, hash-verified

284}
285
286func funcCallNode(name string, args ...*pg_query.Node) *pg_query.Node {
287 return &pg_query.Node{Node: &pg_query.Node_FuncCall{FuncCall: &pg_query.FuncCall{
288 Funcname: []*pg_query.Node{{Node: &pg_query.Node_String_{String_: &pg_query.String{Sval: name}}}},
289 Args: args,
290 }}}
291}
292
293func binExprNode(op string, l, r *pg_query.Node) *pg_query.Node {
294 return &pg_query.Node{Node: &pg_query.Node_AExpr{AExpr: &pg_query.A_Expr{

Callers 6

rewriteArrayPosition3Method · 0.85
rewriteFormatMethod · 0.85
rewriteDateTrunc3Method · 0.85
rewriteOverlayMethod · 0.85
handleSubstrClampMethod · 0.85
handleSpecialFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected