From 5d25ed4b03fa7de659377c78219adb6d0a5494c6 Mon Sep 17 00:00:00 2001 From: brabli <67018167+brabli@users.noreply.github.com> Date: Thu, 27 Nov 2025 15:19:34 +0000 Subject: [PATCH] Update readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0f6ed71..9eab6d1 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,6 @@ $entity->metadata->set("name", "PCM"); $entity->metadata->get("name"); // "PCM" $entity->metadata->isSet("name"); // true ``` + +> Like setting a property normally, setting metadata values will not automatically update the database. +You must call `flush()` from the `EntityManager` as usual when you wish to persist data.