MCPcopy Create free account
hub / github.com/github/gh-ost / NewParserFromAlterStatement

Function NewParserFromAlterStatement

go/sql/parser.go:59–63  ·  view source on GitHub ↗
(alterStatement string)

Source from the content-addressed store, hash-verified

57}
58
59func NewParserFromAlterStatement(alterStatement string) *AlterTableParser {
60 parser := NewAlterTableParser()
61 parser.ParseAlterStatement(alterStatement)
62 return parser
63}
64
65func (atp *AlterTableParser) tokenizeAlterStatement(alterStatement string) (tokens []string) {
66 terminatingQuote := rune(0)

Callers 1

mainFunction · 0.92

Calls 2

ParseAlterStatementMethod · 0.95
NewAlterTableParserFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…