From d2d1b47effd48be1a2fcf5b9ac886045847a0c8e Mon Sep 17 00:00:00 2001 From: yang_zzu <8088436+yang-zzu@user.noreply.gitee.com> Date: Wed, 23 Aug 2023 09:56:36 +0000 Subject: [PATCH] update docs/zh/base/db-row.md. Signed-off-by: yang_zzu <8088436+yang-zzu@user.noreply.gitee.com> --- docs/zh/base/db-row.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/base/db-row.md b/docs/zh/base/db-row.md index f5b4852b..fa785089 100644 --- a/docs/zh/base/db-row.md +++ b/docs/zh/base/db-row.md @@ -138,7 +138,7 @@ System.out.println(articles); ## Row.toObject() -`Row.toObject(Other.class)` 和 `Row.toEntity(Entity.class)` 和相似。不一样的地方在于 `Row.toObject(Other.class)` 是通过去查找 +`Row.toObject(Other.class)` 和 `Row.toEntity(Entity.class)` 相似。不一样的地方在于 `Row.toObject(Other.class)` 是通过去查找 `Other.class` 的 `setter` 方法去匹配 Row 的 key 进行赋值的。 例如 `Other.class` 的代码如下: