-
Notifications
You must be signed in to change notification settings - Fork 13
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
.where selector is mandatory when using .select or .partialIndex #1216
Comments
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
Selector is mandatory when using .select or .partialIndex cozy/cozy-client#1216
This issue still exists for contacts because of: https://github.com/cozy/cozy-client/blob/master/packages/cozy-stack-client/src/ContactsCollection.js#L13 |
Petit souci également avec une requête de ce type
génère l'erreur suivante :
l'astuce pour l'instant consiste à rajouter |
CouchDB expect a mandatory |
Up, un nouveau souci trouvé aujourd'hui, avec cette définition :
Elle génère la même erreur que ci-dessus
Elle reste contournable avec l'ajout d'un |
When a query is run without a selector and sort, the Collection.all will be used: https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/StackLink.js#L86-88.
For instance:
Furthermore, a sort cannot be used without a selector according to #405
When the Collection.all is used, some query options cannot work such as
.partialIndex
or.select
, as the_all_docs
API will be used , that does not support such features.The text was updated successfully, but these errors were encountered: