Skip to content

User Defined Functions

agershun edited this page Dec 28, 2014 · 18 revisions

User-Defined Functions

    alasql.fn.cube = function(x) { return x*x*x; }
    alasql(‘SELECT cube(x) FROM ?,[data]);
Clone this wiki locally