All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gu.sql2java.manager.mysql.MysqlSqlFormatter Maven / Gradle / Ivy

The newest version!
package gu.sql2java.manager.mysql;

import com.google.common.base.Predicates;

import gu.sql2java.manager.SqlFormatters.QuoteFormatter;

/**
 * @author guyadong 
 * @since 3.14.0
 */
public class MysqlSqlFormatter extends QuoteFormatter {

    public MysqlSqlFormatter() {
        super("`");
    }
    @Override
    public String tablename(String tablename) {
        return quoteIf(tablename, Predicates.alwaysTrue());
    }
    @Override
    public String columname(String columname) {
        return quoteIf(columname, Predicates.alwaysTrue());
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy