Environment Concept

Contents

Environment Concept#

An environment groups databases and servers into a single manageable unit. In practice, an environment is one of several isolated areas in an application being developed. An environment can belong to one or more solutions. You can think of an environment as another subsection under your solution.

Examples#

solution cloud_app
{
        name: 'Cloud Application';
}

environment dev
{
        name: 'Development Environment';
        solution: cloud_app;
}

server nexus
{
        environment: dev;
        host: 'nexus.sqlcurrent.com';
}

database mydb
{
        server: nexus;
}

create databases where environment = dev;

See Also#