CAM-SQLObject

 view release on metacpan or  search on metacpan

lib/CAM/SQLObject.pm  view on Meta::CPAN

}
#----------------

=item updateQueryName

Returns the name of the default query to do record updates in SQL XML
file (needed for save()).  This default method returns "update".

=cut

sub updateQueryName
{
   my $pkg_or_self = shift;

   return "update";
}
#----------------

=item insertQueryName

Returns the name of the default query to do record inserts in SQL XML

lib/CAM/SQLObject.pm  view on Meta::CPAN

}
#----------------

=item update

Run the default update SQL template.  This function is usually just
called from the save() function.

=cut

sub update
{
   my $self = shift;
   my $query = shift || $self->{update_name};

   return $self->_runSQL($query);
}
#----------------

=item insert



( run in 0.373 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )