com.skynet.sql.core.GT Maven / Gradle / Ivy
The newest version!
package com.skynet.sql.core;
public class GT implements Criteria{
private String name;
private Object value;
public GT(String pName, Object pValue) {
name = pName;
value = pValue;
}
@Override
public String toSql(DBQueryBuilder pDBQueryBuilder) {
//set parameter
pDBQueryBuilder.parameter(value);
//generate sql
return "(" + pDBQueryBuilder.name(name) + " > ?" + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy