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,20 @@
|
||||
package com.alibaba.druid.sql.builder;
|
||||
|
||||
|
||||
public interface SQLUpdateBuilder {
|
||||
SQLUpdateBuilder from(String table);
|
||||
|
||||
SQLUpdateBuilder from(String table, String alias);
|
||||
|
||||
SQLUpdateBuilder limit(int rowCount);
|
||||
|
||||
SQLUpdateBuilder limit(int rowCount, int offset);
|
||||
|
||||
SQLUpdateBuilder where(String sql);
|
||||
|
||||
SQLUpdateBuilder whereAnd(String sql);
|
||||
|
||||
SQLUpdateBuilder whereOr(String sql);
|
||||
|
||||
SQLUpdateBuilder set(String... items);
|
||||
}
|
||||
Reference in New Issue
Block a user