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

Function GetQuerySpan

backend/plugin/parser/cosmosdb/query_span.go:20–22  ·  view source on GitHub ↗
(_ context.Context, _ base.GetQuerySpanContext, stmt base.Statement, _, _ string, _ bool)

Source from the content-addressed store, hash-verified

18}
19
20func GetQuerySpan(_ context.Context, _ base.GetQuerySpanContext, stmt base.Statement, _, _ string, _ bool) (*base.QuerySpan, error) {
21 return getQuerySpanImpl(stmt.Text)
22}
23
24func getQuerySpanImpl(statement string) (*base.QuerySpan, error) {
25 parseResults, err := ParseCosmosDB(statement)

Callers 1

TestGetQuerySpanFunction · 0.70

Calls 1

getQuerySpanImplFunction · 0.85

Tested by 1

TestGetQuerySpanFunction · 0.56