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

Function notEmptySQLCount

backend/plugin/parser/plsql/completion.go:1305–1313  ·  view source on GitHub ↗
(list []base.Statement)

Source from the content-addressed store, hash-verified

1303}
1304
1305func notEmptySQLCount(list []base.Statement) int {
1306 count := 0
1307 for _, sql := range list {
1308 if !sql.Empty {
1309 count++
1310 }
1311 }
1312 return count
1313}
1314
1315func skipHeadingSQLWithoutSemicolon(statement string, caretLine int, caretOffset int) (string, int, int) {
1316 tokens := oracleparser.Tokenize(statement)

Callers 1

skipHeadingSQLsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected