Skip to content

REQUIRE

Mathias Rangel Wulff edited this page Jun 12, 2015 · 3 revisions

Keyword 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;

See also: SOURCE

Clone this wiki locally