Skip to content

Commit 5ba4108

Browse files
authored
Add read/write connections to new features in 5.0
1 parent 497abbf commit 5ba4108

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

en/appendices/5-0-migration-guide.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ Core
301301
Database
302302
--------
303303

304+
- ``ConnectionManager`` now supports read and write connection roles. Roles can be configured
305+
with ``read`` and ``write`` keys in the connection config that override the shared config.
304306
- ``Query::all()`` was added which runs result decorator callbacks and returns a result set for select queries.
305307
- ``Query::comment()`` was added to add a SQL comment to the executed query. This makes it easier to debug queries.
306308
- ``EnumType`` was added to allow mapping between PHP backed enums and a string or integer column.

0 commit comments

Comments
 (0)