OrientDB – Create Property Property in OrientDB works like a field of class and column in the database table. Create Property is a command used to create a property for a particular class. The class name that you used in the command must exist. The following statement is the basic syntax of Create Property command. […]
OrientDB – Drop Class The Drop Class command removes a class from the schema. It is important to pay attention and maintain a consistent schema. For example, avoid to remove classes that are super-classes of others. The associated cluster won”t be deleted. The following statement is the basic syntax of Drop Class command. DROP CLASS […]
OrientDB – Truncate Class Truncate class will delete all records of clusters defined as part of class. In OrientDB, every class has an associated cluster with the same name. If you want to also remove all records from the class hierarchy, you need to use the POLYMORPHIC keyword. The following statement is the basic syntax […]