| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cd212bb commit 5ec8fca
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,6 +34,12 @@ http://apijson.org:8000/auto/ <br /> | |||
| 34 | 34 | 执行后居然是 SELECT 查到的放在默认的 ResultSet,性能分析放在 moreResult,<br /> | |
| 35 | 35 | 因为这个问题目前以上两个数据库的性能分析 @explain 实际并不可用,需要改用其它方式或解决现有方式的 bug。<br /> | |
| 36 | 36 | ||
| 37 | + #### 新增支持 page 从 1 开始 | ||
| 38 | + 目前只能从 0 开始,实际使用 1 更广泛,而且这方面用户习惯很强,支持它成本也不高。 <br /> | ||
| 39 | + [Parser](https://github.com/APIJSON/APIJSON/blob/master/APIJSON-Java-Server/APIJSONORM/src/main/java/apijson/orm/Parser.java) 新增 DEFAULT_QUERY_PAGE 和 getDefaultQueryPage, <br /> | ||
| 40 | + 与 DEFAULT_QUERY_COUNT 和 getDefaultQueryPage 统一, <br /> | ||
| 41 | + 方便前端直接用页码的值传参,以及 info.page 的值来渲染页码。 <br /> | ||
| 42 | + 建议在 [AbstractParser](https://github.com/APIJSON/APIJSON/blob/master/APIJSON-Java-Server/APIJSONORM/src/main/java/apijson/orm/AbstractParser.java),[AbstractSQLConfig](https://github.com/APIJSON/APIJSON/blob/master/APIJSON-Java-Server/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java) 用到 page 的地方判断 getDefaultQueryPage,做兼容处理。 <br /> | ||
| 37 | 43 | ||
| 38 | 44 | #### 新增支持分布式 | |
| 39 | 45 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments