閱讀本篇前,請先安裝 MongoDB。
[MongoDB] Windows 安裝 MongoDB、Windows Install MongoDB
1. 下載安裝 Studio 3T。
2. 按 Connect。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733645103-3234339230-g.png)
2. 按 New connection。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733645282-1222717810-g.png)
3. URL 欄位輸入 mongodb://localhost:27017。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733645374-1918242582-g.png)
4. 輸入要的 Connection name,按 Save。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733645478-2997077565-g.png)
5. 選取 connection1,按 Connect。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733645618-1907206371-g.png)
6. 在 connection1 滑鼠右鍵 → Add Database。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733646150-1762383412-g.png)
7. 輸入要的 Database Name,按 OK。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733646233-819777907-g.png)
8. 在 Collections 滑鼠右鍵 → Add Collection。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733646397-701310354-g.png)
9. Collection Name 輸入要的名稱,按 Create。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733646480-3763176502-g.png)
10. 按 + 號。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733646827-3317163564-g.png)
11. Insert 一些資料,按 Add Document。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733646909-2037574168-g.png)
12. 資料已 Insert 進去。
![[MongoDB] Use Studio 3T to man [MongoDB] Use Studio 3T to man](https://pimg.1px.tw/mitblog/1733647036-1255650964-g.png)
