Update readme
This commit is contained in:
1 parent
b1dd0c0ffc
commit
5d25ed4b03
1 file changed
+3
@@ -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.
|
||||
Reference in new issue
Block a user