閱讀本篇前,請先安裝 MongoDB。
[MongoDB] Windows 安裝 MongoDB、Windows Install MongoDB
1. 下載安裝 Studio 3T。
2. 按 Connect。
2. 按 New connection。
3. URL 欄位輸入 mongodb://localhost:27017。
4. 輸入要的 Connection name,按 Save。
5. 選取 connection1,按 Connect。
6. 在 connection1 滑鼠右鍵 → Add Database。
7. 輸入要的 Database Name,按 OK。
8. 在 Collections 滑鼠右鍵 → Add Collection。
9. Collection Name 輸入要的名稱,按 Create。
10. 按 + 號。
11. Insert 一些資料,按 Add Document。
12. 資料已 Insert 進去。
文章標籤
全站熱搜

留言功能已依作者設定調整顯示方式