Update DuckDb

This commit is contained in:
sunkaixuan
2025-04-20 18:34:28 +08:00
parent 4876fc8f9d
commit 281cd86f2f
5 changed files with 16 additions and 16 deletions

View File

@@ -28,15 +28,7 @@ namespace OrmTest
// 中文备注带异常处理的分页插入或更新操作每页1000条记录
// English Comment: Perform insert or update operation with exception handling and paging, 1000 records per page
db.Storageable(list).PageSize(1000, exrows => { }).ExecuteCommand();
// 中文备注使用Fastest方式批量合并数据用于大数据处理
// English Comment: Merge data using Fastest method (for big data processing)
db.Fastest<Order>().BulkMerge(list);
// 中文备注分页使用Fastest方式批量合并数据每页100000条记录用于大数据处理
// English Comment: Merge data using Fastest method with paging, 100000 records per page (for big data processing)
db.Fastest<Order>().PageSize(100000).BulkMerge(list);
db.Storageable(list).PageSize(1000, exrows => { }).ExecuteCommand();
}
[SqlSugar.SugarTable("Order_a3")]