How to load data from multiple JSON files
Mathias Rangel Wulff edited this page Mar 14, 2017
·
2 revisions
You can load data from multiple table in async mode with AlaSQL like below:
alasql(['SELECT * FROM JSON("a.json")',
'SELECT * FROM JSON("b.json")',
'SELECT * FROM JSON("c.json")'].then(function(res) {
var a = res[0], b = res[1], b = res[2];
});
© 2014-2023, Andrey Gershun & Mathias Rangel Wulff
Please let us know if something could be described better by submitting an issue