code: public String toSql(boolean showParameters) {
          String sql;
          if(forPaginator){
              sql = metaModel.getDialect().formSelect(null, null, fullQuery, orderBys, limit, offset);
          }else{
              sql = fullQuery != null ? fullQuery
                      : metaModel.getDialect().formSelect(metaModel.getTableName(), null, subQuery, orderBys, limit, offset);
          }
          if (showParameters) {
              StringBuilder sb = new StringBuilder(sql).append(", with parameters: ");
              join(sb, params, ", ");
              sql = sb.toString();
          }
          return sql;
      }
docs: Use to see what SQL will be sent to the database.
  
  @param showParameters true to see parameter values, false not to.
  @return SQL in a dialect for current connection which will be used if you start querying this
  list.