The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.47

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 <[email protected]>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 - 2015 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.