CascadeDeleteBuilder<T extends DatumEntityInterface> class

Fluent API builder for cascade delete operations.

Constructors

CascadeDeleteBuilder(dynamic _manager, String _entityId)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allowPartialDeletes() CascadeDeleteBuilder<T>
Allow partial deletes when some operations fail.
dryRun() CascadeDeleteBuilder<T>
Enable dry-run mode to preview what would be deleted.
execute() Future<CascadeResult<T>>
Execute the cascade delete operation.
forUser(String userId) CascadeDeleteBuilder<T>
Specify the user ID for the operation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withCancellation(CancellationToken token) CascadeDeleteBuilder<T>
Set cancellation token.
withOptions(CascadeOptions options) CascadeDeleteBuilder<T>
Configure cascade options.
withProgress(void callback(CascadeProgress)) CascadeDeleteBuilder<T>
Set progress callback.
withTimeout(Duration timeout) CascadeDeleteBuilder<T>
Set timeout duration.

Operators

operator ==(Object other) bool
The equality operator.
inherited