-
Notifications
You must be signed in to change notification settings - Fork 693
Remove Columns
Andrey Gershun edited this page May 25, 2015
·
3 revisions
Sometimes you may want to select all fields but without some of them.
For example:
var data = [{a:1,b:10},{a:2,b:20}];
var res = alasql('SELECT * REMOVE COLUMN b FROM ?',[data]);
// returns [{a:!},{a:2}]WIth Angular.js AlaSQL automatically remove $$hashKey (see this example)
© 2014-2026, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo