Class representing a MySQL result set