app/src/main/java/db/juhaku/juhakudb/core/schema/Reference.java
/**
     * Transform reference to DDL SQL.
     *
     * @return String value containing DDL of the reference.
     *
     * @since 1.0.2
     */
Transform reference to DDL SQL.
@return String value containing DDL of the reference.


Transform reference to DDL SQL . @return String value containing DDL of the reference .
String toDDL() {
        return new StringBuilder("FOREIGN KEY(").append(columnName)
                .append(") REFERENCES ").append(referenceTableName).append("(")
                .append(referenceColumnName).append(")").toString();
    }
String toDDL ( ) { return new StringBuilder ( "FOREIGN KEY(" ) . append ( columnName ) . append ( ") REFERENCES " ) . append ( referenceTableName ) . append ( "(" ) . append ( referenceColumnName ) . append ( ")" ) . toString ( ) ; }
Transform reference to DDL SQL.
Transform reference to DDL SQL .