Skip to main content

find_statement_line

Function find_statement_line 

Source
fn find_statement_line(file_text: &str, keyword: &str) -> Option<u32>
Expand description

Find the 0-based line number where a statement keyword appears.

Case-insensitive scan for lines starting with keyword (e.g., "create materialized view").