but trying to understand what happened when i do db.query('select all', function() {})