MCPcopy Create free account
hub / github.com/araddon/qlbridge / Validate

Method Validate

expr/node.go:543–564  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

541 io.WriteString(w, ")")
542}
543func (m *FuncNode) Validate() error {
544
545 if m.F.CustomFunc != nil {
546 // Nice new style function
547 ev, err := m.F.CustomFunc.Validate(m)
548 if err != nil {
549 return err
550 }
551
552 m.Eval = ev
553 return nil
554 }
555
556 if m.Missing {
557 switch strings.ToLower(m.Name) {
558 case "distinct":
559 return nil
560 }
561 return nil
562 }
563 return nil
564}
565func (m *FuncNode) ChildrenArgs() []Node {
566 return m.Args
567}

Callers 1

FromPBMethod · 0.95

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected