Fey::Object::Mock::Table - Mock schema class subclass of Fey::Object::Table


Fey-ORM-Mock documentation  | view source Contained in the Fey-ORM-Mock distribution.

Index


NAME

Top

Fey::Object::Mock::Table - Mock schema class subclass of Fey::Object::Table

VERSION

Top

version 0.05

DESCRIPTION

Top

When you use Fey::ORM::Mock to mock a schema, this class will become the immediate parent for each of your table classes. It in turn inherits from Fey::Object::Table.

This class overrides various methods in order to record inserts, updates, and deletes. It also overrides _load_from_dbms() in order to use seeded values rather than fetching data from the DBMS.

METHODS

Top

This class provides the following methods:

$class->Seeder

Returns the Fey::ORM::Mock::Seeder object associated with the table.

$class->SetSeeder($seeder)

Sets the Fey::ORM::Mock::Recorder object associated with the table.

AUTHOR

Top

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

Top


Fey-ORM-Mock documentation  | view source Contained in the Fey-ORM-Mock distribution.