We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4636380 + f6703c9 commit a05e2e2Copy full SHA for a05e2e2
APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java
@@ -6324,7 +6324,10 @@ LEFT JOIN ( SELECT count(*) AS count FROM sys.Comment ) AS Comment ON Comment.m
6324
List<String> column = onList == null ? null : new ArrayList<>(onList.size());
6325
if (column != null) {
6326
for (On on : onList) {
6327
- column.add(on.getKey());
+ //解决 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());
6331
}
6332
6333
0 commit comments