Azure Cosmos DB driver

オープン
#2,497 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
azure, swift
領域
databases

調査の方向性

Start by locating the registry plugin entry point and reading the existing MongoDB plugin, especially its JSON viewer integration. Then trace how database navigation, query execution, authentication, and query insights are handled. Done means the NoSQL API supports the listed authentication methods, databases and containers, document viewing, Cosmos SQL, and request-unit insights.

索引モデルが issue の本文から書いたものです。

説明

enhancement platform-macos
Problem

Cosmos DB is not supported. Its API for MongoDB speaks the MongoDB wire protocol, so those accounts may connect through the MongoDB plugin, but that is untested and databases/mongodb.mdx does not mention Cosmos DB. The NoSQL API, which is the default, has no path at all.

Proposed solution

A registry plugin for the NoSQL API over the REST API:

  • Account key, resource token and Entra ID auth. The Entra ID sign-in in apple/Plugins/TableProPluginKit/Entra/ asks only for the Azure SQL scope (EntraOAuth.swift:99), so it needs a scope per resource before Cosmos DB can use it.
  • Databases and containers in the sidebar, documents in the grid through the JSON viewer MongoDB already uses.
  • Cosmos SQL in the editor.
  • Request units per query shown with the result, since RU is what the query costs. The BigQuery plugin reports bytes processed the same way (apple/Plugins/BigQueryDriverPlugin/BigQueryPluginDriver+Execution.swift:291).
Alternatives considered

Data Explorer in the Azure portal.

Platform

macOS

Related database type

N/A / General

主要言語
Swift
スター
6.2k
フォーク
412
平均マージ
3時間 56分
マージ済み PR(30日)
669

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TableProApp/TablePro のほかの issue

TableProApp/TablePro の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。