RetainComments instructs the scanner to collect SQL comments in the Comments field.
()
| 97 | // RetainComments instructs the scanner to collect SQL comments in the Comments |
| 98 | // field. |
| 99 | func (s *Scanner) RetainComments() { |
| 100 | s.retainComments = true |
| 101 | } |
| 102 | |
| 103 | // Cleanup is used to avoid holding on to memory unnecessarily (for the cases |
| 104 | // where we reuse a Scanner). |