Skip to main content

second_sql_word

Function second_sql_word 

Source
pub fn second_sql_word(sql: &str) -> Option<&str>
Expand description

Return the second SQL keyword/word in sql, skipping leading whitespace, line comments, and block comments, then skipping the first word. Returns None if there is no second word.

The returned slice is a sub-slice of sql in its original case.