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

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

package top.jfunc.common.db.condition;

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

    private final String propertyName;

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy