File-Properties

 view release on metacpan or  search on metacpan

lib/File/Properties/Database.pm  view on Meta::CPAN

  # Prepare for insertion
  my $sth = $self->dbi->prepare($sqlc);
  # Execute insertion
  return $self->_executedata($sth, $data);
}


# ----------------------------------------------------------------------------
# Update rows in table
# ----------------------------------------------------------------------------
sub update {
  my $self = shift;
  my $tbnm = shift; # Table name
  my $opts = shift; # Update options

  # Determine column names for update
  my $clnm = $self->_optioncols($tbnm, $opts);
  # Determine data for update
  my $data = _optiondata($tbnm, $clnm, $opts);
  # Start transaction (autocommit off)
  $self->dbi->begin_work or

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.585 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )