Phalcon\Db\Adapter\MongoDB\GridFS\Bucket::find PHP Method

find() public method

Finds documents from the GridFS bucket's files collection matching the query.
See also: Find::__construct() for supported options
public find ( 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 find($filter, array $options = [])
    {
        return $this->collectionWrapper->findFiles($filter, $options);
    }