loadPlugin

Syntax

loadPlugin(metaFile)

Arguments

metaFile is a string indicating the path of a text file that describes a DolphinDB plugin.

Details

Load a plugin into DolphinDB. It must be executed by a logged-in user.

For each DolphinDB plugin, there is a text file that describes the plugin. The first line of the text file includes the names of the plugin and the shared library file, separated by comma “,”. Each of the following lines includes the following information: a function in the library file, the corresponding DolphinDB function, function type (operator or system function), the minimal number of parameters, the maximum number of parameters, whether the function is an aggregate function.

The function returns a tuple with the names of the functions in the library file.

Examples

$ loadPlugin("C:/DolphinDB_Win_V0.75/server/plugins/odbc/odbc.cfg");
$ (query,connect,close,execute)