> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 特定のテーブルに対するフィルターと、この行ポリシーを適用すべきロールおよび/または ユーザーの一覧を含むシステムテーブル。

# system.row_policies

<div id="description">
  ## 説明
</div>

特定のテーブルに対するフィルターと、この行ポリシーを適用すべきロールおよび/またはユーザーの一覧が含まれます。

<div id="columns">
  ## カラム
</div>

* `name` ([String](/ja/reference/data-types/index)) — 行ポリシーの名前。
* `short_name` ([String](/ja/reference/data-types/index)) — 行ポリシーの短縮名。行ポリシーの名前は複合名で、たとえば `myfilter ON mydb.mytable` のようになります。ここで 'myfilter ON mydb.mytable' が行ポリシーの名前で、'myfilter' がその短縮名です。
* `database` ([String](/ja/reference/data-types/index)) — データベース名。
* `table` ([String](/ja/reference/data-types/index)) — テーブル名。データベースに対するポリシーの場合は空です。
* `id` ([UUID](/ja/reference/data-types/index)) — 行ポリシー ID。
* `storage` ([String](/ja/reference/data-types/index)) — 行ポリシーが保存されているディレクトリ名。
* `select_filter` ([Nullable(String)](/ja/reference/data-types/index)) — SELECT クエリでフィルタリングに使用される式。
* `is_restrictive` ([UInt8](/ja/reference/data-types/index)) — 行ポリシーが行へのアクセスを制限するかどうかを示します。値: • 0 — 行ポリシーは `AS PERMISSIVE` 句で定義されています。• 1 — 行ポリシーは `AS RESTRICTIVE` 句で定義されています。
* `apply_to_all` ([UInt8](/ja/reference/data-types/index)) — 行ポリシーがすべてのロールおよび/またはユーザーに適用されることを示します。
* `apply_to_list` ([Array(String)](/ja/reference/data-types/index)) — 行ポリシーが適用されるロールおよび/またはユーザーの一覧。
* `apply_to_except` ([Array(String)](/ja/reference/data-types/index)) — 一覧に含まれるものを除く、すべてのロールおよび/またはユーザーに行ポリシーが適用されます。

<div id="see-also">
  ## 関連項目
</div>

* [SHOW POLICIES](/ja/reference/statements/show#show-policies)
