NAME

Eve::PgSqlType::IntegerArray - a PostgreSQL integer array type.

SYNOPSIS

my $array = Eve::PgSqlType::IntegerArray->new();
my $text = $array->serialize(value => $some_array);
my $array_ref = $bigint->deserialize(value => $some_result);

DESCRIPTION

Eve::PgSqlType::Array is a PostgreSQL integer array type adapter class.

METHODS

get_type()

Returns

The PG_INT4ARRAY type.

wrap()

Wraps an expression with CAST statement.

Arguments

expression

Returns

CAST (expression AS array)

SEE ALSO

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

Igor Zinovyev