db.sql.api.impl.cmd.dbFun.CurrentDate Maven / Gradle / Ivy
package db.sql.api.impl.cmd.dbFun;
import db.sql.api.Cmd;
import db.sql.api.SqlBuilderContext;
import db.sql.api.impl.tookit.SqlConst;
public class CurrentDate extends BasicFunction {
public CurrentDate() {
super(null, null);
}
@Override
public StringBuilder functionSql(Cmd module, Cmd parent, SqlBuilderContext context, StringBuilder sqlBuilder) {
sqlBuilder.append(SqlConst.CURRENT_DATE(context.getDbType()));
return sqlBuilder;
}
@Override
public boolean contain(Cmd cmd) {
return false;
}
}