mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
update docs/zh/base/db-row.md.
修正示例代码中的语法错误
This commit is contained in:
parent
70a97bb0eb
commit
b0ecb07e1d
@ -181,14 +181,14 @@ Other other = row.toObject(Other.class);
|
||||
## Row 字段转化为驼峰风格
|
||||
|
||||
```java
|
||||
Row row = Db..selectOneBySql("select * from ....");
|
||||
Row row = Db.selectOneBySql("select * from ....");
|
||||
Map result = row.toCamelKeysMap();
|
||||
```
|
||||
|
||||
## Row 字段转换为下划线风格
|
||||
|
||||
```java
|
||||
Row row = Db..selectOneBySql("select * from ....");
|
||||
Row row = Db.selectOneBySql("select * from ....");
|
||||
Map result = row.toUnderlineKeysMap();
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user