Function sql_type::schema::parse_schemas
source · [−]pub fn parse_schemas<'a>(
src: &'a str,
issues: &mut Vec<Issue>,
options: &TypeOptions
) -> Schemas<'a>
Expand description
Parse a schema definition and return a terse description
Errors and warnings are added to issues. The schema is successfully parsed if no errors are added to issues.
The schema definition in srs should be a sequence of the following statements:
- Drop table
- Drop function
- Drop view
- Drop procedure
- Create table
- Create function
- Create view
- Create procedure
- Alter table