DBIx::IO::mysqlLib - General helper functions and constants to support the DBIx::IO MySQL driver


DBIx-IO documentation Contained in the DBIx-IO distribution.

Index


Code Index:

NAME

Top

DBIx::IO::mysqlLib - General helper functions and constants to support the DBIx::IO MySQL driver

SYNOPSIS

Top

 


 use DBIx::IO::mysqlLib;
 use DBIx::IO::mysqlLib ();                     # Don't import default symbols
 use DBIx::IO::mysqlLib qw(:tag symbol...)      # Import selected symbols




DESCRIPTION

Top

MySQL specific constants and helper functions.

Table names by default are case-sensitive on Linux/UNIX OS's; do yourself a favor and set lower_case_table_names=1 in /etc/my.cnf and always use lower case names for tables.

SEE ALSO

Top

DBIx::IO::mysqlIO, DBIx::IO::GenLib, DBIx::IO

AUTHOR

Top

Reed Sandberg, <reed_sandberg Ӓ yahoo>

COPYRIGHT AND LICENSE

Top


DBIx-IO documentation Contained in the DBIx-IO distribution.

#
# $Id$
#

package DBIx::IO::mysqlLib;

BEGIN
{
    use Exporter ();

    @ISA = qw(Exporter);

    @EXPORT = qw(
        $NORMAL_DATETIME_FORMAT
        $NORMAL_DATE_FORMAT
        $NORMAL_TIME_FORMAT
        $NORMAL_YEAR_FORMAT
    );

    %EXPORT_TAGS =
    (
        actions =>
        [qw(
        )],
    );

    Exporter::export_ok_tags qw(
        actions
    );
}

use strict;

# CONSTANTS

# CAUTION If this constant is changed, normalize_date and local_normal_sysdate must be changed accordingly
*DBIx::IO::mysqlLib::NORMAL_DATETIME_FORMAT = \'%Y%m%d%H%i%S';
*DBIx::IO::mysqlLib::NORMAL_DATE_FORMAT = \'%Y%m%d';
*DBIx::IO::mysqlLib::NORMAL_TIME_FORMAT = \'%H%i%S';
*DBIx::IO::mysqlLib::NORMAL_YEAR_FORMAT = \'%Y';

1;

__END__