Brett Gardner writes:
> if you do
>
> $foo = $schema->resultset('Foo')->new({});
> $foo->bar('bar');
> $foo->insert;
Thanks, that should work for what I'm trying to do.
Even with this approach, it's still not possible to insert a row in
which all of the columns except the primary key are non-existent/NULL
and have the key be automagically generated via PK::Auto, right?
Thanks again,
g.
_______________________________________________
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]/