fastmodel-transform/fastmodel-transform-adbpg/src/main/java/com/aliyun/fastmodel/transform/adbpg/parser/AdbPostgreSQLAstBuilder.java [702:710]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Node visitTableconstraint(TableconstraintContext ctx) {
        NameContext name = ctx.name();
        Identifier identifier = ParserHelper.visitIfPresent(this, name, Identifier.class).orElse(null);
        BaseConstraint baseConstraint = (BaseConstraint)visit(ctx.constraintelem());
        if (identifier != null) {
            baseConstraint.setName(identifier);
        }
        return baseConstraint;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



fastmodel-transform/fastmodel-transform-hologres/src/main/java/com/aliyun/fastmodel/transform/hologres/parser/HologresAstBuilder.java [586:594]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Node visitTableconstraint(TableconstraintContext ctx) {
        NameContext name = ctx.name();
        Identifier identifier = ParserHelper.visitIfPresent(this, name, Identifier.class).orElse(null);
        BaseConstraint baseConstraint = (BaseConstraint)visit(ctx.constraintelem());
        if (identifier != null) {
            baseConstraint.setName(identifier);
        }
        return baseConstraint;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



