Rindle docs and package mapSkip to main content

to_schema

Function to_schema 

Source
pub fn to_schema(ws: &WireSchema) -> Schema
Expand description

Rebuild an engine Schema from a WireSchema (the receiver side). The inverse of to_wire for every field the receiver uses (columns, PK, sort, singular, each relationship’s name + child schema, and any scalar-projection annotation). A child: None relationship becomes a join-only RelDef::new (out-of-view) slot.