The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.06

DESCRIPTION

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

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

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2010 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)