mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update docs/zh/base/db-row.md.
Signed-off-by: yang_zzu <8088436+yang-zzu@user.noreply.gitee.com>
This commit is contained in:
parent
7f3de5a21a
commit
d2d1b47eff
@ -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` 的代码如下:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user