logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mongodb 之 模糊查询

mongodb的模糊查询需要熟练掌握 正则匹配($regex),和全文检索($text),或者直接使用正则表达式。一.mongodb中正则($regex)的用法:      1.{field:{$regex:{/pattern/option}}},其中pattern是寻常的正则表达式,          option的值包含:              i(不区分大小写),  ...

#mongodb
error while loading shared libraries的解决办法

在启动 mongod的时候遇到 error while loading shared libraries: libnetsnmpagent.so.20: cannot open shared object file: No such file or directory该error 是因为未装net-snmp直接连接外网的Linux服务器可直接使用:yum install net-snm

#mongodb
到底了