Skip to main content

buffer_column_names

Function buffer_column_names 

Source
pub fn buffer_column_names(source: &str, table: &str) -> Vec<String>
Expand description

Text-scan fallback: harvest the column-name list from a possibly unclosed CREATE TABLE <name> ( body. Returns names in order of appearance. Used when the SQL parser can’t produce a clean AST yet (cursor inside the body the user is still typing).