https://ost.51cto.com/posts/2333
https://www.runoob.com/redis/redis-sets.html
http://www.mydlq.club/article/85/
https://blog.csdn.net/weixin_43658899/article/details/121065237
https://blog.51cto.com/lianghecai/4796001
https://www.strongdm.com/blog/mongodb-create-user
https://mongoing.com/archives/docs/mongodb初学者教程/如何在mongodb中创建用户并添加角色
use reporting // specify the DB
db.createUser(
{
user: "reportsUser",
pwd: passwordPrompt(), // or cleartext password if you wish
roles: [
{ role: "read", db: "reporting" },
{ role: "read", db: "products" },
{ role: "read", db: "sales" },
{ role: "readWrite", db: "accounts" }
]
}
)