Implement getRecord to retrieve single records