added query function that returns statement object
admin events saving