pbergman/doctrine-export-bundle
最新稳定版本:1.0.0
Composer 安装命令:
composer require pbergman/doctrine-export-bundle
包简介
Bundle for exporting query results.
README 文档
README
And bundle for exporting query results to different output types. This can be done by defining a query in the config or using the raw command directly.
Installing
composer require pbergman\doctrine-export-bundle
Usage
Configure a query:
p_bergman_doctrine_export:
example:
description: An example command
query: |
select 1,2,3
with the list command you can print a overview of all commands:
php bin/console pbergman:export:list
----------- ----------------------------------------------------------------------------------
name description
----------- ----------------------------------------------------------------------------------
example An example command
----------- ----------------------------------------------------------------------------------
and execute the command:
php bin/console pbergman:export:exec -F json
[{"1":"1","2":"2","3":"3"}]
or do a raw export:
php bin/console pbergman:export:raw -F json 'select 1,2,3'
[{"1":"1","2":"2","3":"3"}]
统计信息
- 总下载量: 710
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-15