mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-30 22:37:42 +02:00
27 lines
822 B
YAML
27 lines
822 B
YAML
---
|
|
name: databaseconnectors
|
|
---
|
|
SilverStripe\Core\Injector\Injector:
|
|
MySQLPDODatabase:
|
|
class: 'SilverStripe\ORM\Connect\MySQLDatabase'
|
|
properties:
|
|
connector: '%$PDOConnector'
|
|
schemaManager: '%$MySQLSchemaManager'
|
|
queryBuilder: '%$MySQLQueryBuilder'
|
|
MySQLDatabase:
|
|
class: 'SilverStripe\ORM\Connect\MySQLDatabase'
|
|
properties:
|
|
connector: '%$MySQLiConnector'
|
|
schemaManager: '%$MySQLSchemaManager'
|
|
queryBuilder: '%$MySQLQueryBuilder'
|
|
MySQLiConnector:
|
|
class: 'SilverStripe\ORM\Connect\MySQLiConnector'
|
|
type: prototype
|
|
PDOConnector:
|
|
class: 'SilverStripe\ORM\Connect\PDOConnector'
|
|
type: prototype
|
|
MySQLSchemaManager:
|
|
class: 'SilverStripe\ORM\Connect\MySQLSchemaManager'
|
|
MySQLQueryBuilder:
|
|
class: 'SilverStripe\ORM\Connect\MySQLQueryBuilder'
|