docs: fix typo in chain.md

maxCommments -> maxComments
This commit is contained in:
Ikko Eltociear Ashimine 2023-07-29 18:55:53 +09:00 committed by GitHub
parent 47b4fada3e
commit aef7af902a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ public class ArticleVo {
ArticleVo articleVo = articleService.queryChain() ArticleVo articleVo = articleService.queryChain()
.select( .select(
ARTICLE.ALL_COLUMNS, ARTICLE.ALL_COLUMNS,
max(ARTICLE.comments).as(ArticleVo::maxCommments) max(ARTICLE.comments).as(ArticleVo::maxComments)
).from(ARTICLE) ).from(ARTICLE)
.where(ARTICLE.ID.ge(100)) .where(ARTICLE.ID.ge(100))
.limit(1) .limit(1)