From 27b5348cb166278af928cff3708053fd3f129404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=9C=E7=B3=96=E7=BD=91?= <610262374@qq.com> Date: Wed, 13 Mar 2024 17:00:51 +0800 Subject: [PATCH] Update README.md --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index faab14a80..962bc985a 100644 --- a/README.md +++ b/README.md @@ -188,14 +188,9 @@ db.Queryable((i, o) => i.OrderId == o.Id) ### Feature8 : Insert or update insert or update ```cs - var x = Db.Storageable(list2).ToStorage(); - x.AsInsertable.ExecuteCommand(); - x.AsUpdateable.ExecuteCommand(); -``` -insert into not exists -```cs -var x = Db.Storageable(list).SplitInsert(it => !it.Any()).ToStorage() -x.AsInsertable.ExecuteCommand(); +Db.Storageable(list2).ExecuteCommand(); +Db.Storageable(list2).PageSize(1000).ExecuteCommand(); +Db.Storageable(list2).PageSize(1000,exrows=> { }).ExecuteCommand(); ``` ### Feature9 :Auto split table