cosmos to sqlite

don't commit until the whole script is done?