We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class PostgreSqlDialect implements Dialect { @Override public void toUpperCase(StringBuilder builder, String dbField) { builder.append("upper").append("(").append(dbField).append(")"); } @Override public SqlWrapper<Object> forPaginate(String fieldSelectSql, String fromWhereSql, Paging paging) { SqlWrapper<Object> wrapper = new SqlWrapper<>(); StringBuilder ret = new StringBuilder(); ret.append(fieldSelectSql).append(fromWhereSql); if (paging != null) { ret.append(" offset ? limit ?"); wrapper.addPara(paging.getOffset()); wrapper.addPara(paging.getSize()); } wrapper.setSql(ret.toString()); return wrapper; } }
The text was updated successfully, but these errors were encountered:
https://github.com/ejlchina/bean-searcher/releases/tag/v3.6.0 https://bs.zhxu.cn/guide/latest/advance.html#sql-%E6%96%B9%E8%A8%80%EF%BC%88dialect%EF%BC%89
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: