Phalcon\Db\Adapter\MongoDB\GridFS\CollectionWrapper::findFiles PHP Method

findFiles() public method

Finds documents from the GridFS bucket's files collection.
See also: Find::__construct() for supported options
public findFiles ( array | object $filter, array $options = [] ) : MongoDB\Driver\Cursor
$filter array | object Query by which to filter documents
$options array Additional options
return MongoDB\Driver\Cursor
    public function findFiles($filter, array $options = [])
    {
        return $this->filesCollection->find($filter, $options);
    }