Skip to main content

looks_like_sqlx

Function looks_like_sqlx 

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

Whether text looks like Dataform SQLX: it has a block (config {, js {, …) at the start of a line, or a ${ anywhere.