Update readme

This commit is contained in:
brabli
2025-11-27 15:19:34 +00:00
parent b1dd0c0ffc
commit 5d25ed4b03

View File

@@ -17,3 +17,6 @@ $entity->metadata->set("name", "PCM");
$entity->metadata->get("name"); // "PCM" $entity->metadata->get("name"); // "PCM"
$entity->metadata->isSet("name"); // true $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.