public function aggregate($pipelines, $options = []) { return $this->database->createCommand()->aggregate($this->name, $pipelines, $options); }