Skip Menu |

This queue is for tickets about the Fey CPAN distribution.

Report information
The Basics
Id: 55985
Status: rejected
Priority: 0/
Queue: Fey

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

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



Subject: Fey::SQL::Insert doesn't work
The docs seem to imply that this would work: Yet, I can't get it to. use Fey::SQL; use Fey::Table; use Fey::Schema; use Fey::Placeholder; use Fey::Literal; my $s = Fey::Schema->new( name => 'clients' ); my $t = Fey::Table->new( name => 'contact' ); $s->add_table($t); my $sql = Fey::SQL->new_insert; $sql->insert->into($t); my $p = Fey::Placeholder->new; my $l = Fey::Literal->new_from_scalar('foo'); $sql->values({ 'foo' => $p }); -- Evan Carroll System Lord of the Internets http://www.evancarroll.com