MCPcopy Index your code
hub / github.com/cloudspannerecosystem/spanner-cli / BuildStatement

Function BuildStatement

statement.go:137–139  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

135)
136
137func BuildStatement(input string) (Statement, error) {
138 return BuildStatementWithComments(input, input)
139}
140
141func BuildStatementWithComments(stripped, raw string) (Statement, error) {
142 switch {

Callers 10

TestBuildStatementFunction · 0.85
TestSelectFunction · 0.85
TestDmlFunction · 0.85
TestReadWriteTransactionFunction · 0.85
TestReadOnlyTransactionFunction · 0.85
TestShowCreateTableFunction · 0.85
TestShowColumnsFunction · 0.85
TestShowIndexesFunction · 0.85
TestTruncateTableFunction · 0.85
TestPartitionedDMLFunction · 0.85

Calls 1

Tested by 10

TestBuildStatementFunction · 0.68
TestSelectFunction · 0.68
TestDmlFunction · 0.68
TestReadWriteTransactionFunction · 0.68
TestReadOnlyTransactionFunction · 0.68
TestShowCreateTableFunction · 0.68
TestShowColumnsFunction · 0.68
TestShowIndexesFunction · 0.68
TestTruncateTableFunction · 0.68
TestPartitionedDMLFunction · 0.68