silverstripe-framework/_config/database.yml

23 lines
527 B
YAML
Raw Normal View History

---
name: databaseconnectors
---
Injector:
MySQLPDODatabase:
class: 'MySQLDatabase'
properties:
connector: %$PDOConnector
schemaManager: %$MySQLSchemaManager
queryBuilder: %$MySQLQueryBuilder
MySQLDatabase:
class: 'MySQLDatabase'
properties:
connector: %$MySQLiConnector
schemaManager: %$MySQLSchemaManager
queryBuilder: %$MySQLQueryBuilder
MySQLiConnector:
class: 'MySQLiConnector'
type: prototype
PDOConnector:
class: 'PDOConnector'
type: prototype