[rt-users] RT::Handle->SimpleQuery

Roy El-Hames rfh at pipex.net
Mon Feb 6 10:50:16 EST 2006

rt-3.4.4, DBIx::SearchBuilder v1.33, mysql 4.18,mod_perl v2.000001;perl5 
(revision 5 version 8 subversion 7) .

In using RT::Handle->SimpleQuery to update/delete is there any way it 
can return to the number of records deleted/updated ..
I'll even be  happy if it just return a success or failure ;
eg what I would like:
 my $update = $RT::Handle->SimpleQuery("update mytable set record='rec' 
where condition='con');
if ($update) {
    hay it works
    it did n't
at the moment it returns true even if  'con' does not exist.

More information about the rt-users mailing list