NAME

PGObject::Type::ByteString - Wrapper for raw strings mapping to BYTEA columns

VERSION

Version 1.1.2

SYNOPSIS

PGObject::Type::ByteString->register();

Now all BYTEA columns will be returned as ByteString objects.

DESCRIPTION

This module provides a basic wrapper around Perl strings, mapping them to

SUBROUTINES/METHODS

register

By default registers PG_BYTEA

new

from_db

Parses a date from YYYY-MM-DD format and generates the new object based on it.

to_db

Returns the date in YYYY-MM-DD format.

AUTHOR

Erik Huelsmann, <ehuels at gmail.com>

BUGS

Please report any bugs or feature requests to bug-pgobject-type-bytestring at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PGObject-Type-ByteString. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc PGObject::Type::ByteString

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2016 Erik Huelsmann

This program is released under the following license: BSD