/[cvs]/nfo/perl/libs/Data/Storage/Handler/Tangram.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Storage/Handler/Tangram.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.43 by jonen, Wed Jul 2 11:07:12 2003 UTC revision 1.44 by joko, Thu Dec 4 01:01:50 2003 UTC
# Line 3  Line 3 
3  #  $Id$  #  $Id$
4  #  #
5  #  $Log$  #  $Log$
6    #  Revision 1.44  2003/12/04 01:01:50  joko
7    #  + sendQuery now returns result even on crud=UPDATE
8    #
9  #  Revision 1.43  2003/07/02 11:07:12  jonen  #  Revision 1.43  2003/07/02 11:07:12  jonen
10  #  re-activate filtering of results *after* results are fetched from tangram  #  re-activate filtering of results *after* results are fetched from tangram
11  #    (needed for e.g. UserManagment)  #    (needed for e.g. UserManagment)
# Line 183  use Data::Mungle::Transform::Deep qw( ex Line 186  use Data::Mungle::Transform::Deep qw( ex
186  # get logger instance  # get logger instance
187  my $logger = Log::Dispatch::Config->instance;  my $logger = Log::Dispatch::Config->instance;
188    
189    #$Tangram::TRACE = *STDOUT;
190    
191  # this holds the complete instantiated schema from tangram  # this holds the complete instantiated schema from tangram
192  my $schema_tangram;  my $schema_tangram;
# Line 809  sub sendQuery { Line 813  sub sendQuery {
813        my $options = { utf8 => 1, php => 1 };        my $options = { utf8 => 1, php => 1 };
814        merge_to($object, $query->{payload}, $options);        merge_to($object, $query->{payload}, $options);
815    
816          #print Dumper($object);
817          
818        # Execute update operation at orm.        # Execute update operation at orm.
819        $self->update($object);        $self->update($object);
820          $result = $self->createResult([ $object ]);
821            
822      } elsif ($crud eq 'DELETE') {      } elsif ($crud eq 'DELETE') {
823    

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed