I am planning on implementing mongodb bulk inserts. They should be a bit faster.

 

Van: web2py@googlegroups.com [mailto:web2py@googlegroups.com] Namens nick name
Verzonden: donderdag 15 december 2011 23:11
Aan: web2py@googlegroups.com
Onderwerp: [web2py] Re: bulk_insert

 

bulk insert is not really bulk except on GAE, although it might potentially be 
in the future. The non GAE implementation at this point is:

    def bulk_insert(self, table, items):
        return [self.insert(table,item) for item in items]

No database seems to override it.

  _____  

Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2012.0.1890 / Virusdatabase: 2108/4681 - datum van uitgifte: 12/14/11

Reply via email to