{ debug => 1,
dump_directory => './lib',
},
- [ 'dbi:Pg:dbname="foo"', 'myuser', 'mypassword' ],
+ [ 'dbi:Pg:dbname="foo"', 'myuser', 'mypassword', { loader_class => 'MyLoader' } ],
);
# from the command line or a shell script with dbicdump (distributed
make_schema_at(
'New::Schema::Name',
{ debug => 1 },
- [ 'dbi:Pg:dbname="foo"','postgres' ],
+ [ 'dbi:Pg:dbname="foo"','postgres','', { loader_class => 'MyLoader' } ],
);
# Inside a script, specifying a dump directory in which to write
make_schema_at(
'New::Schema::Name',
{ debug => 1, dump_directory => './lib' },
- [ 'dbi:Pg:dbname="foo"','postgres' ],
+ [ 'dbi:Pg:dbname="foo"','postgres','', { loader_class => 'MyLoader' } ],
);
+The last hashref in the C<\@connect_info> is checked for loader arguments such
+as C<loader_options> and C<loader_class>, see L</connection> for more details.
+
=cut
sub make_schema_at {