OFunction - setIdempotent()
Sets whether the function is idempotent.
OrientDB differentiates between idempotent queries and non-idempotent commands. That is, queries that always return the same results versus commands that write to the database. In functions this is indicated by a simple boolean value set on the
OFunction instance. Using this method you can set idempotence for the function. To determine whether a function is set as idempotent, see the
OFunction OFunction().setIdempotent(boolean idempotence)
||Indicates whether the function is idempotent|
This method returns the updated
OFunction instance, which you may find useful when stringing several operations together.