Skip to main content

parse_sources_with_external

Function parse_sources_with_external 

Source
pub fn parse_sources_with_external(
    sources: &[(String, String)],
    external: &[TableDef],
) -> Result<Schema, Error>
Expand description

Like parse_sources, but with additional already-known tables (module snapshots) available for foreign-key/relation resolution — so an app table can references(SomeModuleStruct) a table it doesn’t define. The external tables are not part of the returned schema.