doc
This commit is contained in:
@@ -173,8 +173,7 @@ public class Account {
|
|||||||
//事务性批量操作
|
//事务性批量操作
|
||||||
DataBatch batch = DataBatch.create()
|
DataBatch batch = DataBatch.create()
|
||||||
.insert(a1)
|
.insert(a1)
|
||||||
.updateColumn(Account.class, FilterNodes.lt(Account::getAge, 16),
|
.updateColumn(Account.class, "account1", ColumnValue.set(Account::getRemark, "不满16岁是青少年"))
|
||||||
ColumnValue.set(Account::getRemark, "不满16岁是青少年"))
|
|
||||||
.delete(Account.class, FilterNodes.lt(Account::getAge, 16).and("gender", GENDER_MALE));
|
.delete(Account.class, FilterNodes.lt(Account::getAge, 16).and("gender", GENDER_MALE));
|
||||||
source.batch(batch);
|
source.batch(batch);
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user