On Tuesday 09 September 2008 18:19:59 alex bodnaru wrote: > hi az, > > thanks for commenting. > > loading the whole (elixir) model to the (sqlite) db took about 3 > seconds, and it being done once anyway. > so jetflight performance was not a constraint ;) . >...
> > hmm.. interesting. how would u do an initial insert of batch of > > objects (orm-mapped to whatever entangled bunch of tables)? any > > possible optimization? > > for obj in objfactory(somedicts): sess.save(obj); sess.flush() > > isn't very fast thing... > > any needed gymnastics with the objects is possible (grouping by > > type or whatever) ah, no worries, that was a question to jason. in my case it is about inserting several hundreds/thousands objects. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---