Neo4j删除约束

DROP CONSTRAINT语句用于从数据库及其关联的索引中删除或删除约束。

例:

使用以下语句删除先前创建的约束及其关联的索引,

DROP CONSTRAINT ON (Kalam:president) ASSERT Kalam.Name IS UNIQUE
Neo4j删除约束1

约束已成功删除。

验证

:schema语句用于验证是否已从模式中删除了适用的约束及其关联的索引。

输出

Neo4j删除约束2
微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_47526.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?