All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.jfunc.common.db.condition.NotNullExpression Maven / Gradle / Ivy

package top.jfunc.common.db.condition;

/**
 * @author chenzhaoju
 */
public class NotNullExpression  extends AbstractCriterion  implements Criterion {

    private final String propertyName;

    protected NotNullExpression(String propertyName) {
        this.propertyName = propertyName;
    }

    @Override
    public String toMybatisSql() {
        return toString();
    }

    @Override
    public String toJdbcSql() {
        return toString();
    }

    @Override
    public String toString() {
        return propertyName + " IS NOT NULL";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy