Skip to content

Error with "Implicit Operators" #2976

Discussion options

You must be logged in to vote

The query should rather be:

{     
    "selector" : {        
        "age": {
            "$lte": 30,
            "$gte": 25
        }
    },    
    "fields": [   "name",   "age",    "_id"     ], 
    "sort": [
        {
            "age": "desc"
        }   
    ]
}

I think there is also a documentation bug we can't have two keys in the selector with the same name

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@wohali
Comment options

wohali Jul 1, 2020
Collaborator

@hamiltonsalazar
Comment options

@wohali
Comment options

wohali Jul 1, 2020
Collaborator

@hamiltonsalazar
Comment options

@wohali
Comment options

wohali Jul 1, 2020
Collaborator

Comment options

You must be logged in to vote
1 reply
@hamiltonsalazar
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hamiltonsalazar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2976 on July 01, 2020 07:16.