mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
!303 update docs/zh/base/db-row.md.
Merge pull request !303 from yang_zzu/N/A
This commit is contained in:
commit
d4163a2f0f
@ -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