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

rename_column ( table => $table, column => $old_column, to => $new_column )

rename column, die if fails

AUTHOR

Jesse Vincent, jesse@fsck.com

SEE ALSO

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