IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 27, 2007, 2:44:58 PM (19 years ago)
Author:
jhoblitt
Message:

add Nebulous::Server->rename_object()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r13047 r13071  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.27 2007-04-26 23:45:03 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.28 2007-04-28 00:44:38 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    153153        FROM storage_object
    154154        WHERE ext_id REGEXP ?
     155    },
     156    rename_object => qq{
     157        UPDATE storage_object
     158        SET ext_id = ?
     159        WHERE ext_id = ?
    155160    },
    156161);
Note: See TracChangeset for help on using the changeset viewer.