stas29a/doctrine
Composer 安装命令:
composer require stas29a/doctrine
包简介
Doctrine 2 fork with performance improvements
关键字:
README 文档
README
This fork contains some performance optimizations. Currently implements:
- Batch inserts for processing big amount of entities
- Disabling internal events when you need
The main object you need is PerformanceConfiguration.
Here is an example for demonstration:
//Getting performance configuration
$performanceConfiguration = $em->getPerformanceConfiguration();
//Disable internal events
$performanceConfiguration->setIsEventsSystemEnabled(false);
//Enable batch inserts
$performanceConfiguration->enableBatchInsert();
//Set how many entities will be inserted per one insert
$performanceConfiguration->setMaxPerInsert(500);
More resources:
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-06