Skip to main content

build_schema_cache

Function build_schema_cache 

Source
pub async fn build_schema_cache(
    db: &impl Executor,
    schemas: &[String],
) -> Result<SchemaCache, SchemaCacheError>
Expand description

Introspects a PostgreSQL database and builds a SchemaCache containing all tables, columns, relationships, and functions in the given schemas.