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