命令 - DICTIONARY REMOVE

删除数据库词典的关联。

语法

DICTIONARY REMOVE <key>
  • <key> 定义删除的key

例子

  orientdb> DICTIONARY REMOVE obama

  Entry removed from the dictionary. Last value of entry was:
  ------------------------------------------------------------------------
  Class: Person   id: 5:4   v.1
  ------------------------------------------------------------------------
     parent : null
   children : [Person@5:5{parent:Person@5:4,children:null,name:Malia Ann,
              surname:Obama,city:null}, Person@5:6{parent:Person@5:4,
              children:null,name:Natasha,surname:Obama,city:null}]
       name : Barack
    surname : Obama
       city : City@-6:2{name:Honolulu}
  ------------------------------------------------------------------------
  

DICTIONARY KEYS命令展示所有key(V2.2版本后)。更多索引信息,参考Indexes