MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / RetainComments

Method RetainComments

pkg/sql/scanner/scan.go:99–101  ·  view source on GitHub ↗

RetainComments instructs the scanner to collect SQL comments in the Comments field.

()

Source from the content-addressed store, hash-verified

97// RetainComments instructs the scanner to collect SQL comments in the Comments
98// field.
99func (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).

Callers 1

parseWithDepthMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected