- 博客(2)
- 收藏
- 关注
原创 .net 中使用MongoDB.Driver 多条件动态拼接查询
using MongoDB.Bson; using MongoDB.Driver; 按指定用户名,指定日期查询数据 string username="lee";//定义用户名 string[] Dates = new string[] { "2020-03-05", "2020-03-02","2020-03-06"};//定义时间段,数量不限 List<FilterDefinition&l...
2020-03-06 11:08:22
2089
原创 在.Net Core中使用MongoDB 按时间日期查询数据
插入数据: var indocument = new BsonDocument { {" Massageid", "978978978978"}, {"Time",DateTime.Now }, {"type", 1 } ...
2019-04-18 15:20:35
1561
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人