Merge pull request #60 from mr-macedawg/patch-1

Update connectors.yml
This commit is contained in:
Bryn Whyman 2021-01-15 15:53:16 +13:00 committed by GitHub
commit bd0d90abff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,23 +6,23 @@ SilverStripe\Core\Injector\Injector:
MSSQLPDODatabase:
class: 'SilverStripe\MSSQL\MSSQLDatabase'
properties:
connector: %$PDOConnector
schemaManager: %$MSSQLSchemaManager
queryBuilder: %$MSSQLQueryBuilder
connector: '%$PDOConnector'
schemaManager: '%$MSSQLSchemaManager'
queryBuilder: '%$MSSQLQueryBuilder'
# Uses sqlsrv_connect
MSSQLDatabase:
class: 'SilverStripe\MSSQL\MSSQLDatabase'
properties:
connector: %$SQLServerConnector
schemaManager: %$MSSQLSchemaManager
queryBuilder: %$MSSQLQueryBuilder
connector: '%$SQLServerConnector'
schemaManager: '%$MSSQLSchemaManager'
queryBuilder: '%$MSSQLQueryBuilder'
# Uses sqlsrv_connect to connect to a MS Azure Database
MSSQLAzureDatabase:
class: 'SilverStripe\MSSQL\MSSQLAzureDatabase'
properties:
connector: %$SQLServerConnector
schemaManager: %$MSSQLSchemaManager
queryBuilder: %$MSSQLQueryBuilder
connector: '%$SQLServerConnector'
schemaManager: '%$MSSQLSchemaManager'
queryBuilder: '%$MSSQLQueryBuilder'
SQLServerConnector:
class: 'SilverStripe\MSSQL\SQLServerConnector'
type: prototype