1.使用的是Robo 3T客户端。
https://blog.csdn.net/cw2004100021124/article/details/50150425
MongoDB提供了一组比较操作符:$lt/$lte/$gt/$gte/$ne,依次等价于</<=/>/>=/!=。
2.查询数据
db.getCollection('sportsPerson').find({"category":"football"})
1.使用的是Robo 3T客户端。
https://blog.csdn.net/cw2004100021124/article/details/50150425
MongoDB提供了一组比较操作符:$lt/$lte/$gt/$gte/$ne,依次等价于</<=/>/>=/!=。
2.查询数据
db.getCollection('sportsPerson').find({"category":"football"})