Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Rose::DB and sqlrelay

by mart (Initiate)
on Jul 23, 2007 at 16:51 UTC ( [id://628269] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $product = My::Product->new( name=> 'boo', text=>'foo');
    $product->save();
    
  2. or download this
    DBD::SQLRelay::st execute warning: You have an error in your SQL synta
    +x; check the manual that corresponds to your MySQL server version for
    + the right syntax to use near  ':1,
      :2,
    ...
      'foo',
      ''
    )' at line 11 at /usr/local/share/perl/5.8.8/Rose/DB/Object.pm line 11
    +10.
    
  3. or download this
            if($meta->dbi_requires_bind_param($db))
            {
    ...
              $sth->execute(map { $self->$_() } $meta->column_accessor_met
    +hod_names);
            }