Skip to main content

extract_ddl_operations

Function extract_ddl_operations 

Source
pub fn extract_ddl_operations(sql: &str) -> Vec<DdlOperation>
Expand description

Extract DDL operations from SQL content.

Comments are ignored: they can neither introduce nor suppress an operation, and keywords inside them (NOT NULL, DEFAULT, …) never influence the parsed result.