- 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逍遙游記
- Puppet 4 Essentials(Second Edition)
- Visual FoxPro程序設計教程
- 編程數學
- Visual Basic程序設計
- INSTANT Sinatra Starter
- LabVIEW虛擬儀器入門與測控應用100例
- Visual Basic 6.0程序設計實驗教程
- ActionScript 3.0從入門到精通(視頻實戰版)
- Oracle 12c從入門到精通(視頻教學超值版)
- Learning Kotlin by building Android Applications
- 3ds Max 2018從入門到精通
- Kotlin語言實例精解
- Unity AI Game Programming(Second Edition)
- Jenkins 2.x Continuous Integration Cookbook(Third Edition)