Skip to content

Commit

Permalink
两个 API 加了版本标记
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkfox committed Nov 20, 2019
1 parent a5bf57e commit e99ffcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/blinkfox/fenix/core/Fenix.java
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ public Fenix where(String text, String key, Object value) {
*
* @param consumer Fenix {@link Consumer} 函数
* @return {@link Fenix} 实例
* @since v2.1.0
*/
public Fenix where(Consumer<Fenix> consumer) {
this.source.getSqlInfo().setPrependWhere(true);
Expand All @@ -244,6 +245,7 @@ public Fenix where(Consumer<Fenix> consumer) {
* <p>使用该方法会动态处理 WHERE 关键字后的 AND 或者 OR 关键字,同 {@link #where(Consumer)} 方法类似.</p>
*
* @return {@link Fenix} 实例
* @since v2.1.0
*/
public Fenix whereDynamic() {
this.source.getSqlInfo().setPrependWhere(true);
Expand Down

0 comments on commit e99ffcf

Please sign in to comment.