Alzabo::Runtime::RowState::Deleted - Row objects that have been deleted


Alzabo documentation Contained in the Alzabo distribution.

Index


Code Index:

NAME

Top

Alzabo::Runtime::RowState::Deleted - Row objects that have been deleted

SYNOPSIS

Top

  $row->delete;

DESCRIPTION

Top

This state is used for deleted rows, any row upon which the delete() method has been called.

METHODS

Top

See Alzabo::Runtime::Row|Alzabo::Runtime::Row.

AUTHOR

Top

Dave Rolsky, <autarch@urth.org>


Alzabo documentation Contained in the Alzabo distribution.

package Alzabo::Runtime::RowState::Deleted;

use strict;

use Alzabo::Runtime;

BEGIN
{
    no strict 'refs';
    foreach my $meth ( qw( select select_hash refresh update delete id_as_string ) )
    {
        *{__PACKAGE__ . "::$meth"} =
            sub { $_[1]->_no_such_row_error };
    }
}

sub is_potential { 0 }

sub is_live { 0 }

sub is_deleted { 1 }


1;

__END__