apoc.periodic.truncate
Procedure APOC Core
apoc.periodic.truncate({config}) - removes all entities (and optionally indexes and constraints) from db using the apoc.periodic.iterate under the hood
Config parameters
The procedure supports the same configurations as the apoc.periodic.iterate procedure.
Moreover, it supports the following config parameters:
name | type | default | description |
---|---|---|---|
dropSchema |
boolean |
true |
drops all indexes and constraints |