Reliably generate a complete field generation string from its INFORMATION_SCHEMA.COLUMNS definition

后端 未结 0 783
小蘑菇
小蘑菇 2020-12-23 01:37

I have the following code:

const columns = await this.connection.queryP(`SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = \'${this.table}\'`)


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