OrientDB – Alter Property Alter Property is a command used to modify or update the Property of a particular class. Altering the property means modifying the fields of a table. In this chapter, you can learn how to update the property. The following statement is the basic syntax of Alter Property Command. ALTER PROPERTY <class>.<property> […]
Author Archives: user
OrientDB – Create Cluster Cluster is an important concept in OrientDB which is used to store records, documents, or vertices. In simple words, cluster is a place where a group of records are stored. By default, OrientDB will create one cluster per class. All the records of a class are stored in the same cluster, […]
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 […]