Dave Rolsky > Fey-ORM-Mock-0.05 > Fey::Object::Mock::Table

Download:
Fey-ORM-Mock-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source   Latest Release: Fey-ORM-Mock-0.06

NAME ^

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

VERSION ^

version 0.05

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
syntax highlighting: