silverstripe-framework/_config/database.yml

18 lines
527 B
YAML
Raw Permalink Normal View History

---
name: databaseconnectors
---
SilverStripe\Core\Injector\Injector:
MySQLDatabase:
class: 'SilverStripe\ORM\Connect\MySQLDatabase'
properties:
2017-07-21 12:17:18 +02:00
connector: '%$MySQLiConnector'
schemaManager: '%$MySQLSchemaManager'
queryBuilder: '%$MySQLQueryBuilder'
MySQLiConnector:
class: 'SilverStripe\ORM\Connect\MySQLiConnector'
type: prototype
MySQLSchemaManager:
class: 'SilverStripe\ORM\Connect\MySQLSchemaManager'
MySQLQueryBuilder:
class: 'SilverStripe\ORM\Connect\MySQLQueryBuilder'