getFunctionViews

Syntax

getFunctionViews()

Arguments

None

Details

Return a list of function views.

It returns a table with the following columns:

  • name: the function name.

  • body: the function body. For function views created from a .dom module file, this column only displays the function name, not the function body.

When this function is executed by an administrator, it returns all the function views. When executed by a user with VIEW_OWNER permission, it only returns the function views created by the user.

Examples

getFunctionViews()
name body
countTradeAll countTradeAll