Fixed inconsistent test

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Written (and modified some existing) tests for change of update() method

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Documentation correction

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Introduced replace and delete policies so we can set different defaults for different actions instead of one update default.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Changed behavior of update() and updateById() methods.

introduced replace and update policies.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Introduced OPTION_UPDATE_KEEPNULL

Signed-off-by: Frank Mayer <frank@frankmayer.net>
added null to valid values

Signed-off-by: Frank Mayer <frank@frankmayer.net>
- Modified update() and updatById() so that they can accept the keepNull option.

- the old $policy method-parameter has been renamed to $options and is still usable as a boolean, however it can be used as an array to pass multiple parameters (policy, keepNull)

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Added a test for updating with keepnull = false;

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Fix typo + Documentation update
Travis-CI implementation

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Implemented Explain function (#29) and also the query validation function

New Statement methods:

$statement->explain();
$statement->validate();

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Implemented skip-list and geo queries (issue #28)

The following methods were added to CollectionHandler.php

CollectionHandler->range($collectionId, $attribute, $left, $right, $options = array())
CollectionHandler->near($collectionId, $latitude, $longitude, $options = array())
CollectionHandler->within($collectionId, $latitude, $longitude, $radius, $options = array())

Also, since there was no index creation functionality in ArangoDB-PHP, this was also created.

CollectionHandler->index($collectionId, $type="", $attributes=array(), $unique=false)

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Documentation for #28 and #29

+ some small doc fixes

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Comment fixes

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Updated Changelog

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Initial batch work

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Main batch work finished.

- Need to clean up and work on responses. Basic responses objects are returned but we also need batchpart id's.
- Check if we can use future objects.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Somewhat working set. Has its problems though. Need to refactor..

This commit is prior to refactoring...

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Refactored.

Signed-off-by: Frank Mayer <frank@frankmayer.net>