| Fey-ORM-Mock documentation | view source | Contained in the Fey-ORM-Mock distribution. |
Fey::Object::Mock::Table - Mock schema class subclass of Fey::Object::Table
version 0.05
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.
This class provides the following methods:
Returns the Fey::ORM::Mock::Seeder object associated with the table.
Sets the Fey::ORM::Mock::Recorder object associated with the table.
Dave Rolsky <autarch@urth.org>
This software is Copyright (c) 2010 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0
| Fey-ORM-Mock documentation | view source | Contained in the Fey-ORM-Mock distribution. |