Works like a snap, thanks. :) From: Markus Schirp Sent: 12.01.2012 15:09 To: [email protected] Subject: Re: [DataMapper] Mass import records Exactly.
On Thu, Jan 12, 2012 at 05:56:21AM -0800, Philipp Kursawe wrote: > And for that I'd need dm-transaction? > From: Markus Schirp > Sent: 12.01.2012 14:12 > To: [email protected] > Subject: Re: [DataMapper] Mass import records > You can do this in a transaction. Sqlite flushes to disk after each write if > without a transaction. > > On Thu, Jan 12, 2012 at 08:20:10AM +0100, Philipp Kursawe wrote: > > I fell that importing 600 records takes over a minute (sqlite3). I am using > > .create currently. Is there a faster way to import records? > > > > -- > > You received this message because you are subscribed to the Google Groups > > "DataMapper" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/datamapper?hl=en. > > > > -- > You received this message because you are subscribed to the Google > Groups "DataMapper" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/datamapper?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "DataMapper" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/datamapper?hl=en. -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en. -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
