mongodb_查詢與聚合語句

1、mongodb查詢語句sql 1.查詢文檔mongodb 1.where語句:查詢user集合中字段 name='sitven' 的數據 (mongodb中查詢條件用鍵值對錶示) get.Collection('user').find({name:'sitven'}) 2.and語句:查詢user集合中name='sitven' and set_up = '2019-03-01' 的數據
相關文章
相關標籤/搜索