Код: Выделить всё
let table = db.exec("select * from Person")[0];
let res = db.exec("select * from @table", {"@table": table});
Подробнее здесь: https://stackoverflow.com/questions/795 ... -in-sql-js
Код: Выделить всё
let table = db.exec("select * from Person")[0];
let res = db.exec("select * from @table", {"@table": table});