SQL queries are now event emitters and emit an end event.