Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pages/querying/clauses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ using the following clauses:
* [`CASE`](/querying/clauses/case) - allows the creation of conditional expressions
* [`CREATE`](/querying/clauses/create) - creates new nodes and relationships
* [`DELETE`](/querying/clauses/delete) - deletes nodes and relationships
* [`DROP ALL CONSTRAINTS`](/querying/clauses/drop-all-constraints) - delete all constraints in your database
* [`DROP ALL INDEXES`](/querying/clauses/drop-all-indexes) - delete all indices in your database
* [`DROP GRAPH`](/querying/clauses/drop-graph) - delete all the data, along with all the indices, constraints, triggers, and streams
* [`EXPLAIN`](/querying/clauses/explain) - inspect a particular Cypher query in order to see its execution plan.
* [`FOREACH`](/querying/clauses/foreach) - iterates over a list of elements and stores each element inside a variable
Expand Down
2 changes: 2 additions & 0 deletions pages/querying/clauses/_meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export default {
"case": "CASE",
"create": "CREATE",
"delete": "DELETE",
"drop-all-constraints": "DROP ALL CONSTRAINTS",
"drop-all-indexes": "DROP ALL INDEXES",
"drop-graph": "DROP GRAPH",
"explain": "EXPLAIN",
"foreach": "FOREACH",
Expand Down
15 changes: 15 additions & 0 deletions pages/querying/clauses/drop-all-constraints.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: DROP ALL CONSTRAINTS
description: Learn to delete all constraints in your database using the DROP ALL CONSTRAINTS clause in Memgraph.
---

# DROP ALL CONSTRAINTS

The `DROP ALL CONSTRAINTS` clause allows you to delete all constraints in your database in a single operation.
This includes all types of constraints: existence constraints, unique constraints, and type constraints.

## Syntax

```cypher
DROP ALL CONSTRAINTS;
```
16 changes: 16 additions & 0 deletions pages/querying/clauses/drop-all-indexes.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: DROP ALL INDEXES
description: Learn to delete all indices in your database using the DROP ALL INDEXES clause in Memgraph.
---

# DROP ALL INDEXES

The `DROP ALL INDEXES` clause allows you to delete all indices in your database in a single operation.
This includes all types of indices: label indices, label-property indices, edge type indices, edge type-property indices, global edge indices,
point indices, text indices, vector indices, and vector edge indices.

## Syntax

```cypher
DROP ALL INDEXES;
```