rls_get_policy
Retrieve the SQL definition (USING and WITH CHECK) of an RLS policy by providing schema, table, and policy name.
Instructions
Return the definition (USING and WITH CHECK code) of an RLS policy by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| policy_name | Yes | ||
| schema_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |