apoc.periodic.truncate

Procedure

apoc.periodic.truncate(config MAP<STRING, ANY>) - removes all entities (and optionally indexes and constraints) from the database using the apoc.periodic.iterate procedure.

Signature

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

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