'loop over a query to create an Manual ArryOfStructs Data
I am have a query data and want to create a manual array of structs with it, i am using this code but it seems wrong. what i am missing here what should do it here
for(i in myquery) {
st['Contact'][#i#]['ID'] = i.id;
st['Contact'][#i#]['Name'] = i.name;
st['Contact'][#i#]['Email'] = i.email;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
