mongodb中比較級查詢條件:($lt $lte $gt $gte)(大於、小於)、查找條件

查詢表中學生年級大於20,以下:less db.getCollection('student').find({'age':{'$gt':'20'}})code   $lt    <   (less  than )字符串 $lte    <=  (less than  or equal to )get $gt   >    (greater  than )io $gte   >=    (great
相關文章
相關標籤/搜索