ParseOneRetainComments is similar to ParseOne, but it retains scanned comments in the returned statement's Comment field.
(sql string)
| 253 | // ParseOneRetainComments is similar to ParseOne, but it retains scanned |
| 254 | // comments in the returned statement's Comment field. |
| 255 | func ParseOneRetainComments(sql string) (statements.Statement[tree.Statement], error) { |
| 256 | var p Parser |
| 257 | return p.parseOneWithInt(sql, defaultNakedIntType, retainComments) |
| 258 | } |
| 259 | |
| 260 | // ParseOneWithInt is similar to ParseOn but interprets the INT and SERIAL |
| 261 | // types as the provided integer type. |
nothing calls this directly
no test coverage detected
searching dependent graphs…