[db] Add prepare ... commit when inserting in bulk
DB.insert(List<Map> rows)
allows to insert data in bulk, but there is no nice way to rollback if something fails.
DB.insert(List<Map> rows)
allows to insert data in bulk, but there is no nice way to rollback if something fails.