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.
mongoDB で任意の関数を作成して、別の DB 内に留まって新しい DB を作成することは可能ですか? USE、CONNECTなどのコマンドを使用して)そうであれば、リンクを提供するか、回答を提案してください
データベースを明示的に作成する必要はないと思います。すぐに使えます。
>use newdb // insert a new document into a collection >db.things.insert({attr:'someValue'}) >show collections system.indexes things >show dbs local (empty) newdb 0.203125GB