Ignore:
Timestamp:
05/30/12 11:34:56 (12 years ago)
Author:
gustavo
Message:

Ticket #2768 - Melhorias na inserção de destinatários na criacao de mensagem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.1-3/prototype/services/PostgreSQL.php

    r6145 r6351  
    197197                    $val[] = '\''.addslashes($v).'\''; 
    198198            } 
    199              
    200             return '('.implode(',', $ind).') VALUES ('.implode(',', $val).') RETURNING '.$map['id'].' as id'; 
     199 
     200//          return '('.implode(',', $ind).') VALUES ('.implode(',', $val).') RETURNING '.$map['id'].' as id';        
     201            return '('.implode(',', $ind).') VALUES ('.implode(',', $val).') RETURNING id';          
    201202    } 
    202203         
     
    306307            case 'or': return( $op ); 
    307308            case 'in': return array( $op ); 
     309            case '!in': return array( 'NOT IN' ); 
    308310            case '^': return array( 'like', '%',  '' ); 
    309311            case '$': return array( 'like',  '', '%' ); 
Note: See TracChangeset for help on using the changeset viewer.