Skip to content

Console Command Dictionary Put

Kazunobu Yamaguchi edited this page Aug 13, 2014 · 4 revisions

コンソールコマンド: dictionary put

Dictionary put

dictionary get を使用して検索可能なように、ディクショナリへレコードとキーを関連させます.

構文

dictionary put <key> <record-id> 

Where:

  • key 割り当てられたキー
  • record-id The record-id of the record to bind to the key passes

> dictionary put obama 5:4
--------------------------------------------------
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}
--------------------------------------------------
The entry obama=5:4 has been inserted in the database dictionary

データベースディクショナリに格納されいる全てのキーを取得する場合はdictionary keys コマンドを使用してください.

インデックスとディクショナリの詳細に関しては Index guide を確認してください.

これは Orient console のコマンドです. 全てのコマンドは Console-Commands から確認してください.

Clone this wiki locally