use of com.alibaba.druid.sql.dialect.postgresql.ast.expr.PGMacAddrExpr in project druid by alibaba.
the class MacAddrTest method test_timestamp.
public void test_timestamp() throws Exception {
String sql = "macaddr '12:34:56:78:90:ab'";
PGExprParser parser = new PGExprParser(sql);
PGMacAddrExpr expr = (PGMacAddrExpr) parser.expr();
Assert.assertEquals("macaddr '12:34:56:78:90:ab'", expr.toString());
}
Aggregations