Jifty::DBI::Handle::mysql.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::mysql - A mysql specific Handle object
 
 

SYNOPSIS

DESCRIPTION

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

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

Returns the mysql version, trimming off any -foo identifier

case_sensitive

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

AUTHOR

Jesse Vincent, jesse@fsck.com

SEE ALSO

Jifty::DBI, Jifty::DBI::Handle, DBD::mysql