How to use alias 'as' with knex js select

后端 未结 0 1833
北海茫月
北海茫月 2021-02-03 13:16

I need to return a specific json structure to the frontend and in order to do that I need something like

knex.select(\'status as x\')

I\'ve looke

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