1
0
Fork 0
arangodb/Documentation/Examples/04_workWithColl_directAcess...

24 lines
1.3 KiB
Plaintext

arangosh> db.example.toArray()
[
{
<span class="hljs-string">"age"</span> : <span class="hljs-number">31</span>,
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Jane Smith"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"example/462337585"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"462337585"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"462337585"</span>
},
{
<span class="hljs-string">"age"</span> : <span class="hljs-number">29</span>,
<span class="hljs-string">"name"</span> : <span class="hljs-string">"John Doe"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"example/462140977"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"462140977"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"462140977"</span>
},
{
<span class="hljs-string">"Hello"</span> : <span class="hljs-string">"World"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"example/461747761"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"461747761"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"461747761"</span>
}
]