Oleg Pronin wrote:
Greetings.
There is a small defect in docs:
http://search.cpan.org/~blblack/DBIx-Class-0.07006/lib/DBIx/Class/Schema.pm#deploy_(EXPERIMENTAL)
It is said that i need to add "source_names to |$sqlt_args| containing
an array reference of source <http://search.cpan.org/perldoc?source>
names of tables to be deployed".
but
$schema->deploy({
source_names => ['mytable'],
});
has no effect.
Right syntax is
$schema->deploy({
parser_args => {source_names => ['mytable']},
});
------------------------------------------------------------------------
This has already been fixed in the -current branch so passing a sources
arg to deploy works (It got implemented in -current first, then someone
else patched trunk because I forgot to add a note to the change log - my
bad.)
-ash
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/