I'm querying contact email field in apex class and saving the return record inside a list. but when I debug the list queried then it does not show the email field.Below is the SOQL which I'm using with the debug log :-
listOfContact = [Select Name,recordtype.name, Account.Name,email from Contact where accountid = :Accountobj.id and recordtype.name='abc'];
Here is the debug log which I see :-
listOfContactAssociatedWithAccount(Contact:{Name=ee, Id=0030214569874563210, RecordTypeId=012541258963547812}, Contact:{Name=Apple- 13, Id=0030214569874563854, RecordTypeId=012541258963544571})
Why does it happen and what is solution for this.