> One of the nice things about .store() is that it decides whether to insert
> or update automatically, is this possible using a syntax that is compatible
> with .batch()?

The idea would be to handle that in Factory.batchStore(TableRecord<?>...);

> Never mind, I found it.  onDuplicateKeyUpdate().

That, of course, is a viable alternative. You could pass INSERT .. ON
DUPLICATE KEY UPDATE .. statements to Factory.batch(). I'm curious how
that performs on MySQL

Cheers
Lukas

Reply via email to