The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Eve::PgSqlType::DriverNative - a PostgreSQL type native for DBD::Pg DBI driver.

SYNOPSIS

    package Eve::PgSqlType::Bigint;

    use parent qw(Eve::PgSqlType::DriverNative);

    sub get_type {
        return DBD::Pg::PG_INT8;
    }

    1;

DESCRIPTION

Eve::PgSqlType::DriverNative is a base class for PostgreSQL types natively supported by DBD::Pg DBI driver.

METHODS

wrap()

Leaves all the processing issues to the driver returning the expression as is.

Arguments

expression

Returns

The same expression.

serialize()

Leaves all the serialization issues to the driver returning the value as is.

Arguments

value

Returns

The same value.

deserialize()

Leaves all the deserialization issues to the driver returning the value as is.

Arguments

value

Returns

The same value.

SEE ALSO

DBI
DBD::Pg
Eve::PgSqlType

LICENSE AND COPYRIGHT

Copyright 2012 Igor Zinovyev.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

AUTHOR

Sergey Konoplev