Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のマングーススクリプトでは、次のように書いています。
mongoose.connect('mongodb://localhost/mydb');
しかし、現在mydbMongo にはデータベースがありません。mydbまだ存在しない場合、これは作成されますか?
mydb
ドーム実験を行ったところ、
データベースが存在しない場合、新しいデータベースを作成しました