GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Oryx::Value::Binary(3) User Contributed Perl Documentation Oryx::Value::Binary(3)

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.
2006-02-17 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.