Skip to main content

inspect_database_schema

Function inspect_database_schema 

Source
pub fn inspect_database_schema(
    database_url: &str,
    schema: &str,
) -> Result<IntrospectedSchema, MigrationError>
Expand description

Inspect one PostgreSQL schema without changing database state.

ยงErrors

Returns an error when the connection fails, the schema does not exist, or catalog rows cannot be read.