File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ choice may cause queries to perform poorly.
214
214
215
215
### Schema-related procedures
216
216
217
- You can [ delete all node indexes ] ( #delete-all-node-indexes ) or modify them using the [ ` schema.assert() ` procedure] ( /querying/schema#assert ) .
217
+ You can modify indexes using the [ ` schema.assert() ` procedure] ( /querying/schema#assert ) .
218
218
219
219
### Speed comparison
220
220
@@ -285,6 +285,11 @@ Once all transactions have finished, the index will be deleted.
285
285
286
286
### Delete all node indexes
287
287
288
+ <Callout type = " warning" >
289
+ The ` schema.assert() ` procedure will not drop edge-type and point indexes.
290
+ Our plan is to update it, and you can track the progress on our [ GitHub] ( https://github.com/memgraph/memgraph/issues/2462 ) .
291
+ </Callout >
292
+
288
293
To delete all indexes, use the [ ` schema.assert() ` ] ( /querying/schema#assert ) procedure with the following parameters:
289
294
- ` indices_map ` = ` {} `
290
295
- ` unique_constraints ` = map of key-value pairs of all uniqueness constraints in the database
Original file line number Diff line number Diff line change @@ -434,7 +434,13 @@ Results:
434
434
435
435
#### Delete all node indexes
436
436
437
- The ` assert() ` procedure can be used to delete all indexes and constraints, ** except for edge-type indices** . By
437
+ <Callout type = " warning" >
438
+ The ` schema.assert() ` procedure will not drop edge-type and point indexes.
439
+ Our plan is to update it, and you can track the progress on our [ GitHub] ( https://github.com/memgraph/memgraph/issues/2462 ) .
440
+ </Callout >
441
+
442
+
443
+ The ` assert() ` procedure can be used to delete all indexes and constraints. By
438
444
providing empty ` indices_map ` , ` unique_constraints ` and ` existence_constraints ` as
439
445
well as ` drop_existing ` set to ` true ` , ensure that there are no indexes or
440
446
constraints in the database. Here is the query for deleting all indexes and constraints:
You can’t perform that action at this time.
0 commit comments