DBIx::C...:Sandbox(3)
πΈ NAME πΈ
okay bestie, welcome to the DBIx::Class::Migration::Sandbox(3) page β it's the User Contributed Perl Documentation for the DB Sandbox Role, and it's here to help you make your very own database sandboxes π
β¨
β¨ SYNOPSIS β¨
package MyApp::Schema::Sandbox;
use Moo;
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 π¦
so DBIx::Class::Migration lets you easily create user level sandboxes of your databases, and those are literally perfect for prototyping and development π«Ά
it already comes with support for creating MySQL, Sqlite and Postgresql sandboxes. but maybe you have custom sandboxing needs β in which case you can create a class that does this role, no cap π₯
the one required method, make_sandbox, should return something we can pass to connect in DBIx::Class::Schema. that's the whole vibe check π
π₯ SEE ALSO π₯
DBIx::Class::MigrationDBIx::Class::Migration::SqliteSandboxDBIx::Class::Migration::MySQLSandboxDBIx::Class::Migration::PostgresqlSandbox
π AUTHOR π
see DBIx::Class::Migration for author information π
π COPYRIGHT & LICENSE π
see DBIx::Class::Migration for copyright and license information π
πΈ and that's the whole page, bestie β brought to you by perl v5.42.0 docs dated 2020-06-03 π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-DBIx-Class-Migration 0.075-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms