Skip to content

Repository files navigation

sqlbuilder

Dynamic SQL builder for the 3D City Database

select*from
author a
join book b ona.id=b.author_idwherea.year_of_birth>1920anda.first_name='Paulo'order bya.title
Tableauthor = Table.of("author");
Tablebook = Table.of("book");
Selectselect = Select.newInstance()
.from(author)
.join(book).on(author.column("id").eq(book.column("author_id")))
.where(author.column("year_of_birth").gt(1920)
.and(author.column("first_name").eq("Paulo")))
.orderBy(author.column("title"));
System.out.println(
select.toSql(SqlBuildOptions.defaults().setIndent(" ")));

About

Dynamic SQL builder for the 3D City Database

Resources

Stars

1 star

Watchers

14 watching

Forks

Releases

Packages

Contributors

Languages