Dave Rolsky > Fey-ORM > Fey::ORM::Schema

Download:
Fey-ORM-0.30.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs

Module Version: 0.30   Source  

NAME ^

Fey::ORM::Schema - Provides sugar for schema-based classes

SYNOPSIS ^

  package MyApp::Schema;

  use Fey::ORM::Schema;

  has_schema ...;

  no Fey::ORM::Schema;

DESCRIPTION ^

Use this class to associate your class with a schema. It exports a number of sugar functions to allow you to define things in a declarative manner.

EXPORTED FUNCTIONS ^

This package exports the following functions:

has_schema($schema)

Given a Fey::Schema object, this method associates that schema with the calling class.

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

BUGS ^

See Fey::ORM for details.

COPYRIGHT & LICENSE ^

Copyright 2006-2009 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. The full text of the license can be found in the LICENSE file included with this module.