Skip to content

How to load data from multiple JSON files

Andrey Gershun edited this page May 26, 2015 · 2 revisions

How to load data from multiple JSON files?

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")',[],function(res) {
               var a = res[0], b = res[1], b = res[2];
    });
Clone this wiki locally