MCPcopy Index your code
hub / github.com/bytebase/bytebase / FormatMaximumSQLResultSizeMessage

Function FormatMaximumSQLResultSizeMessage

backend/common/util.go:224–226  ·  view source on GitHub ↗
(limit int64)

Source from the content-addressed store, hash-verified

222}
223
224func FormatMaximumSQLResultSizeMessage(limit int64) string {
225 return fmt.Sprintf("Output of query exceeds max allowed output size of %dMB", limit/1024/1024)
226}
227
228func IsNil(val any) bool {
229 if val == nil {

Callers 6

QueryConnMethod · 0.92
queryStatementMethod · 0.92
QueryConnMethod · 0.92
setQueryResultRowsFunction · 0.92
RowsToQueryResultFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected