function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
I would like to know how one would use the get() method attached to Objects. It seems like something that I might want to use.
get() method is used to fetch the value of a column in a record like following :-
Account ac = [select Id,Name from account where Id=:<your id>];
string accName = ac.get('Name'); // This can be done simply accName = ac.Name
It depends on requirement , for example if you want to create a table with query results dynamically, then this method helps you lot.
get() method is used to fetch the value of a column in a record like following :-
Account ac = [select Id,Name from account where Id=:<your id>];
string accName = ac.get('Name'); // This can be done simply accName = ac.Name
It depends on requirement , for example if you want to create a table with query results dynamically, then this method helps you lot.