Neo4j-PHP-OGM
Neo4j-PHP-OGM copied to clipboard
Documentation for writeOnly, readOnly?
Can someone explain me what they do? And difference between them?
This functionality is probably best documented by the tests:
- HireVoice\Neo4j\Tests\EntityManagerTest::testReadOnlyProperty
- HireVoice\Neo4j\Tests\EntityManagerTest::testWriteOnlyProperty
I will add it to the annotation documentation, if I find some time.
Thanks for quick answer. If I have understood correctly, relations marked with "readOnly" or "writeOnly" don't persist to database. But what difference between them ?