Oryx::Value::Binary - Values containing large amounts of binary data


Oryx documentation  | view source Contained in the Oryx distribution.

Index


NAME

Top

Oryx::Value::Binary - Values containing large amounts of binary data

SYNOPSIS

Top

  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,
  });

DESCRIPTION

Top

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.

SEE ALSO

Top

Oryx::Value

AUTHOR

Top

Richard Hundt <richard NO SPAM AT protea-systems.com>

COPYRIGHT AND LICENSE

Top


Oryx documentation  | view source Contained in the Oryx distribution.