schema-sql-generator 0.2.0

A set of tools to manage relational database schemas
Documentation
use crate::common::generator_context::GeneratorContext;

pub trait ViewGenerator {
    fn output_views(&self);
}

pub struct DefaultViewGenerator {
    context: GeneratorContext,
}

impl DefaultViewGenerator {
    pub fn new(context: GeneratorContext) -> Self {
        Self {
            context,
        }
    }

    pub fn context(&self) -> &GeneratorContext {
        &self.context
    }
}

impl ViewGenerator for DefaultViewGenerator {
    fn output_views(&self) {
    }
}