Hi Everyone,
Good day!
I have an array result example below.
result values of my first array1:
[ {"id": 1, "cost_center": "24345"}, {"id": 2, "cost_center": "24346"}, {"id": 3, "cost_center": "24347"}]
I want to append those values in array 2.
What I did so far is loop through array1 and get append to array2 which takes too long.
Question:
I there a fastest way where I can directly append the output of array1 into array2?
Thanks!