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
Defining an index on models
indexes: { refDocs: { getByEmail: { keys: ['email'], required: false }, getByHash: { keys: ['hash'], required: false }, getByFacebookId: { keys: ['facebook.id'], required: false } } }
These indexes should also create a N1QL index. There should be a way to define the N1QL indexes using a similar instruction by 1 of 2 options:
refDocs
refDoc
n1qlIdx
Just the refDoc gets created.
Couchbase SDK version: 2.2.2 Couchbase Server version: 4.5 CE CouchbaseODM version/branch: 1.0.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What you are doing?
Defining an index on models
What do you expect to happen?
These indexes should also create a N1QL index.
There should be a way to define the N1QL indexes using a similar instruction by 1 of 2 options:
refDocs
and, by default, indexes get created viarefDoc
and N1QL indexn1qlIdx
property and allow definition of index creation thereWhat is actually happening?
Just the
refDoc
gets created.Couchbase SDK version: 2.2.2
Couchbase Server version: 4.5 CE
CouchbaseODM version/branch: 1.0.1
The text was updated successfully, but these errors were encountered: