NAME
Fey::Object::Mock::Table - Mock schema class subclass of Fey::Object::Table
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 & LICENSE
Copyright 2008 Dave Rolsky, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.