Returning rows having column values masked is disclosed. In response to
receiving a database command, a modified database command is created that
specifies whether to mask a value by returning a mask of the value
instead of the value.In an embodiment, the condition expression is
included in a policy function that is referenced by a policy. In an
embodiment, the policy determines how the condition expressions are used.
The condition expression may be used to determine which column values to
mask. The condition expression may also be used to filter which rows are
returned.