PolicyDef <T>
Index
Properties
optionalcheck
WITH CHECK expression validating written rows. Can be a string, Raw query, or callback receiving column name mappings.
optionalcommand
DML command the policy applies to. Defaults to 'all'.
optionalname
Policy name. Auto-generated if omitted.
optionalroles
Database roles the policy applies to. Defaults to PUBLIC.
optionaltype
Whether the policy is permissive (OR-combined) or restrictive (AND-combined). Defaults to 'permissive'.
optionalusing
USING expression filtering visible rows. Can be a string, Raw query, or callback receiving column name mappings.
Definition of a PostgreSQL row level security policy on a table.