Dataviewの使い方 — 保管庫をデータベースのように検索するDataview: query your vault like a database
Dataviewはダウンロード数実測3位の定番プラグインです。このページでは公式GitHubリポジトリのREADMEとマニフェスト、公式ダウンロード数データを直接取得し、何ができるか・どれくらい使われているか・4つのクエリの書き方を、検証できた範囲だけでまとめました。Dataview is the plugin ranked #3 by measured downloads. For this page we pulled the official GitHub repository's README and manifest, plus the official download-count data, directly — and cover what it does, how much it is used, and its four query modes, limited to what we could actually verify.
Dataviewは何をするプラグインですか?What does the Dataview plugin do?
保管庫(Vault)をデータベースのように検索できるようにするプラグインです。ノートのfrontmatterやインラインフィールドに書いたメタデータを、TABLE・LIST・TASK・DataviewJSという4つのクエリモードで一覧化・集計できます。公式ダウンロード数データ(2026年8月22日取得)では480万5,635件で3位でした(レジストリの登録総数は6,840個ですが、順位はこれとは別ファイルのダウンロード数データの中での順位です)。
ただし目立った機能追加は2025年4月を最後に止まって見えます(下の実測データで詳述)。壊れているわけではありませんが、「今も活発に開発が進んでいる」という前提では見ない方が正確です。
Dataview turns your vault into something you can query like a database. Metadata you write in a note's frontmatter or as inline fields becomes queryable through four modes: TABLE, LIST, TASK and DataviewJS. Per the official download-count data (fetched August 22, 2026), it has 4,805,635 downloads and ranks #3 within that data (the registry itself lists 6,840 plugins, but that is a separate file from the one the ranking is computed over).
That said, visible feature work appears to have stopped after April 2025 (details below). It is not broken, but it is more accurate to think of it as stable rather than actively evolving.
実測 — ダウンロード数とリリース状況Measured: downloads and release status
Obsidian公式の配布元(GitHub: obsidianmd/obsidian-releases)が公開する community-plugin-stats.json と、Dataview自身のリポジトリ(GitHub: blacksmithgu/obsidian-dataview)の manifest.json を、raw.githubusercontent.com 経由でこの環境に直接取得しました。We fetched community-plugin-stats.json from Obsidian's official distribution (GitHub: obsidianmd/obsidian-releases) and manifest.json from Dataview's own repository (GitHub: blacksmithgu/obsidian-dataview) directly into this environment via raw.githubusercontent.com.
| 項目Item | 実測値Measured value | 出典Source |
|---|---|---|
| ダウンロード数・順位Downloads & rank | 4,805,635(ダウンロード数データの中で3位。1位Excalidraw・2位Templater) (#3 within the download-count data; Excalidraw #1, Templater #2) | community-plugin-stats.json |
| レジストリの登録プラグイン総数Plugins in the registry | 6,840件。順位の母数とは別のファイルで、ダウンロード数データに載る件数はこれよりわずかに少ない(統計に現れないプラグインがあるため)。6,840. This is a different file from the one the ranking is computed over — slightly fewer plugins appear in the download-count data, since not every registered plugin shows up there. | community-plugins.json |
| 前回計測(2026-08-21)との差Change vs. 2026-08-21 | ±0件。ただしこれは「24時間で1件も増えなかった」という意味ではありません。配信されているJSON自体が2回の取得の間に再生成されておらず、前回ページと同じスナップショットを読んだ、というのが正確な読み方です。±0 — but this does not mean downloads stood still for 24 hours. The published JSON itself had not been regenerated between the two fetches, so this read hit the same snapshot as yesterday's page. | community-plugin-stats.json |
ダウンロード数データの更新日時Stats updated timestamp |
2025-04-07 19:17 UTC(計測時点で約16ヶ月前) (about 16 months before this measurement) | community-plugin-stats.json のupdatedフィールド |
masterブランチのバージョンVersion on master |
0.5.68(minAppVersion 0.13.11・isDesktopOnly: false) (minAppVersion 0.13.11, isDesktopOnly: false) | manifest.json |
| GitHub Releasesの最新タグLatest GitHub Releases tag | 0.5.70(ベータ表記) (marked beta) | github.com/blacksmithgu/obsidian-dataview/releases |
masterのバージョン(0.5.68)とReleasesページの最新タグ(0.5.70・ベータ)が一致していません。正式リリースとしてmanifestに反映される機能追加は止まって見えますが、Issueへの返信や小さな修正は続いています。あるユーザー向けブログは「3万行のコードが、ちゃんと動いている。壊れていない凍結プラグインは、壊れたプラグインとは違う」と評しており※、この実測結果と整合的です。The version on master (0.5.68) does not match the latest tag on the Releases page (0.5.70, marked beta). Feature work landing in a proper manifest release looks stopped, but issue replies and small fixes continue. One outside blog put it as "30,000 lines of code that works. Nothing broke... a frozen plugin that does its job is not the same as a broken one"※ — consistent with what we measured here.
※ 参考文献の外部記事を参照。当サイトの一次計測ではなく、外部の見解として引用。※ See the external article in references — quoted as an outside opinion, not our own primary measurement.
4つのクエリモード — 公式READMEのサンプルよりFour query modes — from the official README
Dataviewには4つの書き方があります。以下は公式READMEに掲載されているサンプルをそのまま引用したものです(実際にObsidian上で実行した検証ではありません。範囲は下の検証環境欄で明記します)。Dataview offers four ways to query. The samples below are quoted directly from the official README (we did not run these inside Obsidian ourselves — see the verification-scope note below).
SQLに似た専用の記法。基本的な用途に向く。A dedicated, SQL-like syntax for common cases.
```dataview
TABLE file.name AS "File", rating AS "Rating" FROM #book
```
本文中に埋め込み、プレビューで評価される。Embedded directly in a note and evaluated in preview mode.
We are on page `= this.file.name`.
JavaScript APIをフル活用できる、最も強力なモード。The most powerful mode, with full access to the JavaScript API.
```dataviewjs
dv.taskList(dv.pages().file.tasks.where(t => !t.completed));
```
インライン式のJavaScript版。任意のJSをその場で実行できる。The JavaScript equivalent of inline expressions — run arbitrary JS inline.
This page was last modified at `$= dv.current().file.mtime`.
データの入力側は2種類です。ノート先頭のYAML frontmatter(---で囲む)か、本文中にフィールド名:: 値と書くインラインフィールドで、どちらもDataviewが読み取ってクエリの対象にします。There are two ways to feed it data: YAML frontmatter at the top of a note (fenced by ---), or inline fields written as Field:: Value in the body — both are indexed and become queryable.
---
alias: "document"
last-reviewed: 2021-08-17
thoughts:
rating: 8
reviewable: false
---
Basic Field:: Value
**Bold Field**:: Nice!
You can also write [field:: inline fields]; multiple [field2:: on the same line].
DataviewJSのセキュリティに関する注意A security note on DataviewJS
DataviewJSは強力な分、他のObsidianプラグインと同じ権限で動きます。つまりファイルの書き換え・作成・削除や、ネットワーク通信も可能です。自分で書いたコードか、内容を理解している・信頼できる配布元のスクリプトだけを使うことが公式に推奨されています。一方、通常のDataviewクエリ(DQL)はサンドボックス化されており、保管庫に変更を加えることはできません(その分できることは限られます)。DataviewJS is powerful because it runs at the same permission level as any other Obsidian plugin — meaning it can rewrite, create, or delete files, and make network calls. The README recommends writing your own JS, or only using scripts you understand and trust. Regular DQL queries, by contrast, are sandboxed and cannot make changes to your vault — in exchange for being more limited.
クエリを書く前に、まず1行を残す場所を決めるBefore you write your first query, decide where the first line lands
Dataviewは「保管庫の中にすでにあるノート」を検索・集計しますが、「思いついたことをノートにする」手前の工程は担いません。Obsidian連携シンプルメモは、送信したメモを自分宛メールに残しつつ、iCloud Drive上の保管庫フォルダのデイリーノートへ直接追記します。frontmatterやインラインフィールドを使い始める前の、いちばん最初の1行のための道具です。Dataview searches and rolls up notes that already exist in your vault; it does not handle the step before that — turning a passing thought into a note in the first place. Simple Memo emails each note to you and appends it straight into the daily note inside your vault folder on iCloud Drive. It is a tool for that very first line, before frontmatter or inline fields ever come into play.
よくある質問FAQ
Dataviewは何をするプラグインですか?What does Dataview do?
Dataviewはどれくらい使われていますか?How widely used is Dataview?
Dataviewは今も開発されていますか?Is Dataview still being developed?
updated timestamp is 2025-04-07 — about 16 months before this measurement, with no newer value since. GitHub's Releases page shows a beta tag, 0.5.70, but manifest.json on master still reads 0.5.68. Visible feature work looks stopped, but issue replies and small fixes continue — it has not stopped working.Dataviewの基本的な書き方は?What's the basic syntax?
dataviewコードブロックにTABLE・LIST・TASKいずれかのクエリを書くと、条件に合うノートが一覧になります。Tag metadata using a note's YAML frontmatter, or inline as Field:: Value in the body. Then write a TABLE, LIST or TASK query inside a dataview code block to list matching notes.DataviewJSは安全に使えますか?Is DataviewJS safe to use?
計測日: 2026年8月22日。ダウンロード数・登録数は community-plugin-stats.json・community-plugins.json(Obsidian公式配布元 obsidianmd/obsidian-releases)をraw.githubusercontent.com経由でこの環境に直接取得。バージョン情報は Dataview自身のリポジトリ(blacksmithgu/obsidian-dataview)のmanifest.json・README.mdを同じ経路で取得し、クエリのサンプルコードはREADMEの記載をそのまま引用しています。GitHubのウェブページ(スター数・フォーク数・Issue数・Releasesページの日付)はWebFetch経由の取得で、この環境のcurlではgithub.com本体・obsidian.md・blacksmithgu.github.io(公式ドキュメントサイト)への直接アクセスがすべてブロックされています。今回はDataviewを実際にインストールしてクエリを実行する検証は行っていません(保管庫内部の実測は別ページで実施済み)。この点はコンテンツキューが当初想定していた「実機インストール+動くクエリ例」という検証水準には届いておらず、今回は一次情報の直接取得と実カウントのみで出荷したことを明記します。Measured August 22, 2026. Download and registration counts came from community-plugin-stats.json and community-plugins.json (Obsidian's official distribution, obsidianmd/obsidian-releases), fetched directly into this environment via raw.githubusercontent.com. Version info came from Dataview's own repository (blacksmithgu/obsidian-dataview)'s manifest.json and README.md via the same route; query samples are quoted verbatim from the README. GitHub web-page figures (stars, forks, issues, Releases-page dates) came via WebFetch — direct curl access to github.com itself, obsidian.md, and blacksmithgu.github.io (the official docs site) is blocked in this environment. We did not install Dataview and run queries ourselves this time (vault-contents testing was done separately on another page). This falls short of the "hands-on install plus working query screenshots" bar the content queue originally set for this page — we are noting plainly that this round shipped on direct primary-source retrieval and measured counts only.
関連ページRelated pages
参考文献・データの出典References & data sources
- blacksmithgu/obsidian-dataview(GitHub) — Dataview公式リポジトリ。README.md・manifest.jsonを2026-08-22に
raw.githubusercontent.com経由で直接取得Dataview's official repository. README.md and manifest.json fetched directly viaraw.githubusercontent.comon 2026-08-22 - obsidianmd/obsidian-releases(GitHub) — Obsidian公式の配布元。
community-plugin-stats.json(ダウンロード数)・community-plugins.json(登録一覧・6,840件)を2026-08-22に直接取得Obsidian's official distribution.community-plugin-stats.json(downloads) andcommunity-plugins.json(registry, 6,840 entries) fetched directly on 2026-08-22 - The Complete Guide to Dataview in Obsidian(dsebastien.net) — 外部記事。「凍結しているが壊れていない」という評価の引用元(当サイトの一次計測ではない)External article — source of the "frozen but not broken" framing quoted above (not our own primary measurement)
- Obsidianプラグイン入門(当サイト) — プラグイン総数6,812個(2026-08-21実測)・トップ10ランキングの元ページOur earlier page with the 6,812-plugin count (measured 2026-08-21) and the top-10 ranking
- Obsidian連携シンプルメモ — App Store — App StoreのダウンロードページApp Store download page
ObsidianはDynalist Inc.の商標です。本サイトはObsidianプロジェクトと提携関係にない独立メディアで、Obsidian連携シンプルメモは株式会社ユリカが開発する独立アプリです。Dataviewは blacksmithgu 氏(Michael Brenan)が開発するサードパーティ製プラグインで、当サイトはその開発者・権利者を保証・推奨するものではありません。Obsidian is a trademark of Dynalist Inc. This site is independent of the Obsidian project; Simple Memo - for Obsidian is an independent app by Yurica Inc. Dataview is a third-party plugin developed by blacksmithgu (Michael Brenan); this page does not constitute an endorsement of its developer or rights holder.