eos / arango-db-3-connector-bundle
Symfony 集成方案,用于 eos/arango-db-3-connector
1.0.1
2020-01-02 12:32 UTC
Requires
- php: >=7.2
- eos/arango-db-3-connector: ^1.0
- symfony/console: ^4.0
- symfony/framework-bundle: ^4.0
This package is auto-updated.
Last update: 2024-08-30 01:20:13 UTC
README
Symfony 集成方案,用于 eos/arango-db-3-connector。
安装
composer req eos/arango-db-3-connector-bundle
配置
eos_arango_db_connector: servers: ['http://127.0.0.1:8529'] user: 'root' password: null database: 'your_database' collections: your_collection: type: 'document' # document|edge wait_for_sync: false # false is the default indices: your_index: type: 'hash' fields: ['id'] options: unique: true
命令
以下命令可用
eos:arango-db:database:createeos:arango-db:database:removeeos:arango-db:collections:createeos:arango-db:collections:remove
服务
数据库可通过服务ID Eos\ArangoDBConnector\ArangoDBInterface 进行自动装配。