public class ColumnArg extends Object
QueryBuilder
to be able to compare two database fields or using QueryBuilder.join(QueryBuilder)
to be
able to compare fields in different tables.
NOTE: This does not verify that the two fields in question _can_ be compared via SQL. If you try to compare (for example) a string to a number, a SQL exception will most likely be generated.
Constructor and Description |
---|
ColumnArg(String columnName)
For queries where only one table is being addressed.
|
ColumnArg(String tableName,
String columnName)
For queries where multiple tables are being addressed.
|
Modifier and Type | Method and Description |
---|---|
String |
getColumnName() |
String |
getTableName() |
public ColumnArg(String columnName)
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.