Provided by: libpgobject-type-bytestring-perl_1.2.3-2_all bug

NAME

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

VERSION

       Version 1.2.3

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 BYTEA database
       columns.

       PGObject::Type::ByteString objects have no traditional properties, however dereferencing
       them will yield the raw string they contain.

SUBROUTINES/METHODS

   register([registry => 'default',] [types => $types_arrayref])
       By default registers type PG_BYTEA.

   new
       Instantiates and returns a new object, based on the supplied scalar string, or scalar
       string reference.

       Dereferencing the returned object will yield the original raw string.

   from_db
       Returns a new PGObject::Type::ByteString object based on the supplied scalar string, or
       scalar string reference.

   to_db
       Returns the object's binary string value packaged as PG_BYTEA type/value hashref suitable
       for passing to DBD::Pg.

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:

       •   RT: CPAN's request tracker (report bugs here)

           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=PGObject-Type-ByteString>

       •   AnnoCPAN: Annotated CPAN documentation

           <http://annocpan.org/dist/PGObject-Type-ByteString>

       •   CPAN Ratings

           <http://cpanratings.perl.org/d/PGObject-Type-ByteString>

       •   Search CPAN

           <http://search.cpan.org/dist/PGObject-Type-ByteString/>

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

       Copyright 2016-2018 Erik Huelsmann

       This program is released under the following license: BSD