Parthiban N
how to make $shouldRollbackDatabaseTransaction to true in Halt class
i do this throw (new Halt)->rollBackDatabaseTransaction(); instead of $this->halt(); to rollback transaction but the filament BasePage class have halt method but it doesn't have the option to set rollback true
But in Mountable Action Class have this:
public function halt(bool $shouldRollBackDatabaseTransaction = false): void
{
throw (new Halt())->rollBackDatabaseTransaction($shouldRollBackDatabaseTransaction);
}
2 replies