You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/02 03:39:04 UTC

[GitHub] [shardingsphere] fangg2021 opened a new issue #14479: document config error

fangg2021 opened a new issue #14479:
URL: https://github.com/apache/shardingsphere/issues/14479


   ShardingSphere > User Manual > ShardingSphere-JDBC > Configuration Manual > Spring Boot Starter Configuration > Mixed Rules
   
   ***
   # Sharding algorithm configuration
   spring.shardingsphere.rules.sharding.sharding-algorithms.default-database-strategy-inline.type=INLINE
   # The enumeration value of `ds_$->{user_id % 2}` is the name of the logical data source configured with readwrite-splitting
   spring.shardingsphere.rules.sharding.sharding-algorithms.default-database-strategy-inline.algorithm-expression=ds$->{user_id % 2}
   spring.shardingsphere.rules.sharding.sharding-algorithms.user-table-strategy-inline.type=INLINE
   spring.shardingsphere.rules.sharding.sharding-algorithms.user-table-strategy-inline.algorithm-expression=t_user_$->{user_id % 2}
   
   ***
   
   that "user-table-strategy-inline.algorithm-expression" should be "user-table-strategy-inline.**props**.algorithm-expression"
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] Swastyy commented on issue #14479: document config error

Posted by GitBox <gi...@apache.org>.
Swastyy commented on issue #14479:
URL: https://github.com/apache/shardingsphere/issues/14479#issuecomment-1004164798


   @zjcnb I have corrected it. If the original person wants to do this you can close it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] zjcnb edited a comment on issue #14479: document config error

Posted by GitBox <gi...@apache.org>.
zjcnb edited a comment on issue #14479:
URL: https://github.com/apache/shardingsphere/issues/14479#issuecomment-1003721416


   @fangg2021 Hi, thanks for your feedback, it's really have a mistake. Can you submit a pull request to fix it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang closed issue #14479: document config error

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #14479:
URL: https://github.com/apache/shardingsphere/issues/14479


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] zjcnb commented on issue #14479: document config error

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #14479:
URL: https://github.com/apache/shardingsphere/issues/14479#issuecomment-1003721416


   @fangg2021 Hi, thanks for your feedback, it's really have a mistake. Can you submit a pull request to fix it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org