| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6324,7 +6324,10 @@ LEFT JOIN ( SELECT count(*) AS count FROM sys.Comment ) AS Comment ON Comment.m | |||
| 6324 | 6324 | List<String> column = onList == null ? null : new ArrayList<>(onList.size()); | |
| 6325 | 6325 | if (column != null) { | |
| 6326 | 6326 | for (On on : onList) { | |
| 6327 | - column.add(on.getKey()); | ||
| 6327 | + //解决 pg 如果只查询关联键,会报找不到column的错误 | ||
| 6328 | + ///* SELECT count(*) AS count FROM sys.Moment AS Moment | ||
| 6329 | + // LEFT JOIN ( SELECT * FROM sys.Comment ) AS Comment ON Comment.momentId = Moment.id LIMIT 1 OFFSET 0 */ | ||
| 6330 | + //column.add(on.getKey()); | ||
| 6328 | 6331 | } | |
| 6329 | 6332 | } | |
| 6330 | 6333 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments