Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
609a8d31
Commit
609a8d31
authored
Feb 07, 2017
by
Marco Pivetta
Committed by
GitHub
Feb 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2641 from deeky666/DBAL-2623
[DBAL-2623] Fix Generic SQL Sharding Support documentation example
parents
aec4faf2
47be6972
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sharding.rst
docs/en/reference/sharding.rst
+2
-2
No files found.
docs/en/reference/sharding.rst
View file @
609a8d31
...
...
@@ -453,14 +453,14 @@ See the configuration for a sample sharding connection:
use Doctrine\DBAL\DriverManager;
$conn = DriverManager::getConnection(array(
'wrapperClass' => 'Doctrine\
Shards\DBAL
\PoolingShardConnection',
'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\
Shards\DBAL
\ShardChoser\MultiTenantShardChoser',
'shardChoser' => 'Doctrine\
DBAL\Sharding
\ShardChoser\MultiTenantShardChoser',
));
You have to configure the following options:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment