Added a getter for 'query'
Added the 'fecth_records' and 'fetch_record' prototype methods