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 […]
Category Archives: orientdb
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 – Insert Record OrientDB is a NoSQL database that can store the documents and graph-oriented data. NoSQL database does not contain any table, so how can you insert data as a record. Here you can see the table data in the form of class, property, vertex, and edge meaning classes are like tables, and […]