All Questions
1 question
-2
votes
1
answer
171
views
How to create a Map with generics Id and String?
How to create a Map<Id, String>([SELECT Id, Name from Account]);?
The query returns Map<Id, Account>.
I want to get a Map<Id, String> without using loops and without having to ...