parse_batch

Function parse_batch 

Source
pub fn parse_batch(input: &str) -> Vec<String>
Expand description

Parse a complete input string (e.g., from -e or -f batch mode) into individual statements.

Returns a vector of complete, comment-stripped statements. This is O(n) in the input size (not O(n²) per PR #151).