We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8c7d4 commit a65bd09Copy full SHA for a65bd09
1 file changed
pkg/sqlcmd/format.go
@@ -91,8 +91,9 @@ type sqlCmdFormatterType struct {
91
// FormatterOption configures a Formatter returned by NewSQLCmdDefaultFormatter.
92
type FormatterOption func(*sqlCmdFormatterType)
93
94
-// WithRawErrors implements -j: when raw is true, AddError keeps the "mssql: "
95
-// prefix that go-mssqldb adds to error text instead of stripping it.
+// WithRawErrors controls AddError prefix handling: when raw is true, AddError
+// keeps the "mssql: " prefix that go-mssqldb adds to error text instead of
96
+// stripping it.
97
func WithRawErrors(raw bool) FormatterOption {
98
return func(f *sqlCmdFormatterType) { f.rawErrors = raw }
99
}
0 commit comments