-
Notifications
You must be signed in to change notification settings - Fork 688
Andrey Gershun edited this page May 25, 2015
·
3 revisions
In AlaSQL all stetements san be separated with ;(semicolon) or with GO keyword:
SELECT * FROM one; SELECT * FROM two GO SELECT * FROM threeIn case of multiline stetement alasql() stores all results into array with results:
var res = alasql('SELECT 10');
// returns [{'10':10}]
var res = alasql('SELECT 10 GO SELECT 20');
// returns [ [{10:10}], [{20:20}] ]© 2014-2026, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo