MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / IsOnly

Method IsOnly

internal/config/config.go:142–144  ·  view source on GitHub ↗

IsOnly returns true if the analyzer is set to "only" mode.

()

Source from the content-addressed store, hash-verified

140
141// IsOnly returns true if the analyzer is set to "only" mode.
142func (a AnalyzerDatabase) IsOnly() bool {
143 return a.isOnly
144}
145
146func (a *AnalyzerDatabase) UnmarshalJSON(data []byte) error {
147 // Try to unmarshal as boolean first

Callers 1

NewCompilerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected