Skip to main content

render_atlas_schema

Function render_atlas_schema 

Source
pub fn render_atlas_schema(
    spec: &AtlasSchemaSpec,
) -> Result<String, ScaffoldError>
Expand description

Render an AtlasSchema (db.atlasgo.io/v1alpha1) resource as YAML.

Returns an error for an empty name or empty schema SQL (nothing to apply), or an incompletely specified database reference.