There was an error while loading. Please reload this page.
REMOVE COLUMNS
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}]
You can also remove group of columns with LIKE clause:
LIKE
SELECT * REMOVE COLUMNS LIKE '%a%',b,c FROM one
With Angular.js AlaSQL automatically remove $$hashKey (see this example)
$$hashKey
Quick links
AlaSQL wiki frontpage
About AlaSQL
Install AlaSQL
Get started with AlaSQL