getFunctionViews
Syntax
getFunctionViews()
Details
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.
Parameters
None
Returns
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.
Examples
getFunctionViews()
| name | body |
|---|---|
| countTradeAll | countTradeAll |
