Skip to main content

is_command_like

Function is_command_like 

Source
pub fn is_command_like(text: &str) -> bool
Expand description

Keyword gate: whether the text opens with a transaction or session command keyword. Regular statements skip the API-layer parse entirely and are parsed once inside the query engine.