-
Notifications
You must be signed in to change notification settings - Fork 659
NEW
Mathias Rangel Wulff edited this page Jun 12, 2015
·
2 revisions
The AlaSQL NEW
operator is the same as JavaScript new
operator.
You need to register JavaScript class with alasql.fn
variable:
alasql.fn.MyClass = function() {};
alasql('SELECT NEW MyClass()');
See also: [User-defined functions](User-defined functions)
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo