fwolfsjaeger/doctrine-cockroachdb-bundle
最新稳定版本:0.9.5
Composer 安装命令:
composer require fwolfsjaeger/doctrine-cockroachdb-bundle
包简介
Doctrine DBAL CockroachDB Driver Bundle for Symfony
关键字:
README 文档
README
CockroachDB Driver Bundle for Symfony
CockroachDB Driver is a Doctrine DBAL Driver to handle incompatibilities with PostgreSQL. This package is meant to be used with (and requires) Symfony 6.0 or newer.
It is based on https://github.com/lapaygroup/doctrine-cockroachdb by Lapay Group.
CockroachDB Quick Setup Guide
Usage
Connection configuration example using a DSN
# doctrine.yaml doctrine: dbal: url: crdb://<user>@<host>:<port(26257)>/<dbname>?sslmode=verify-full&sslrootcert=<path-to-ca.crt>&sslcert=<path-to-user.crt>&sslkey=<path-to-user.key>
Alternative: YAML connection configuration example
# doctrine.yaml doctrine: dbal: user: <user> port: <port(26257)> host: <host> dbname: <dbname> sslmode: verify-full sslrootcert: <path-to-ca.crt> sslcert: <path-to-user.crt> sslkey: <path-to-user.key> driver: crdb
License
统计信息
- 总下载量: 5.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-27