mongodb create insert

  • 37
  • 0

mongodb create insert

 db2.CreateCollection("Settings");
                var Server_Setting = new Setting();
                Server_Setting.B = 1883
                col2.InsertOne(Server_Setting);