MCPcopy Create free account
hub / github.com/araddon/qlbridge / LexDdlTableStorage

Function LexDdlTableStorage

lex/dialect_sql.go:640–652  ·  view source on GitHub ↗

LexDdlTableStorage data definition language column (repeated) ENGINE=InnoDB AUTO_INCREMENT=4080 DEFAULT CHARSET=utf8

(l *Lexer)

Source from the content-addressed store, hash-verified

638// ENGINE=InnoDB AUTO_INCREMENT=4080 DEFAULT CHARSET=utf8
639//
640func LexDdlTableStorage(l *Lexer) StateFn {
641
642 l.SkipWhiteSpaces()
643 if l.IsEnd() {
644 return nil
645 }
646
647 r := l.Peek()
648 if r == '=' {
649 return LexEngineKeyValue
650 }
651 return nil
652}
653
654// LexDdlAlterColumn data definition language column alter
655//

Callers

nothing calls this directly

Calls 3

SkipWhiteSpacesMethod · 0.80
IsEndMethod · 0.65
PeekMethod · 0.65

Tested by

no test coverage detected