Paradox/pod/Document.php
public function near($aql = "", $params = array(), $limit = 100, $placeholder = "doc")
    {
        return $this->_toolbox->getFinder()->findAllNear($this->getType(), $this->getModel(), $aql, $params, $limit, $placeholder);
    }
public function near($aql = "", $params = array(), $limit = 100, $placeholder = "doc")
    {
        return $this->_toolbox->getFinder()->findAllNear($this->getType(), $this->getModel(), $aql, $params, $limit, $placeholder);
    }
Find the pods that are near this pod.
You can add an AQL fragment to process the list further, for example: FILTER doc.property != "unwanted value" SORT doc.name LIMIT 10
This pod will not be included in the returned list. An empty array is returned if no pods are found.
@param  string $aql         An optional AQL fragment that will be inserted after the FOR clause so you can FILTER, LIMIT, etc the query.
@param  array  $params      An optional associative array containing parameters to bind to the query.
@param  number $limit       The maximum number of pods to find.
@param  string $placeholder Set this to something else if you do not wish to use "doc" to refer to documents in your query.
@return array