You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/data-persisters.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,11 @@ process](serialization.md).
8
8
A data persister using [Doctrine ORM](http://www.doctrine-project.org/projects/orm.html) is included with the library and
9
9
is enabled by default. It is able to persist and delete objects that are also mapped as [Doctrine entities](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html).
10
10
11
-
However, you may want to store data to other persistence layers (ElasticSearch or MongoDB), to separate the public model
12
-
of the API and the internal model mapped with the database, or to use patterns such as [CQRS](https://martinfowler.com/bliki/CQRS.html)
13
-
to use a separate model for [read operations](data-providers.md) and for updates.
11
+
However, you may want to:
12
+
13
+
* store data to other persistence layers (ElasticSearch, MongoDB, external web services...)
14
+
* not publicly expose the internal model mapped with the database through the API
15
+
* use a separate model for [read operations](data-providers.md) and for updates by implementing patterns such as [CQRS](https://martinfowler.com/bliki/CQRS.html)
14
16
15
17
Custom data persisters can be used to do so. A project can include as many data persisters as it needs. The first able to
0 commit comments