Is there no interface that takes a number of rows, so this can be grouped into a transaction?