Revision history for DBIx::Class
+ - made update(\%hash) work on row as well as rs
- another fix for count with scalar group_by
- remove dependency on Module::Find in 40resultsetmanager.t (RT #17598)
sub update {
my ($self, $upd) = @_;
$self->throw_exception( "Not in database" ) unless $self->in_storage;
+ $self->set_columns($upd) if $upd;
my %to_update = $self->get_dirty_columns;
return $self unless keys %to_update;
my $ident_cond = $self->ident_condition;