apoc.atomic.subtract

Procedure

apoc.atomic.subtract(node/relatonship,propertyName,number) Subtracts the 'number' value to the property’s value

Signature

apoc.atomic.subtract(container :: ANY?, propertyName :: STRING?, number :: NUMBER?, times = 5 :: INTEGER?) :: (container :: ANY?, property :: STRING?, oldValue :: ANY?, newValue :: ANY?)

Input parameters

Name Type Default

container

ANY?

null

propertyName

STRING?

null

number

NUMBER?

null

times

INTEGER?

5

Output parameters

Name Type

container

ANY?

property

STRING?

oldValue

ANY?

newValue

ANY?