GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBIX::CLASS::MIGRATION::SANDBOX (3)

.ds Aq ’

NAME

DBIx::Class::Migration::Sandbox - DB Sandbox Role

CONTENTS

SYNOPSIS



    package MyApp::Schema::Sandbox;

    use Moose;
    with DBIx::Class::Migration::Sandbox;

    sub make_sandbox {
      my ($self) = @_;

      ## Custom Processing to establish a running database

      return $dsn, $user, $password;
    }

    __PACKAGE__->meta->make_immutable;



DESCRIPTION

DBIx::Class::Migration lets you easily create user level sandboxes of your databases, which are suitable for prototyping and development. It comes with support for creating MySQL, Sqlite and Postgresql sandboxes. However you might have custom sandboxing needs. In which you can create a class that does this role.

The one required method make_sandbox, should return something we can pass to connect in DBIx::Class::Schema.

SEE ALSO

DBIx::Class::Migration, DBIx::Class::Migration::SqliteSandbox, DBIx::Class::Migration::MySQLSandbox, DBIx::Class::Migration::PostgresqlSandbox

AUTHOR

See DBIx::Class::Migration for author information

COPYRIGHT & LICENSE

See DBIx::Class::Migration for copyright and license information
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DBIX::CLASS::MIGRATION::SANDBOX (3) 2015-03-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.