OrientDB – Create Class OrientDB supports multi-model feature and provides different ways in approaching and understanding the basic concepts of a database. However, we can easily access these models from the perspective of Document database API. Like RDBMS, OrientDB also uses the Record as an element of storage but it uses the Document type. Documents […]
Author Archives: user
OrientDB – Delete Record Delete Record command is used to delete one or more records completely from the database. The following statement is the basic syntax of the Delete command. DELETE FROM <Class>|cluster:<cluster>|index:<index> [LOCK <default|record>] [RETURN <returning>] [WHERE <Condition>*] [LIMIT <MaxRecords>] [TIMEOUT <timeout>] Following are the details about the options in the above syntax. LOCK […]
OrientDB – Update Record Update Record command is used to modify the value of a particular record. SET is the basic command to update a particular field value. The following statement is the basic syntax of the Update command. UPDATE <class>|cluster:<cluster>|<recordID> [SET|INCREMENT|ADD|REMOVE|PUT <field-name> = <field-value>[,]*] |[CONTENT| MERGE <JSON>] [UPSERT] [RETURN <returning> [<returning-expression>]] [WHERE <conditions>] [LOCK […]