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

Signature

apoc.periodic.truncate(config = {} :: MAP?) :: VOID

Input parameters

Name Type Default

config

MAP?

{}

Config parameters

The procedure supports the same configurations as the apoc.periodic.iterate procedure.

Moreover, it supports the following config parameters:

Table 1. Config parameters
name type default description

dropSchema

boolean

true

drops all indexes and constraints