Google News
logo
OrientDB - Interview Questions
What is the syntax for inserting, updating and deleting a record in OrientDB?
To insert a record in OrientDB, you can use the following syntax :
INSERT INTO <class-name> SET <field-name> = <field-value>, …?
 

To update a record in OrientDB, you can use the following syntax :
UPDATE <record-id> SET <field-name> = <field-value>, …?
 

To delete a record in OrientDB, you can use the following syntax :
DELETE FROM <class-name> WHERE <condition>?
Advertisement