Skip to content
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

MongoDB 查找指定字段值的字符串长度大于某个值的文档 #170

Closed
Dream4ever opened this issue Jul 26, 2021 · 0 comments
Closed
Labels

Comments

@Dream4ever
Copy link
Owner

解决过程

Google 关键词:mongodb find documents where string length larger than

第二个搜索结果 Find Strings greater than a particular length in MongoDB? 解决了问题:

db.stringFieldLengthDemo.find({ $where: 'this.UserName.length >11' })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant