Doc­u­men­ta­tion/Graph Query Language

TRUNCATE

The trun­cate state­ment removes all data and all indices from an given and exist­ing type.

TRUNCATE identifier
  • The iden­ti­fier is the name of the type. For exam­ple “TRUNCATE User’ will remove all data and indices of the object ‘User’.