Update README.md

This commit is contained in:
果糖网
2021-11-24 09:46:39 +08:00
committed by GitHub
parent 47cbf5b4a9
commit 480c631d8a

View File

@@ -196,12 +196,12 @@ Split query
### Feature9 Big data insert or update ### Feature9 Big data insert or update
```cs ```cs
//Insert A million only takes a few seconds //Insert A million only takes a few seconds
db.Fastest<RealmAuctionDatum>().BulkCopy(GetList());//性能 比现有任何Bulkcopy都要快30% db.Fastest<RealmAuctionDatum>().BulkCopy(GetList());
//uupdate A million only takes a few seconds //uupdate A million only takes a few seconds
db.Fastest<RealmAuctionDatum>().BulkUpdate(GetList());//A million only takes a few seconds完 db.Fastest<RealmAuctionDatum>().BulkUpdate(GetList());//A million only takes a few seconds完
db.Fastest<RealmAuctionDatum>().BulkUpdate(GetList(),new string[]{"id"},new string[]{"name","time"})//无主键用法 db.Fastest<RealmAuctionDatum>().BulkUpdate(GetList(),new string[]{"id"},new string[]{"name","time"})//no primary key
//if exists update, else insert //if exists update, else insert
var x= db.Storageable<Order>(data).ToStorage(); var x= db.Storageable<Order>(data).ToStorage();