Neo4j-PHP-OGM icon indicating copy to clipboard operation
Neo4j-PHP-OGM copied to clipboard

Create Unique

Open ehsanmr opened this issue 10 years ago • 2 comments

hi is there any way to use create unique in this bundle i mean someting like unique=true in doctrine/orm

ehsanmr avatar May 18 '14 11:05 ehsanmr

This is the same question I have.

tim-massey avatar Feb 17 '15 11:02 tim-massey

It's not supported at this stage. Neo4j added some constructs for this, but it has not been integrated into the OGM. There is still PR #30 for this, which was accidentally closed. However, the submiter did not provide tests. My own tests could not demonstrate the functionality. I never saw the expected behavior, so it was never merged.

If you are interested, you can pick up where it was left off.

lphuberdeau avatar Feb 17 '15 14:02 lphuberdeau