db.sql.api.impl.cmd.dbFun.CurrentTime 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 CurrentTime extends BasicFunction {
public CurrentTime() {
super(null, null);
}
@Override
public StringBuilder functionSql(Cmd module, Cmd parent, SqlBuilderContext context, StringBuilder sqlBuilder) {
sqlBuilder.append(SqlConst.CURRENT_TIME(context.getDbType()));
return sqlBuilder;
}
@Override
public boolean contain(Cmd cmd) {
return false;
}
}