logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Jifty::DBI::Handle::mysql - A mysql specific Handle object

Author

       Jesse Vincent, jesse@fsck.com

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

Name

         Jifty::DBI::Handle::mysql - A mysql specific Handle object

See Also

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

perl v5.34.0                                       2022-06-15                     Jifty::DBI::Handle::mysql(3pm)

Synopsis

See Also