By default, the Mongo shell connects to the "test" database.
默认情况下,Mongo shell连接到“测试”数据库。
Outside of the Mongo shell, you would use the update function in your applications to apply changes to existing data.
除了Mongo shell之外,您可以在应用程序中使用update函数来将更改应用到现有数据。
Once you have MongoDB started, you can quickly get a feel for working with its interactive shell. Simply invoke the mongo command and you should see something similar to what's in Listing 2.
一旦您启动了MongoDB,您很快就会感受到使用其交互式shell的感觉。
Once you have MongoDB started, you can quickly get a feel for working with its interactive shell. Simply invoke the mongo command and you should see something similar to what's in Listing 2.
一旦您启动了MongoDB,您很快就会感受到使用其交互式shell的感觉。
应用推荐