InsertCommand - Part of Command that represent insertion of values into columns Example: INSERT INTO table1 VALUES('hello', 1);
| 159 | // Example: |
| 160 | // INSERT INTO table1 VALUES('hello', 1); |
| 161 | type InsertCommand struct { |
| 162 | Token token.Token |
| 163 | Name Identifier // name of the table |
| 164 | Values []token.Token |
| 165 | } |
| 166 | |
| 167 | func (ls InsertCommand) CommandNode() {} |
| 168 | func (ls InsertCommand) TokenLiteral() string { return ls.Token.Literal } |
nothing calls this directly
no outgoing calls
no test coverage detected