Created
April 20, 2015 18:49
-
-
Save chx/2e0a392499843cdd9df5 to your computer and use it in GitHub Desktop.
"$err" : "Runner error: BadValue cannot sort with keys that are parallel arrays",
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> db.test.drop(); | |
true | |
> db.test.insert({f1:[1],f2:[1]}); | |
WriteResult({ "nInserted" : 1 }) | |
> db.test.find().sort({'f1':1,'f2':1}); | |
error: { | |
"$err" : "Runner error: BadValue cannot sort with keys that are parallel arrays", | |
"code" : 17144 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment