com.easy.query.db2.func.DB2NowSQLFunction Maven / Gradle / Ivy
The newest version!
package com.easy.query.db2.func;
import com.easy.query.core.expression.parser.core.available.TableAvailable;
import com.easy.query.core.expression.parser.core.base.scec.core.SQLNativeChainExpressionContext;
import com.easy.query.core.func.SQLFunction;
import com.easy.query.core.func.def.AbstractSQLFunction;
/**
* create time 2023/10/14 23:31
* 文件说明
*
* @author xuejiaming
*/
public class DB2NowSQLFunction extends AbstractSQLFunction {
public static final SQLFunction INSTANCE=new DB2NowSQLFunction();
@Override
public String sqlSegment(TableAvailable defaultTable) {
return "CURRENT_TIMESTAMP";
}
@Override
public int paramMarks() {
return 0;
}
@Override
protected void consume0(SQLNativeChainExpressionContext context) {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy