- Learning Node.js for Mobile Application Development
- Stefan Buttigieg Milorad Jevdjenic
- 94字
- 2021-07-09 21:21:32
Creating a database
Let's start by defining the database that we are going to work with. In your shell, execute the following:
> use OrderBase
This will ask MongoDB to switch to a new database, called OrderBase
, that we wish to run the commands against. The response will be as follows:
switched to db OrderBase
But wait, how can we switch to a database that does not exist yet? MongoDB flexibility to the rescue! When you tell MongoDB to use a database, it will create that database for you automatically before switching to it.
推薦閱讀
- Java面向對象軟件開發
- Vue.js快跑:構建觸手可及的高性能Web應用
- Neo4j Essentials
- Mastering Swift 2
- Mastering Drupal 8 Views
- 從零開始學Python網絡爬蟲
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- 零基礎學Python編程(少兒趣味版)
- Python數據可視化之美:專業圖表繪制指南(全彩)
- Learning Nessus for Penetration Testing
- 視窗軟件設計和開發自動化:可視化D++語言
- Visual Basic語言程序設計基礎(第3版)
- Kohana 3.0 Beginner's Guide
- Mastering JavaScript Promises
- Mastering Data Analysis with R