OrientDB – Python Interface OrientDB driver for Python uses the binary protocol. PyOrient is the git hub project name which helps to connect OrientDB with Python. It works with OrientDB version 1.7 and later. The following command is used to install PyOrient. pip install pyorient You can use the script file named demo.py to do […]
Author Archives: user
OrientDB – Drop Cluster The Drop Cluster command removes the cluster and all its related content. This operation is permanent and rollback. The following statement is the basic syntax of Drop Cluster command. DROP CLUSTER <cluster-name>|<cluster-id> Where <cluster-name> defines the name of the cluster you want to remove and <cluster-id> defines the ID of the […]
OrientDB – Truncate Cluster The Truncate Cluster command deletes all records of a cluster. The following statement is the basic syntax of Truncate Cluster Command. TRUNCATE CLUSTER <cluster-name> Where <cluster-name> is the name of the cluster. Example Try the following query to truncate the cluster named sales. Orientdb {db = demo}> TRUNCATE CLUSTER Profile If […]