title: How do I add a linked document to a linked list using the Java API for OrientDB?
body: <p>I have an <code>OType.LINKLIST</code> field <code>children</code> in a class.</p>
  <p>I can use the following command to update it:</p>
  <pre><code>update &lt;parent_rid&gt; add children = &lt;child_rid&gt;
  </code></pre>
  <p>But I don't know how to do this without using SQL, which is my goal.</p>
  <h3>code</h3>
  <pre><code>ODocument doc=new ODocument(&quot;ClassA&quot;);
  ODocument parentDoc=db.load(new ORecordId(rid));
  </code></pre>
  <p>How do I add <code>doc</code> to <code>parentDoc</code>'s field <code>children</code> without using SQL?</p>