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
MongoDB uses JSON object values with ordered keys so that, for ensuring compound indexes, instead of following signature:
void ensureIndex(int[string] field_orders, IndexFlags flags = IndexFlags.None)
it will be necessary something like:
void ensureIndex(Tuple!(string, int)[] field_orders, IndexFlags flags = IndexFlags.None)
The text was updated successfully, but these errors were encountered:
6281f37
Unfortunately it is not so simple: on line 336 [1], a Bson dictionary is used that also has no key order defined. Please reopen the issue.
[1] key[fo[0]] = Bson(fo[1]);
key[fo[0]] = Bson(fo[1]);
Sorry, something went wrong.
BSON AAs are ordered, so that should be fine.
I didn't know that! Thanks.
No branches or pull requests
MongoDB uses JSON object values with ordered keys so that, for ensuring compound indexes, instead of following signature:
void ensureIndex(int[string] field_orders, IndexFlags flags = IndexFlags.None)
it will be necessary something like:
void ensureIndex(Tuple!(string, int)[] field_orders, IndexFlags flags = IndexFlags.None)
The text was updated successfully, but these errors were encountered: