Skip to content

Commit

Permalink
release version 2.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fceller committed Jan 29, 2016
1 parent 463a49a commit 7bd1111
Show file tree
Hide file tree
Showing 353 changed files with 3,306 additions and 3,296 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v2.8.1 (XXXX-XX-XX)
v2.8.1 (2016-01-29)
-------------------

* Improved AQL Pattern matching by allowing to specify a different traversal
Expand Down
64 changes: 32 additions & 32 deletions Documentation/Examples/001_collectionAll.generated
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
arangosh&gt; db.five.save({ name : <span class="hljs-string">"one"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/18487592"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"18487592"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"18487592"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/21737655"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21737655"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21737655"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"two"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/18684200"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"18684200"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"18684200"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/21934263"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21934263"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21934263"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"three"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/18880808"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"18880808"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"18880808"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/22130871"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22130871"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22130871"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"four"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/19077416"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"19077416"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"19077416"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/22327479"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22327479"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22327479"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"five"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/19274024"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"19274024"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"19274024"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/22524087"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22524087"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22524087"</span>
}
arangosh&gt; db.five.all().toArray();
[
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"two"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/18684200"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"18684200"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"18684200"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/21934263"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21934263"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21934263"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"five"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/19274024"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"19274024"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"19274024"</span>
<span class="hljs-string">"name"</span> : <span class="hljs-string">"one"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/21737655"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21737655"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21737655"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"one"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/18487592"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"18487592"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"18487592"</span>
<span class="hljs-string">"name"</span> : <span class="hljs-string">"five"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/22524087"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22524087"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22524087"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"three"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/18880808"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"18880808"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"18880808"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/22130871"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22130871"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22130871"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"four"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/19077416"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"19077416"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"19077416"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/22327479"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22327479"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22327479"</span>
}
]
44 changes: 22 additions & 22 deletions Documentation/Examples/002_collectionAllNext.generated
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
arangosh&gt; db.five.save({ name : <span class="hljs-string">"one"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/19863848"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"19863848"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"19863848"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23113911"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23113911"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23113911"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"two"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/20060456"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"20060456"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"20060456"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23310519"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23310519"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23310519"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"three"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/20257064"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"20257064"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"20257064"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23507127"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23507127"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23507127"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"four"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/20453672"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"20453672"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"20453672"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23703735"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23703735"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23703735"</span>
}
arangosh&gt; db.five.save({ name : <span class="hljs-string">"five"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/20650280"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"20650280"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"20650280"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23900343"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23900343"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23900343"</span>
}
arangosh&gt; db.five.all().limit(<span class="hljs-number">2</span>).toArray();
[
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"four"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/20453672"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"20453672"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"20453672"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23703735"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23703735"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23703735"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"two"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/20060456"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"20060456"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"20060456"</span>
<span class="hljs-string">"name"</span> : <span class="hljs-string">"three"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"five/23507127"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23507127"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23507127"</span>
}
]
46 changes: 23 additions & 23 deletions Documentation/Examples/003_collectionByExample.generated
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
arangosh&gt; db.users.save({ name: <span class="hljs-string">"Gerhard"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21240104"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21240104"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21240104"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24490167"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24490167"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24490167"</span>
}
arangosh&gt; db.users.save({ name: <span class="hljs-string">"Helmut"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21502248"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21502248"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21502248"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24752311"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24752311"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24752311"</span>
}
arangosh&gt; db.users.save({ name: <span class="hljs-string">"Angela"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21698856"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21698856"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21698856"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24948919"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24948919"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24948919"</span>
}
arangosh&gt; db.users.all().toArray();
[
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Gerhard"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21240104"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21240104"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21240104"</span>
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Angela"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24948919"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24948919"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24948919"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Angela"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21698856"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21698856"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21698856"</span>
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Gerhard"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24490167"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24490167"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24490167"</span>
},
{
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Helmut"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21502248"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21502248"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21502248"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24752311"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24752311"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24752311"</span>
}
]
arangosh&gt; db.users.byExample({ <span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/20"</span> }).toArray();
[ ]
arangosh&gt; db.users.byExample({ <span class="hljs-string">"name"</span> : <span class="hljs-string">"Gerhard"</span> }).toArray();
[
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/21240104"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"21240104"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"21240104"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/24490167"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"24490167"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"24490167"</span>,
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Gerhard"</span>
}
]
Expand Down
24 changes: 12 additions & 12 deletions Documentation/Examples/004_collectionByExampleNext.generated
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
arangosh&gt; db.users.save({ name: <span class="hljs-string">"Gerhard"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/22944040"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"22944040"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"22944040"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/26194103"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"26194103"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"26194103"</span>
}
arangosh&gt; db.users.save({ name: <span class="hljs-string">"Helmut"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/23206184"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23206184"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23206184"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/26456247"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"26456247"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"26456247"</span>
}
arangosh&gt; db.users.save({ name: <span class="hljs-string">"Angela"</span> });
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/23402792"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23402792"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23402792"</span>
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/26652855"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"26652855"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"26652855"</span>
}
arangosh&gt; <span class="hljs-keyword">var</span> a = db.users.byExample( {<span class="hljs-string">"name"</span> : <span class="hljs-string">"Angela"</span> } );
arangosh&gt; <span class="hljs-keyword">while</span> (a.hasNext()) print(a.next());
{
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/23402792"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"23402792"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"23402792"</span>,
<span class="hljs-string">"_id"</span> : <span class="hljs-string">"users/26652855"</span>,
<span class="hljs-string">"_key"</span> : <span class="hljs-string">"26652855"</span>,
<span class="hljs-string">"_rev"</span> : <span class="hljs-string">"26652855"</span>,
<span class="hljs-string">"name"</span> : <span class="hljs-string">"Angela"</span>
}
Loading

0 comments on commit 7bd1111

Please sign in to comment.