Commit a8c65c70 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-325: Apply Collection typeMap to change streams

parent 1ee15acf
......@@ -967,6 +967,10 @@ class Collection
$options['readConcern'] = $this->readConcern;
}
if ( ! isset($options['typeMap'])) {
$options['typeMap'] = $this->typeMap;
}
$operation = new Watch($this->manager, $this->databaseName, $this->collectionName, $pipeline, $options);
return $operation->execute($server);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment