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
47be6972
Commit
47be6972
authored
Feb 06, 2017
by
Steve Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Generic SQL Sharding Support documentation example
parent
aec4faf2
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 @
47be6972
...
...
@@ -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