How can I convert an SQL primary key in JSON to a javascript object key with the other data as it's value

前端 未结 0 1382
余生分开走
余生分开走 2020-12-07 23:16

Whenever I read all my data from a database table and receive it as JSON from my API, I get my data like this (unique_name being the primary key in this example

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