From 38863594e57d08979be486c0118798b6d34d62ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zigmas=20Satkevi=C4=8Dius?= Date: Wed, 29 Mar 2017 10:07:46 +0300 Subject: [PATCH] Added documentation for read/write connections. --- orm/connections.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/orm/connections.md b/orm/connections.md index dd89ee8..2e057c9 100644 --- a/orm/connections.md +++ b/orm/connections.md @@ -7,7 +7,9 @@ Out of the box the database connections configured in `database.php` config are * pqsql * sqlsrv * oci8 - + +Please note that read/write connections are supported as well. Check out [laravel documentation](https://laravel.com/docs/5.4/database#read-and-write-connections) for more details. + By simply changing the `DB_CONNECTION` env variable you swap the database connection for Doctrine as well. The additional settings per connection are applied by default.