sqlite: added function for non select statements