---
name: "Jifty::DBI::Handle::mysql"
section: "3pm"
platform: "linux"
package: "libjifty-dbi-perl"
version: "0.78-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Jifty::DBI::Handle::mysql"
---

# Jifty::DBI::Handle::mysql(3pm)

## 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
