Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'Create or Fail' methods to node/relationship indexes #162

Merged
merged 3 commits into from
Apr 14, 2014
Merged

Added 'Create or Fail' methods to node/relationship indexes #162

merged 3 commits into from
Apr 14, 2014

Conversation

pwaleczek
Copy link
Contributor

Added node/relationship methods:
create_or_fail_unique_... which raises an Neography::OperationFailureException when a unique key-value pair already exists in the index. Using regular create_unique_... there's no feedback whether the node/relationship has been created or retrieved.

@maxdemarzi
Copy link
Owner

Thanks!

maxdemarzi added a commit that referenced this pull request Apr 14, 2014
Added 'Create or Fail' methods to node/relationship indexes
@maxdemarzi maxdemarzi merged commit 350684c into maxdemarzi:master Apr 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants