Skip to main content

from_sql

Function from_sql 

Source
pub fn from_sql(ddl: &str) -> Result<(ErDiagram, Vec<Note>), SqlError>
Expand description

Read SQL DDL and draw it: the diagram, and the notes on what the reader skipped. See rich_ext::schema::sql::parse for what it reads.