pub fn render_datamodel_to(
    stream: &mut dyn std::fmt::Write,
    datamodel: &dml::Datamodel,
    datasource: Option<&Datasource>,
) {
    let lowered = LowerDmlToAst::new(datasource).lower(datamodel);
    render_schema_ast_to(stream, &lowered, 2);
}
/// Renders as a string into the stream.
Renders as a string into the stream.
Renders as a string into the stream .
pub fn render_datamodel_to(
    stream: &mut dyn std::fmt::Write,
    datamodel: &dml::Datamodel,
    datasource: Option<&Datasource>,
) {
    let lowered = LowerDmlToAst::new(datasource).lower(datamodel);
    render_schema_ast_to(stream, &lowered, 2);
}
pub fn render_datamodel_to ( stream : & mut dyn std :: fmt :: Write , datamodel : & dml :: Datamodel , datasource : Option < & Datasource > , ) { let lowered = LowerDmlToAst :: new ( datasource ) . lower ( datamodel ) ; render_schema_ast_to ( stream , & lowered , 2 ) ; }
Renders as a string into the stream.
Renders as a string into the stream .
stream
&mut dyn std::fmt::Write
datamodel
&dml::Datamodel
datasource
Option<&Datasource>