Skip to content

REQUIRE

Andrey Gershun edited this page May 27, 2015 · 3 revisions

REQUIRE

This command is using for loading AlaSQL plugins (standard or custom) or any other JavaScript files:

Syntax:

    REQUIRE std-plugin, "filename.js", ...

The list of [standard plugins](Standard Plugins).

Example:

    REQUIRE ECHO;
    ECHO 1;
    REQUIRE "./myfn.js"; -- 
    SELECT myfn(a) FROM one;
Clone this wiki locally