How to fetch a serial number from a mysql table using Sequelize in nodeJS?

后端 未结 0 1699
感动是毒
感动是毒 2021-01-02 14:17

I have a mysql Query:-

SELECT @a:=@a+1 serial_number,rule FROM pledges,(SELECT @a:= 0) AS a;

This gives me a serial number along with the rul

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