I had some trouble with populate yesterday that turned out to be because insert_bulk doesn't properly handle default values.

I ended up having to write code which set the default values explicitly before calling populate, using information from the result_source. This seems like something that should be handled internally in insert_bulk?

When I captured a return value from the call to populate(), everything worked as expected, but this isn't a good solution for my application, since some of the populate calls will contain many rows.

We're using version 0.08111 if it matters.

Thanks!
Jim

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to