Home
Sign Up
Sign In
推荐工具
›
RoboMongo
推荐书目
›
50 Tips and Tricks for MongoDB Developers
Related Blogs
›
Snail in a Turtleneck
V2EX
›
MongoDB
Mongoose/MongoDB 如何做不区分大小写的唯一索引?
WildCat
·
Jun 24, 2014
· 7176 views
This topic created in 4517 days ago, the information mentioned may be changed or developed.
类似MySQL的 utf8_general_ci
大小写
索引
MySQL
2 replies
•
2014-06-24 14:51:34 +08:00
GordianZ
Jun 24, 2014
1
1
我的方法:另外加一个 field 对其索引,然后建 save / update 的 middleware, 对字符串统一大小写。
jiangzhuo
Jun 24, 2014
2
@
GordianZ
樓上大正解
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1537 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 17:56
·
PVG 01:56
·
LAX 09:56
·
JFK 12:56
♥ Do have faith in what you're doing.
❯