Rank 1: Thread
2 Query types at the same time
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
&& instead of , solves this
Rank 1: Thread
no need for any other index
Rank 1: Thread
were you aware of that?
Admin
No that's incorrect
Admin
Your code should not have changed. You should have left it the same and ran it after adding the index
Rank 1: Thread
i get this error
Rank 1: Thread
with the comma of course, not with the &&
Admin
again...your code is wrong
Rank 1: Thread
with the comma is wrong too?
Admin
share your code please
Rank 1: Thread
i get the error with this
Rank 1: Thread
Rank 1: Thread
i mean i also changed the key to what i named the key which is "notebook_and_status"
Admin
what do you mean?
Admin
did you run this code?
Rank 1: Thread
ok so i created this
Rank 1: Thread
Rank 1: Thread
that's good right?
Rank 1: Thread
ok so what should the code be?
Admin
this
Rank 1: Thread
ah it works
Rank 1: Thread
i thought i had to write the key name somewhere
Rank 1: Thread
would be nice with examples like that in the documentation
Rank 1: Thread
this works too btw, but i guess the one index with both attributes one is faster