DetachDelete Parameter (Connect-Neo4j Cmdlet)
A boolean value that controls whether the provider uses DETACH DELETE automatically when executing DELETE query.
Syntax
Connect-Neo4j -DetachDelete SwitchParameter
Data Type
bool
Default Value
false
Remarks
Nodes in Neo4j cannot be deleted if attached to any edge. By setting this property to 'true', the cmdlet will automatically adjust a DELETE query to include a DETACH clause, putting the node into a deletable state before attempting operation.