Javatpoint Logo
Javatpoint Logo

Neo4j Drop a Constraint

DROP CONSTRAINT statement is used to drop or remove a constraint from the database as well as its associated index.

Example:

Use the following statement to drop the previously created constraint and its associated index,

Neo4j Drop a constraint 1

The constraint is removed successfully.

Verification

:schema statement is used to verify that the applicable constraint and its associated index has been removed from the schema.

Output:

Neo4j Drop a constraint 2




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA