ReplaceRlsPolicyOperation

Classes > Nimblesite.DataProvider.Migration.Core > ReplaceRlsPolicyOperation

Atomically replace a policy when a predicate is removed or its scope changes. Implements [RLS-DIFF].

public sealed record ReplaceRlsPolicyOperation : SchemaOperation, IEquatable<SchemaOperation>, IEquatable<ReplaceRlsPolicyOperation>

Constructors

ReplaceRlsPolicyOperation

public ReplaceRlsPolicyOperation(string Schema, string TableName, RlsPolicyDefinition Policy)

Atomically replace a policy when a predicate is removed or its scope changes. Implements [RLS-DIFF].

Parameter Type Description
Schema String
TableName String
Policy RlsPolicyDefinition

Properties

Schema

public string Schema { get; init; }

TableName

public string TableName { get; init; }

Policy

public RlsPolicyDefinition Policy { get; init; }