silverstripe-framework/_config/database.yml
2022-09-15 13:13:48 +12:00

18 lines
527 B
YAML

---
name: databaseconnectors
---
SilverStripe\Core\Injector\Injector:
MySQLDatabase:
class: 'SilverStripe\ORM\Connect\MySQLDatabase'
properties:
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'