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
While doing this: users.index({"username": 1}, {unique: true}); I get a deprecation notice like this: DEPRECATED (collection.ensureIndex): use collection.createIndex instead (see https://Automattic.github.io/monk/docs/collection/createIndex.html) But on the documentation page ie https://Automattic.github.io/monk/docs/collection/createIndex.html, no such warning is listed. So I guess documentation needs a update about deprecation?
The text was updated successfully, but these errors were encountered:
Unfortunately, it also returns a Promise now.
Promise
Sorry, something went wrong.
@ndabAP Yeah, let me make the necessary changes and make a pull request. Sorry, I am late with my reply, was busy with other projects.
No branches or pull requests
While doing this:
users.index({"username": 1}, {unique: true});
I get a deprecation notice like this:
DEPRECATED (collection.ensureIndex): use collection.createIndex instead (see https://Automattic.github.io/monk/docs/collection/createIndex.html)
But on the documentation page ie https://Automattic.github.io/monk/docs/collection/createIndex.html, no such warning is listed. So I guess documentation needs a update about deprecation?
The text was updated successfully, but these errors were encountered: