(pb *SqlWherePb)
| 1752 | return &s |
| 1753 | } |
| 1754 | func SqlWhereFromPb(pb *SqlWherePb) *SqlWhere { |
| 1755 | w := SqlWhere{ |
| 1756 | Op: lex.TokenType(pb.GetOp()), |
| 1757 | } |
| 1758 | if pb.Source != nil { |
| 1759 | w.Source = SqlSelectFromPb(pb.Source) |
| 1760 | } |
| 1761 | if pb.Expr != nil { |
| 1762 | w.Expr = expr.NodeFromNodePb(pb.GetExpr()) |
| 1763 | } |
| 1764 | return &w |
| 1765 | } |
| 1766 | |
| 1767 | func (m *SqlInto) Keyword() lex.TokenType { return lex.TokenInto } |
| 1768 | func (m *SqlInto) String() string { return fmt.Sprintf("%s", m.Table) } |
no test coverage detected