-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
自定义的_id值查询 的时候有问题 #9
Comments
用的最新版的 |
_id只能是ObjectId,其他不合法的 |
有些时候 会自定义_id值 这情况下 就不能用了 |
额,完全没有考虑到这个情况哦。 好像还不太好改 |
+1.我们用的都是uuid。不过话又说回来。我没有用nutzmongo额。 |
@ansjsun 这样来用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如果自定义的字符串类型的_id 会报 ObjectId 验证问题
错误
The text was updated successfully, but these errors were encountered: