Node Async db call returning promise

后端 未结 0 2003
生来不讨喜
生来不讨喜 2021-01-01 23:21

I\'m working on a node project with sqlite as my db.

function select_from_table(tablename, limit) {

  let arr = [];
  let sql = `SELECT id FROM ${tablename}          


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