method-invocation
|--subject-expression..method-name--+--------------------------------+->
'-(--+--------------------+---)--'
| .-,------------. |
| V | |
'----expression---+--'
>---------------------------------------------------------------|
Both system-generated observer and mutator methods, as well as user-defined methods are invoked using the double-dot operator.
The double-dot operator used for method invocation is a high precedence left to right infix operator. For example, the following two expressions are equivalent:
a..b..c + x..y..z
and
((a..b)..c) + ((x..y)..z)
If a method has no parameters other than its subject, it may be invoked with or without parentheses. For example, the following two expressions are equivalent:
point1..x
and
point1..x()
Null subjects in method calls are handled as follows:
When a database object (a package, view, or trigger, for example) is created, the best fit method that exists for each of its method invocations is found using the rules specified in Method Resolution.
| Note: |
|
SELECT CIRCLE_COL..AREA()
FROM RINGS