Skip to content

@Function

Command method extension

Function methods execute function.

For example, suppose we create a function like this:

CREATE FUNCTION function1 "select from Model" LANGUAGE SQL

Now we can call it like this:

@Function("function1")
List<Model> select(String name)

Internally OCommandFunction used.