Converting array into key value pair

后端 未结 0 385
醉酒成梦
醉酒成梦 2021-02-05 14:20

I am retrieving records from a table using the following statement and sending it as json response of an api.

  $locations = \\App\\Models\\Location::all();


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题