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

NAME

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

VERSION

version 0.45

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>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Dave Rolsky.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.