Changeset 6351 for sandbox/2.4.1-3/prototype/services/PostgreSQL.php
- Timestamp:
- 05/30/12 11:34:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-3/prototype/services/PostgreSQL.php
r6145 r6351 197 197 $val[] = '\''.addslashes($v).'\''; 198 198 } 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'; 201 202 } 202 203 … … 306 307 case 'or': return( $op ); 307 308 case 'in': return array( $op ); 309 case '!in': return array( 'NOT IN' ); 308 310 case '^': return array( 'like', '%', '' ); 309 311 case '$': return array( 'like', '', '%' );
Note: See TracChangeset
for help on using the changeset viewer.