Igor Zinovyev > Eve > Eve::PgSqlType::DoubleArray

Download:
Eve-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Eve::PgSqlType::DoubleArray - a PostgreSQL double precision array type.

SYNOPSIS ^

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

DESCRIPTION ^

Eve::PgSqlType::DoubleArray is a PostgreSQL double precision number array type adapter class.

METHODS ^

get_type()

Returns

The PG_FLOAT8ARRAY type.

wrap()

Wraps an expression with CAST statement.

Arguments

expression

Returns

CAST (expression AS double precision[])

SEE ALSO ^

DBD::Pg
Eve::PgSqlType::Array

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
syntax highlighting: