1
2
3
4
5
6
7
use dmmf_crate::DataModelMetaFormat;
use query_core::schema::QuerySchema;

#[tracing::instrument(name = "prisma:engine:render_dmmf", skip(query_schema))]
pub fn render_dmmf(query_schema: &QuerySchema) -> DataModelMetaFormat {
    dmmf_crate::from_precomputed_parts(query_schema)
}