You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/01/14 11:22:31 UTC

[shardingsphere] branch master updated: Update configuration doc (#9033)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new ffa248d  Update configuration doc (#9033)
ffa248d is described below

commit ffa248d01d94dba1b920ecb719d9eafb1326b14d
Author: Juan Pan(Trista) <pa...@apache.org>
AuthorDate: Thu Jan 14 19:22:02 2021 +0800

    Update configuration doc (#9033)
    
    * Update sharding.cn.md
    
    * Update sharding.en.md
---
 .../user-manual/shardingsphere-jdbc/configuration/yaml/sharding.cn.md | 2 ++
 .../user-manual/shardingsphere-jdbc/configuration/yaml/sharding.en.md | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.cn.md
index 6783437..c4449ba 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.cn.md
@@ -36,8 +36,10 @@ rules:
           shardingAlgorithmName: # 自动分片算法名称
   bindingTables (+): # 绑定表规则列表
     - <logic_table_name_1, logic_table_name_2, ...> 
+    - <logic_table_name_1, logic_table_name_2, ...> 
   broadcastTables (+): # 广播表规则列表
     - <table-name>
+    - <table-name>
   defaultDatabaseStrategy: # 默认数据库分片策略
   defaultTableStrategy: # 默认表分片策略
   defaultKeyGenerateStrategy: # 默认的分布式序列策略
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.en.md
index 942f43b..a4409cb 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/configuration/yaml/sharding.en.md
@@ -36,8 +36,10 @@ rules:
           shardingAlgorithmName: # Auto sharding algorithm name
   bindingTables (+): # Binding tables
     - <logic_table_name_1, logic_table_name_2, ...> 
+    - <logic_table_name_1, logic_table_name_2, ...> 
   broadcastTables (+): # Broadcast tables
     - <table-name>
+    - <table-name>
   defaultDatabaseStrategy: # Default strategy for database sharding
   defaultTableStrategy: # Default strategy for table sharding
   defaultKeyGenerateStrategy: # Default Key generator strategy
@@ -58,4 +60,4 @@ rules:
 
 props:
   # ...
-```
\ No newline at end of file
+```