import org.dynapi.squirtle.core.queries.Query;
import org.dynapi.squirtle.core.queries.Schema;
import org.dynapi.squirtle.core.queries.Table;
public class Example {
public static void main(String[] args) {
Table table = new Schema("dynapi").table("test").as("t");
String sql = new Query()
.from(table)
.select(table.asStar())
.getSql();
System.out.println(sql); // SELECT "t".* FROM "dynapi"."test" "t"
}
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Java SQL Query Builder
License
DynAPI/org.dynapi.squirtle
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Java SQL Query Builder