You need to sign in to do that
Don't have an account?
morganeCRMCLOUDER
updating database with values from a map
Hello,
I have a map like this :
Map<String, Double> myMap;
I filled it with a loop, it's works fine.
Now how do I udpate the fields corresponding to this query :
List<UBI__SnOP_Planning_Record__c> listQuery = [SELECT id, Quantity__c FROM myTable ]
with the values from myMap ?
It's ok :)
I did this :
All Answers
How you are planning to compare which record corresponds to which key\value in map
It's ok :)
I did this :