Oryx::Value::Binary - Values containing large amounts of binary data
package CMS::Picture; use base qw( Oryx::Class ); our $schema = { attributes => [ { name => 'filename', type => 'String', }, { name => 'picture', type => 'Binary', } ], }; $x = CMS::Picture->create({ filename => 'filename.jpg', picture => $binary_data, });
This is a basic binary field. It should be able to contain a very large amount of binary data. The limit on the amount will be database dependent.
This value type does not perform any work to check, inflate, or deflate the value. The binary data is stored as-is using the "Binary" primitive type.
Oryx::Value
Richard Hundt <richard NO SPAM AT protea-systems.com>
This library is free software and may be used under the same terms as Perl itself.
To install Oryx, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Oryx
CPAN shell
perl -MCPAN -e shell install Oryx
For more information on module installation, please visit the detailed CPAN module installation guide.