for example
$data1=[["userId"=>1,"money"=>100],["userId"=>2,"money"=>100]];
$data2=[["userId"=>1,"hit"=>100],["userId"=>3,"hit"=>100]];
$data3=[["userId"=>2,"b"=>100],["userId"=>3,"b"=>100]];
is there a better way to assemble the same data in each array into a piece of data and then insert it into a database? there may be 10W subarrays in a $data. How efficient is it? beg God for an idea.