IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2008, 11:13:41 AM (17 years ago)
Author:
jhoblitt
Message:

first attempt at supporting multiple databases

File:
1 edited

Legend:

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

    r20175 r20965  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.75 2008-10-15 20:45:51 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.76 2008-12-12 21:13:41 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    88use warnings FATAL => qw( all );
    99
    10 our $VERSION = '0.02';
     10our $VERSION = '0.03';
    1111
    1212use base qw( Class::Accessor::Fast );
     
    4747        (so_id, vol_id, uri)
    4848        VALUES (?, ?, 'error')
     49    },
     50    get_all_instances   => qq{
     51        SELECT * FROM INSTANCE
     52        WHERE so_id = ?
    4953    },
    5054    get_object          => qq{
Note: See TracChangeset for help on using the changeset viewer.