Mongolid\Util\SequenceService::rawCollection PHP Method

rawCollection() protected method

Get the actual MongoDB Collection object.
protected rawCollection ( ) : MongoDB\Collection
return MongoDB\Collection
    protected function rawCollection() : Collection
    {
        $conn = $this->connPool->getConnection();
        $database = $conn->defaultDatabase;
        return $conn->getRawConnection()->{$database}->{$this->collection};
    }