Implements the parse_insert_command function to handle the insert statement according to the grammar definition. The function now correctly parses the command format insert int string string and creates a structured Statement::Insert with the id, username, and email fields.
5 lines
86 B
Text
5 lines
86 B
Text
---
|
|
source: src/command.rs
|
|
expression: result
|
|
---
|
|
insert 45 "user" "user@example.org"
|