Back to project page TwelveRules.
The source code is released under:
Apache License
If you think the Android project TwelveRules listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.manuelpeinado.sql_dsl; // w ww. ja v a2s.c o m public class Table extends DBObject<Table> { protected Table(String expression) { super(expression); } public static Table table(String table) { return new Table(table); } public Field field(String fieldName) { if (hasAlias()) { return Field.field(alias + "." + fieldName); } return Field.field(expression+"."+fieldName); } public Query select(Field ... fields) { return Query.select(fields).from(this); } }