- All Known Subinterfaces:
StatementBuilder.OngoingStandaloneCallWithArguments
,StatementBuilder.OngoingStandaloneCallWithoutArguments
- Enclosing interface:
ExposesCall<T>
public static interface ExposesCall.AsFunction
Interface to allow creating an expression instead of a statement from an ongoing definition. To make this
generate valid Cypher the stored procedure in question must be a valid function.
- Since:
- 2020.1.2
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull Expression
@NotNull Expression
asFunction
(boolean distinct)
-
Method Details
-
asFunction
- Returns:
- A function invocation that can be used as an expression, for example as a property or inside a condition.
-
asFunction
- Parameters:
distinct
- Set to true for adding theDISTINCT
for any of the aggregating functions.- Returns:
- A distinct function invocation that can be used as an expression, for example as a property or inside a condition.
- Since:
- 2021.2.2
-