How I can avoid using `array_map` on my results returning primary keys in Laravel's 5.7 database layer?

前端 未结 0 1840
忘了有多久
忘了有多久 2020-11-27 20:09

I have the following table named mytable:

id SERIAL PK
namae VARCHAR

And using laravel 5.7 I need to retrieve t

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