Jifty::DBI::Handle::Sybase.3pm

Langue: en

Autres versions - même langue

Version: 2008-03-01 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

   Jifty::DBI::Handle::Sybase -- a Sybase specific Handle object
 
 

SYNOPSIS

DESCRIPTION

This module provides a subclass of Jifty::DBI::Handle that compensates for some of the idiosyncrasies of Sybase.

METHODS


insert

Takes a table name as the first argument and assumes that the rest of the arguments are an array of key-value pairs to be inserted.

If the insert succeeds, returns the id of the insert, otherwise, returns a Class::ReturnValue object with the error reported.

database_version

return the database version, trimming off any -foo identifier

case_sensitive

Returns undef, since Sybase's searches are not case sensitive by default

distinct_query STATEMENTREF

Takes an incomplete SQL SELECT statement and massages it to return a DISTINCT result set.

AUTHOR

Jesse Vincent, jesse@fsck.com

SEE ALSO

Jifty::DBI, Jifty::DBI::Handle, DBD::Sybase