added static returnFullRecord method to Query