Mongo DB

  • command line 进入 C:\Program Files\MongoDB\Server\3.4\bin , 打 :  mongo
  • 显示所有  database :  show dbs
  • use database :   use dbname
  • 显示 table ,  in  mango ,  table 叫做 collection :    show collections
  • table filter :

  • ***  怎么模糊filter ?

in command line :  it is :

in c# program ,  should be :

来源于 :

https://stackoverflow.com/questions/8382307/mongodb-c-sharp-query-for-like-on-string