EPUB | CHM | PDF

TMySQLDatabase.Methods.GetFuncNames

Top Previous Next

Returns list of functions available at the moment in the current database.

This procedure is deprecated. Please use GetRoutinesNames instead.

Syntax:

GetFuncNames(Pattern: string; List: TStrings);

Parameters:

Pattern

Use Pattern parameter to set wildcard matching for functions names.

List

A string list object, created and maintained by the application, in which the functions names will be return to.

Description:

Call GetFuncNames to obtain available functions list. Strings are sorted by names.

Example:

var str:string; list:TStringList; i:integer;
 begin
  MySQLDatabase1.GetFuncNames('', list);
  str := 'Existing functions:'+#13#10;
  for i := 0 to list.Count-1 do
       str := str + '    ' + list[i] + #13#10;
  ShowMessage(str);
 end;