Class PolicyReferencesFunction

java.lang.Object
dev.frostlake.functions.TableFunction
dev.frostlake.functions.table.PolicyReferencesFunction

public class PolicyReferencesFunction extends TableFunction
INFORMATION_SCHEMA.POLICY_REFERENCES — every policy attached to one object, or every object one policy is attached to. It is THE readback surface for attachments: a masking or projection policy names its column in REF_COLUMN_NAME, while a row access or aggregation policy leaves that null and lists its argument columns in REF_ARG_COLUMN_NAMES.

It takes either POLICY_NAME => 'p' or the pair REF_ENTITY_NAME => 'o', REF_ENTITY_DOMAIN => 'TABLE'|'VIEW' — one of the two, never a mixture and never neither (live-verified, including the sentence that says so).