Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
instantiate a map with soql
KIN
Programming language:
Whatever
2021-06-16 00:02:47
0
Q:
instantiate a map with soql
Bananach
Code:
Whatever
2021-08-09 11:29:07
Map<ID, Contact> m = new Map<ID, Contact>([SELECT Id, LastName FROM Contact]);
1
Tags
map
Related
use map to loop through an array
when to use list set map
New to Communities?
Join the community