ex_orient v1.0.1 ExOrient.DB.Schema
Schema command bindings
Summary
Functions
Alter class command
Alter property command
Create a class command
Create property command
Drop class command
Drop property command
Functions
Alter class command
ExOrient.DB.alter(class: Cow, attr: "SUPERCLASS Animal")
Alter property command
ExOrient.DB.alter(property: "Car.model", attr: "MANDATORY true")
Create a class command
ExOrient.DB.create(class: Vehicle, abstract: true)
ExOrient.DB.create(class: Car, extends: Vehicle)
Create property command
ExOrient.DB.create(property: "Car.make", type: :string)
ExOrient.DB.create(property: "Car.model", type: :string)