New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic SQL Sharding Support - Documentation of the `wrapperClass` parameter is invalid #2623

Closed
ivanbogomoloff opened this Issue Jan 28, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@ivanbogomoloff

ivanbogomoloff commented Jan 28, 2017

Invalid code here http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/sharding.html#generic-sql-sharding-support

Valid version must be


$conn = DriverManager::getConnection(array(
    'wrapperClass' => 'Doctrine\DBAL\Sharding\PoolingShardConnection',
    'driver'       => 'pdo_sqlite',
    'global'       => array('memory' => true),
    'shards'       => array(
        array('id' => 1, 'memory' => true),
        array('id' => 2, 'memory' => true),
    ),
    'shardChoser' => 'Doctrine\DBAL\Sharding\ShardChoser\MultiTenantShardChoser',
));
@deeky666

This comment has been minimized.

Show comment
Hide comment
@deeky666

deeky666 Feb 6, 2017

Member

Patch provide via #2641

Member

deeky666 commented Feb 6, 2017

Patch provide via #2641

@deeky666 deeky666 added this to the 2.6 milestone Feb 6, 2017

@deeky666 deeky666 self-assigned this Feb 6, 2017

@deeky666 deeky666 added PR Created Bug and removed Bug labels Feb 6, 2017

@Ocramius Ocramius closed this in #2641 Feb 7, 2017

@Ocramius Ocramius changed the title from Generic SQL Sharding Support - Documentation wrapperClass invalid to Generic SQL Sharding Support - Documentation of the `wrapperClass` parameter is invalid Jul 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment