- 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面向對象思想與程序設計
- Developing Mobile Web ArcGIS Applications
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 深入淺出WPF
- 秒懂設計模式
- 軟件測試技術指南
- Highcharts Cookbook
- Python算法指南:程序員經典算法分析與實現
- 持續輕量級Java EE開發:編寫可測試的代碼
- 現代C++編程實戰:132個核心技巧示例(原書第2版)
- FFmpeg開發實戰:從零基礎到短視頻上線
- TypeScript 2.x By Example
- R的極客理想:量化投資篇
- Java自然語言處理(原書第2版)
- 算法訓練營:海量圖解+競賽刷題(入門篇)