pub fn parse_ddl(ddl: &str) -> Result<Schema, ProtocolError>Expand description
Parse a SQL DDL string into a Schema.
Supports CREATE TABLE, ALTER TABLE, and DROP TABLE statements with
column definitions, primary keys, foreign keys, NOT NULL, UNIQUE,
CHECK, and DEFAULT constraints.
ยงErrors
Returns ProtocolError if the DDL cannot be parsed or
schema construction fails.