[Dbix-class] bulk_create branch updated

Jess Robinson castaway at desert-island.me.uk
Sat May 19 16:00:37 GMT 2007


On Thu, 17 May 2007, John Napiorkowski wrote:

> Hey,
>
> I checked in an update to the bulk_create branch that
> basically seems to do the job (calls create in array
> context, but bulk_insert in void context) although I'm
> not sure if this is much more efficient.  I have to
> call bulk insert for each nested relationship, for
> example.  Also I run a bunch of nasty maps to convert
> and merge some data structures.  So I'm hoping to
> gather some feedback.
>
> I also still need to clean up the indenting to conform
> to coding standards.  I'll do that when we all think
> the code is doing what we want.
>

Cool stuff!

However, you neglected to create belongs_to rels before the main object.. 
I've added a test to 101populate_rs which fails for you ;)

Jess




More information about the Dbix-class mailing list