ajgl/doctrine-dbal-pgsql-types
Composer 安装命令:
composer require ajgl/doctrine-dbal-pgsql-types
包简介
Custom PostgreSQL types
README 文档
README
This component allows you to manage some native PostgreSQL data types with the Doctrine DBAL component.
Usage
To use the new types you shoud register them using the Custom Mapping Types feature.
\Doctrine\DBAL\Types\Type::addType('integer[]', 'Ajgl\Doctrine\DBAL\Types\IntegerArrayType'); /* @var $connection \Doctrine\DBAL\Connection */ $connection->getDatabasePlatform()->registerDoctrineTypeMapping('_int4', 'integer[]');
Usage with Symfony Standard Edition
If you want to use this with a Symfony Standard Edition application, you can register the
new types in the config.yml file.
doctrine: dbal: types: integer[]: Ajgl\Doctrine\DBAL\Types\IntegerArrayType mapping_types: _int4: integer[]
License
This component is under the MIT license. See the complete license in the LICENSE file.
Badges
- GitHub Actions:
- Poser Latest Stable Version:
- Poser Latest Unstable Version
- Poser Total Downloads
- Poser Monthly Downloads
- Poser Daily Downloads
- Poser License
- SensionLabs Insight Quality
About
AjglDoctrineDbalPgsqlTypes is an ajgarlag initiative.
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
统计信息
- 总下载量: 46.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-08-21