-
Notifications
You must be signed in to change notification settings - Fork 156
Apoc usage
angrykoala edited this page Jan 30, 2023
·
44 revisions
This page documents all instances in which apoc
is used:
util.validatePredicate
util.validate
Both validate
and validatePredicate
are widely used for auth and constraints.
There is no Cypher alternative, but it could be possible to run a transaction and perform the validations in javascript, although this would increase code complexity on those cases.
There are no known performance issues with using these.
date.convertFormat
Used for projection: apoc.date.convertFormat(toString(${value}), "iso_zoned_date_time", "iso_offset_date_time")
. It may be possible to create a javascript alternative.
There are no known performance issues with using these.
-
apoc.cypher.doIt
Used intranslateTopLevelCypher
for mutations, executing the mutation statement before projections.
This may possibly be removed with subqueries and may impact performance.