Skip to content

Commit b2601d9

Browse files
committed
fix: create table if not exists.
1 parent 100d47a commit b2601d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/code/advancedsql/query/Create.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,10 @@ public Base column(java.lang.String name, String content) {
320320
/**
321321
* Create table if not exists.
322322
*/
323-
public void ifNotExists() {
323+
public Create ifNotExists() {
324324
this.ifNotExists = true;
325+
326+
return this;
325327
}
326328

327329
@Override

0 commit comments

Comments
 (0)