Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 4636380 commit f6703c9Copy full SHA for f6703c9
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