Browse Source

Update README.md

pull/11/head
果糖网 3 years ago
committed by GitHub
parent
commit
480c631d8a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

4
README.md

@ -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();

Loading…
Cancel
Save