MCPcopy Create free account
hub / github.com/dolthub/doltgresql / ParseExprs

Function ParseExprs

postgres/parser/parser/parse.go:357–362  ·  view source on GitHub ↗

ParseExprs is a short-hand for parseExprs(sql)

(sql []string)

Source from the content-addressed store, hash-verified

355
356// ParseExprs is a short-hand for parseExprs(sql)
357func ParseExprs(sql []string) (tree.Exprs, error) {
358 if len(sql) == 0 {
359 return tree.Exprs{}, nil
360 }
361 return parseExprs(sql)
362}
363
364// ParseExpr is a short-hand for parseExprs([]string{sql})
365func ParseExpr(sql string) (tree.Expr, error) {

Callers

nothing calls this directly

Calls 1

parseExprsFunction · 0.85

Tested by

no test coverage detected