On Feb 25, 2009, at 08:35 , kk yap wrote:

I was wondering how to do batch inserts to SQLite database in NOX.  I
have managed to do row by row insertion using
Sync_transactional_storage.  However, there does not seem to have any
batch insertion in storage from my grep efforts.  Can someone point me
to the correct place to hunt?

Unfortunately, batching is not supported in 0.5.0. However, you can keep the same database transaction open while inserting many rows. This combined with the fact that the database is local (and not accessed over TCP) guarantees the performance is reasonable even without batching.

Teemu


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to