Skip to content

Commit

Permalink
fix doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
hanahmily committed Feb 22, 2016
1 parent c7860b9 commit 48318d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharding-jdbc-doc/content/post/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public Collection<String> doBetweenSharding(final Collection<String> availableTa

下面是一个余2的算法的例子,当分片键的值除以2余数就是实际表的结尾。注意注释中提供了一些算法生成SQL的结果,参数`tableNames`集合中有两个参数`t_order_0``t_order_1`
```java
public final class ModuloDatabaseShardingAlgorithm implements SingleKeyTableShardingAlgorithm<Integer> {
public final class ModuloTableShardingAlgorithm implements SingleKeyTableShardingAlgorithm<Integer> {

/**
* select * from t_order from t_order where order_id = 11
Expand Down

0 comments on commit 48318d5

Please sign in to comment.