Skip Menu |

This queue is for tickets about the Fey CPAN distribution.

Report information
The Basics
Id: 56130
Status: new
Priority: 0/
Queue: Fey

People
Owner: Nobody in particular
Requestors: perl [...] evancarroll.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.34
Fixed in: (no value)



Subject: Schema and catalog awareness
Fey is not currently schema, or catalog aware. It uses schemas as a container for tables, not in any SQL generating mechanism. my $fls = Fey::Loader->new( dbh => $dbh, schema_name => 'clients' )- Show quoted text
>make_schema;
print $s ->select(qw/contact_id username name_given name_surname/) ->from( $fls->table('contact') ) ->limit(1) ->sql($dbh) ; prints SELECT 'contact_id', 'username', 'name_given', 'name_surname' FROM "contact" LIMIT 1; -- Evan Carroll System Lord of the Internets http://www.evancarroll.com