-
Notifications
You must be signed in to change notification settings - Fork 688
From
agershun edited this page Dec 13, 2014
·
9 revisions
alasql('SELECT * FROM cities'); var data = [{city:"Boston"}, {city:"Los Angeles"}];
alasql('SELECT * FROM ? ORDER BY city',[data]);You can also get data from stdin stream (for Node.js only). For example, how to calculate number of lines in incoming text file:
alasql('SELECT COUNT(*) FROM TXT()');© 2014-2026, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo