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 2020/10/15 07:56:37 UTC

[GitHub] [shardingsphere] kimmking edited a comment on issue #7786: If i want database sharding only,not tables。can I only set ‘defaultDatabaseStrategy’

kimmking edited a comment on issue #7786:
URL: https://github.com/apache/shardingsphere/issues/7786#issuecomment-708971869


   ```
   shardingRule:
     tables:
        t_order:
          actualDataNodes: ds${0..1}.t_order
          tableStrategy:
            standard:
              shardingColumn: tenet_id
              algorithmExpression: t_order
     defaultDatabaseStrategy:
       inline:
         shardingColumn: tenet_id
         algorithmExpression: ds${tenet_id}
   
   ```
   
   


----------------------------------------------------------------
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.

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