mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
new feature : sql builder
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.alibaba.druid.sql.builder;
|
||||
|
||||
|
||||
public interface UpdateBuilder {
|
||||
UpdateBuilder from(String table);
|
||||
|
||||
UpdateBuilder from(String table, String alias);
|
||||
|
||||
UpdateBuilder limit(int rowCount);
|
||||
|
||||
UpdateBuilder limit(int rowCount, int offset);
|
||||
|
||||
UpdateBuilder where(String sql);
|
||||
|
||||
UpdateBuilder whereAnd(String sql);
|
||||
|
||||
UpdateBuilder whereOr(String sql);
|
||||
}
|
||||
Reference in New Issue
Block a user