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