We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
index :title, :type => :fulltext, :unique => true # in imitation of mongoid: http://mongoid.org/docs/indexing.html # index :ssn, unique: true
The text was updated successfully, but these errors were encountered:
Maybe we can use the new method putifAbsent
putifAbsent
http://components.neo4j.org/neo4j/1.6.M03/apidocs/org/neo4j/graphdb/index/Index.html#putIfAbsent%28T,%20java.lang.String,%20java.lang.Object%29
Sorry, something went wrong.
Added support for creating unique entities using put_if_absent or Neo…
476a8b3
…4j::Core::Index::UniqueFactory Renamed java_entity to _java_entity See issue neo4jrb/activegraph#143
Support for create unique entities and search by array
d3e6c5f
Unique Entities - neo4jrb/activegraph#143 Search by Array - neo4jrb/activegraph#118
5d4f8e9
Hi
No I don't think so.
On Thu, Apr 4, 2013 at 10:47 PM, Alex notifications@github.com wrote:
Is it possible to create compound unique indexes? Something like: property :uid, :index => :exact, :unique => [:uid, :provider]property :provider, :index => :exact and then:MyNode.get_or_create(:uid =>'123456789', :provider => 'facebook') Thank you. — Reply to this email directly or view it on GitHubhttps://github.com//issues/143#issuecomment-15922776 .
Is it possible to create compound unique indexes?
Something like:
property :uid, :index => :exact, :unique => [:uid, :provider]property :provider, :index => :exact
Thank you.
— Reply to this email directly or view it on GitHubhttps://github.com//issues/143#issuecomment-15922776 .
No branches or pull requests
The text was updated successfully, but these errors were encountered: