Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evancarroll/fey-loader
Release history of Fey-Loader
https://github.com/evancarroll/fey-loader
Last synced: 3 days ago
JSON representation
Release history of Fey-Loader
- Host: GitHub
- URL: https://github.com/evancarroll/fey-loader
- Owner: EvanCarroll
- Created: 2010-03-29T17:18:45.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-03-30T19:56:11.000Z (over 14 years ago)
- Last Synced: 2024-04-18T20:48:47.133Z (7 months ago)
- Language: Perl
- Homepage: http://search.cpan.org/dist/Fey-Loader/
- Size: 128 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Fey::Loader - Load your schema definition from a DBMSSYNOPSIS
my $loader = Fey::Loader->new( dbh => $dbh );my $loader = Fey::Loader->new( dbh => $dbh,
schema_class => '...',
table_class => '...',
);my $schema = $loader->make_schema();
DESCRIPTION
`Fey::Loader' takes a `DBI' handle and uses it to construct a set of Fey
objects representing that schema. It will attempt to use an appropriate
DBMS subclass if one exists, but will fall back to using a generic
loader otherwise.The generic loader simply uses the various schema information methods
specified by `DBI'. This in turn depends on these methods being
implemented by the driver.See the Fey::Loader::DBI class for more details on what parameters the
`new()' method accepts.METHODS
This class provides the following methods:Fey::Loader->new( dbh => $dbh )
Given a connected `DBI' handle, this method returns a new loader. If an
appropriate subclass exists, it will be loaded and used. Otherwise, it
will warn and fall back to using Fey::Loader::DBI.AUTHOR
Dave Rolsky,BUGS
Please report any bugs or feature requests to
`[email protected]', or through the web interface at
http://rt.cpan.org. I will be notified, and then you'll automatically be
notified of progress on your bug as I make changes.COPYRIGHT & LICENSE
Copyright 2006-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.