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::DBM(3) User Contributed Perl Documentation Oryx::DBM(3)

Oryx::DBM - DBM Storage interface for Oryx

 my $storage = Oryx::DBM->new;
 
 $storage->connect([ 'dbm:Deep:datapath=/path/to/datafiles' ]);
  
 $storage->dbh;
 $storage->db_name;
 $storage->ping;
 $storage->schema;
 $storage->util;
 $storage->set_util;
 $storage->deploy_class;
 $storage->deploy_schema;

DBM Storage interface for Oryx. You should not need to instantiate this directly, use "Oryx->connect()" instead.

Simple constructor
stub - returns $self
Called by "Oryx->connect()". You shouldn't need to be doing this.
DBM::Deep instance for holding the catalog of tables. This is a sort of global internal store for the DBM backend for keeping meta data which it needs.
ping the database - all this does here is make sure the "catalog" exists and is a DBM::Deep instance
returns the schema if called with no arguments, otherwise sets if called with a Oryx::Schema instance.
returns the schema if called with no arguments, otherwise sets if called with a Oryx::Schema instance.
determines which Oryx::DBI::Util class to instantiate by looking at the dsn passed to "connect" and sets it
Takes a Oryx::Schema instance and deploys all classes seen by that schema instance to the database creating all DBM::Deep db files needed for storing your persistent objects.
does the work of deploying a given class; called by "deploy_schema"

Oryx, Oryx::Class, Oryx::DBM::Util

Copyright (C) 2005 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.

Hey! The above document had some coding errors, which are explained below:

You forgot a '=back' before '=head1'
2006-03-11 perl v5.40.2

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.