hasOmniIntoClause checks if a SelectStmt has an INTO clause (SELECT INTO).
(n *ast.SelectStmt)
| 102 | |
| 103 | // hasOmniIntoClause checks if a SelectStmt has an INTO clause (SELECT INTO). |
| 104 | func hasOmniIntoClause(n *ast.SelectStmt) bool { |
| 105 | return omniIntoClause(n) != nil |
| 106 | } |
| 107 | |
| 108 | // omniIntoClause returns the INTO clause of n, searching set-operation arms |
| 109 | // (UNION/INTERSECT/EXCEPT) — the parser attaches INTO to the first arm, not the root. |
no test coverage detected