-
Notifications
You must be signed in to change notification settings - Fork 656
Mathias Rangel Wulff edited this page Jun 12, 2015
·
3 revisions
Syntax:
operator1 GO operator2
In AlaSQL all stetements san be separated with ;
(semicolon) or with GO
keyword:
SELECT * FROM one; SELECT * FROM two GO SELECT * FROM three
In 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-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo