Merge pull request #104 from eltociear/patch-1

docs: fix typo in chain.md
This commit is contained in:
Michael Yang 2023-07-30 15:17:42 +08:00 committed by GitHub
commit 80a542dc6f
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()
.select(
ARTICLE.ALL_COLUMNS,
max(ARTICLE.comments).as(ArticleVo::maxCommments)
max(ARTICLE.comments).as(ArticleVo::maxComments)
).from(ARTICLE)
.where(ARTICLE.ID.ge(100))
.limit(1)