Skip to content

Commit f19af5d

Browse files
committed
Finished up revision checking in document delete methods.
Fininished up documentation and tests Added changelog Did some documentation improvements on Document and DocumentHandler Signed-off-by: Frank Mayer <frank@frankmayer.net>
1 parent 95d3788 commit f19af5d

40 files changed

+573
-266
lines changed

CHANGELOG

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
v1.0.0 (XXXX-XX-XX)
2+
-------------------
3+
4+
* issue #18: Implemented revision check with policy = "error"
5+
for update/replace and delete/remove methods.
6+
7+
* issue #17: Implemented basic edges support
8+
9+
* issue #14: Refactored function names to better match the server api.
10+
This results in sevaral methods being deprecated:
11+
12+
DocumentHandler:
13+
update(), updateById() => These are replaced by replace() and replaceById(). They will have their behavior changed in api version 1.1 in favor for the update method that has been added in ArangoDb 1.1
14+
15+
delete(), deleteById() => These are replaced by remove() and removeById(). They will be removed in api version 2.0.
16+
17+
add() => This is being replaced by the new save() method. add() will be removed in api version 2.0.
18+
19+
getByExample() => This is being replaced by CollectionHandler::byExample(). byExample() will be removed in api version 2.0.
20+
21+
getAllIds() => This is being replaced by CollectionHandler::getAllIds(). getAllIds() will be removed in api version 2.0.
22+
23+
CollectionHandler:
24+
25+
add() => This is being replaced by the new create() method. add() will be removed in api version 2.0.
26+
27+
delete() => This is being replaced by the new drop() method. delete() will be removed in api version 2.0.
28+
29+
getCount() => This is being replaced by the new count() method. getCount() will be removed in api version 2.0.
30+
31+
getFigures() => This is being replaced by the new figures() method. getFigures() will be removed in api version 2.0.
32+
33+
34+
35+
* issue #11: Written initial unit tests for api.
36+
* issue #10: Implemented api version info constant and a getVersion() method to go with it.
37+

docs/classes/triagens.ArangoDb.Autoloader.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ <h2>Class file extension</h2>
169169
<div class="row"><footer class="span12">
170170
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
171171
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
172-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
172+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
173173
</div>
174174
</body>
175175
</html>

docs/classes/triagens.ArangoDb.BindVars.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h2>Current bind values</h2>
177177
<div class="row"><footer class="span12">
178178
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
179179
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
180-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
180+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
181181
</div>
182182
</body>
183183
</html>

docs/classes/triagens.ArangoDb.ClientException.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ <h2>getTraceAsString()
271271
<div class="row"><footer class="span12">
272272
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
273273
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
274-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
274+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
275275
</div>
276276
</body>
277277
</html>

docs/classes/triagens.ArangoDb.Collection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ <h2>properties option</h2>
427427
<div class="row"><footer class="span12">
428428
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
429429
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
430-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
430+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
431431
</div>
432432
</body>
433433
</html>

docs/classes/triagens.ArangoDb.CollectionHandler.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ <h2>truncate option</h2>
618618
<div class="row"><footer class="span12">
619619
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
620620
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
621-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
621+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
622622
</div>
623623
</body>
624624
</html>

docs/classes/triagens.ArangoDb.ConnectException.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ <h2>getTraceAsString()
271271
<div class="row"><footer class="span12">
272272
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
273273
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
274-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
274+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
275275
</div>
276276
</body>
277277
</html>

docs/classes/triagens.ArangoDb.Connection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ <h2>Flag if keep-alive connections are used</h2>
405405
<div class="row"><footer class="span12">
406406
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
407407
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
408-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
408+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
409409
</div>
410410
</body>
411411
</html>

docs/classes/triagens.ArangoDb.ConnectionOptions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ <h2>Wait for sync index constant</h2>
416416
<div class="row"><footer class="span12">
417417
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
418418
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
419-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
419+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
420420
</div>
421421
</body>
422422
</html>

docs/classes/triagens.ArangoDb.Cursor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ <h2>sanitize option entry</h2>
413413
<div class="row"><footer class="span12">
414414
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
415415
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a10</a> and<br>
416-
generated on 2012-10-23T11:35:58+03:00.<br></footer></div>
416+
generated on 2012-10-28T21:56:52+02:00.<br></footer></div>
417417
</div>
418418
</body>
419419
</html>

0 commit comments

Comments
 (0)