franzose/doctrine-bulk-insert
最新稳定版本:v2.1
Composer 安装命令:
composer require franzose/doctrine-bulk-insert
包简介
Bulk insert functionality for the Doctrine/DBAL
README 文档
README
The library is based on the gist and provides bulk insert functionality to the Doctrine/DBAL.
Usage
<?php use Doctrine\DBAL\Connection; use Franzose\DoctrineBulkInsert\Query; // Prepare database connection $connection = new Connection(...); // Execute query and get affected rows back $rows = (new Query($connection))->execute('foo', [ ['foo' => 111, 'bar' => 222], ['foo' => 333, 'bar' => 444], ]);
统计信息
- 总下载量: 1.31M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-07