Integrate new db.exec() and sanitation API