--- title: "テーブルメタデータの取得" url: https://docs.catalyst.zoho.com/ja/sdk/web/v4/cloud-scale/data-store/get-table-meta/ description: "このページでは、Webアプリケーションで単一テーブルまたは複数テーブルのメタデータを取得するメソッドについて、サンプルコードスニペットとともに説明します。" last_updated: 2026-02-23T12:39:41Z service: Cloud Scale type: general related_links: - name: "Get Table Metadata - API" url: /ja/api/code-reference/cloud-scale/data-store/get-table-metadata/#GetTableMetadata - name: "Data Store" url: /ja/cloud-scale/help/data-store/introduction --- # テーブルメタデータの取得 [Catalyst Data Store](https://docs.catalyst.zoho.com/ja/cloud-scale/help/data-store/introduction)内のテーブルのメタデータを取得できます。 ### 全テーブルのメタデータの取得 `getAll()` メソッドを使用して、Catalystプロジェクト内のすべてのテーブルの詳細を取得できます。以下のコードスニペットで使用されている `datastore` および `table` インスタンスは、それぞれ [コンポーネントインスタンス](https://docs.catalyst.zoho.com/ja/sdk/web/v4/cloud-scale/data-store/get-component-instance)と [テーブルオブジェクト](https://docs.catalyst.zoho.com/ja/sdk/web/v4/cloud-scale/data-store/get-table-instance)です。 このメソッドはPromiseを返し、`content` キーにすべてのテーブルのメタ詳細の配列を含むオブジェクトに解決されます。 ```javascript //Get metadata of all the tables in the project var datastore = catalyst.table; var allTablePromise = datastore.getAll(); allTablePromise .then((response) => { console.log(response.content); }) .catch((err) => { console.log(err); }); ``` 各バージョンで受け取るサンプルレスポンスを以下に示します: **WebSDK** ``` [ { "project_id":{ "project_name":"AlienCity", "id":"2136000000007733" }, "table_name":"AlienCity", "modified_by":{ "zuid":"66466723", "is_confirmed":false, "email_id":"emma@zylker.com", "first_name":"Amelia", "last_name":"Burrows", "user_type":"Admin", "user_id":"2136000000006003" }, "modified_time":"Aug 13, 2021 01:47 PM", "table_id":"2136000000007781" }, "table_name":"CityDetails", "modified_by":{ "zuid":"66466723", "is_confirmed":false, "email_id":"emma@zylker.com", "first_name":"Amelia", "last_name":"Burrows", "user_type":"Admin", "user_id":"2136000000006003" }, "modified_time":"Aug 13, 2021 01:47 PM", "table_id":"2136000000009090" } ] [ { "project_id":{ "project_name":"AlienCity", "id":2136000000007733 }, "table_name":"AlienCity", "modified_by":{ "zuid":66466723, "is_confirmed":false, "email_id":"emma@zylker.com", "first_name":"Amelia", "last_name":"Burrows", "user_type":"Admin", "user_id":2136000000006003 }, "modified_time":"Aug 13, 2021 01:47 PM", "table_id":2136000000007781 }, "table_name":"CityDetails", "modified_by":{ "zuid":66466723, "is_confirmed":false, "email_id":"emma@zylker.com", "first_name":"Amelia", "last_name":"Burrows", "user_type":"Admin", "user_id":2136000000006003 }, "modified_time":"Aug 13, 2021 01:47 PM", "table_id":2136000000009090 } ] ```