[Dbix-class] Defect in DBIC's doc (deploy).
Oleg Pronin
syber.rus at gmail.com
Sun May 20 14:55:17 GMT 2007
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 =3D> ['mytable'],
});
has no effect.
Right syntax is
$schema->deploy({
parser_args =3D> {source_names =3D> ['mytable']},
});
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070520/915=
bce29/attachment.htm
More information about the Dbix-class
mailing list