SilverStripe\PostgreSQL\PostgreSQLDatabase::model_schema_as_database
For instances where multiple databases are used beyond the initial connection you may set this option to true to force database switches to switch schemas instead of using databases. This may be useful if the database user does not have cross-database permissions, and in cases where multiple databases are used (such as in running test cases).
If this is true then the database will only be set during the initial connection, and attempts to change to this database will use the 'public' schema instead If this is false then errors may be generated during some cross database operations.
Signature
private function model_schema_as_database()
Returns
- bool