iT邦幫忙

2017 iT 邦幫忙鐵人賽
DAY 24
0
Cloud

認識 Microsoft Azure 三十天系列 第 24

Azure DocumentDB - Part 3 (使用 DocumentDB Document Explorer 上傳 DocumentDB document)

Azure DocumentDB - Part 3 (使用 DocumentDB Document Explorer 上傳 DocumentDB document)

要使用 Microsoft Azure DocumentDB,必須建立 DocumentDB AccountdatabaseCollectionDocument, 前面已建立過 DocumentDB AccountdatabaseCollection,最後就是上傳 json document.
NoSQL API 如果是 MongoDB 將不會啟用 Document Explorer

1. 開啟 DocumentDB Document Explorer

  1. 選擇 DocumentDB Account

    1selectaccount

  2. 點選 文件總管

    1documentexplorer

2. 建立文件

  1. 選擇 資料庫

  2. 選擇 集合

  3. 點選 建立

    2createdocument

  4. 新增文件內容

  • json 格式
  • id 是文件的識別碼
  • 未提供 id, Document Explorer 會自動產生 GUID 當作 id

    3newdocument
    4docid

  1. 自動格式檢查

    5formatcheck
    6formatcheck

3. 編輯文件

  • 成功儲存

    7savechnage

  • 捨棄

    9giveup

4. 刪除文件

  • 刪除

    10delete

5. 文件屬性

12docproperty

6. 上傳文件

  1. 上傳

    13UPLOAD

  2. 上傳結果

    14uploaded

7. 篩選文件

篩選功能僅對已載入文件有效 (下方文件清單即為已載入文件)

15filter

8. 其他來源

可以使用 DocumentDB 資料移轉工具,支援下列格式

  • JSON 檔案
  • MongoDB
  • SQL Server
  • CSV 檔案
  • Azure 表格儲存體
  • Amazon DynamoDB 或 HBase

參考資料

  1. 使用 DocumentDB Document Explorer 檢視、編輯、建立和上傳 JSON 文件
  2. SQL 查詢和 SQL 語法
  3. SQL 查詢速查表
  4. DocumentDB 資料移轉工具

上一篇
Azure DocumentDB - Part 2 (建立 DocumentDB Collection)
下一篇
Azure DocumentDB - Part 4 (使用 Query Explorer 執行查詢)
系列文
認識 Microsoft Azure 三十天31
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言