public function selectCollection($databaseName, $collectionName, array $options = [])
    {
        $options += ['typeMap' => $this->typeMap];

        return new Collection($this->manager, $databaseName, $collectionName, $options);
    }
public function selectCollection($databaseName, $collectionName, array $options = [])
    {
        $options += ['typeMap' => $this->typeMap];

        return new Collection($this->manager, $databaseName, $collectionName, $options);
    }
public function selectCollection ( $ databaseName , $ collectionName , array $ options = [ ] ) { $ options += [ 'typeMap' => $ this -> typeMap ] ; return new Collection ( $ this -> manager , $ databaseName , $ collectionName , $ options ) ; }
Select a collection.

@see Collection::__construct() for supported options
@param string $databaseName   Name of the database containing the collection
@param string $collectionName Name of the collection to select
@param array  $options        Collection constructor options
@return Collection
@throws InvalidArgumentException for parameter/option parsing errors
Select a collection .