Make SELECT statement return the  object, so user can specify the fetching mode