> ## 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](/zh/reference/data-types/index)) — 行策略的名称。
* `short_name` ([String](/zh/reference/data-types/index)) — 行策略的短名称。行策略名称是复合形式，例如：myfilter ON mydb.mytable。其中，'myfilter ON mydb.mytable' 是行策略名称，'myfilter' 是其短名称。
* `database` ([String](/zh/reference/data-types/index)) — 数据库名称。
* `table` ([String](/zh/reference/data-types/index)) — 表名称。如果是数据库级策略，则为空。
* `id` ([UUID](/zh/reference/data-types/index)) — 行策略 ID。
* `storage` ([String](/zh/reference/data-types/index)) — 存储该行策略的目录名称。
* `select_filter` ([Nullable(String)](/zh/reference/data-types/index)) — 用于在 SELECT 查询中过滤的表达式。
* `is_restrictive` ([UInt8](/zh/reference/data-types/index)) — 表示该行策略是否限制对行的访问。值：• 0 — 该行策略使用 `AS PERMISSIVE` 子句定义，• 1 — 该行策略使用 `AS RESTRICTIVE` 子句定义。
* `apply_to_all` ([UInt8](/zh/reference/data-types/index)) — 表示该行策略应用于所有角色和/或用户。
* `apply_to_list` ([Array(String)](/zh/reference/data-types/index)) — 应用该行策略的角色和/或用户列表。
* `apply_to_except` ([Array(String)](/zh/reference/data-types/index)) — 该行策略应用于除所列角色和/或用户外的所有角色和/或用户。

<div id="see-also">
  ## 另见
</div>

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