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


Manual Reference Pages  -  DBIX::SQLENGINE::RECORD::ACCESSORS (3)

.ds Aq ’

NAME

DBIx::SQLEngine::Record::Accessors - Add Methods for Columns

CONTENTS

SYNOPSIS

<B>Setup:B> Several ways to create a class.



  my $sqldb = DBIx::SQLEngine->new( ... );

  $class_name = $sqldb->record_class( $table_name, undef, Accessors );
 
  $sqldb->record_class( $table_name, My::Record, Accessors );
 
  package My::Record;
  use DBIx::SQLEngine::Record::Class -isasubclass, Accessors; 
  My::Record->table( $sqldb->table($table_name) );



<B>Accessors:B> Create methods for columns.



  $class_name->install_accessors( %column_info );



DESCRIPTION

This package provides automatic method generation for DBIx::SQLEngine::Record objects.

Don’t use this module directly; instead, pass its name as a trait when you create a new record class. This package provides a multiply-composable collection of functionality for Record classes. It is combined with the base class and other traits by DBIx::SQLEngine::Record::Class.

This package is not yet complete.

ACCESSORS INTERFACE

    Autoloader

AUTOLOAD Provided by Class::MakeMethods::Autoload. Generates scalar accessor methods using Class::MakeMethods::Standard::Hash.

SIMPLE RECORD INTERFACE

    Getting and Changing Values

Simple interface for applying changes.
get_values()


  $record->get_values( key1 ) : $value
  $record->get_values( key1, key2, ... ) : $values_joined_with_comma
  $record->get_values( key1, key2, ... ) : @values



Returns the values associated with the keys in the provided record.

change_values


  $record->change_values( method1 => value1, ... );



Call provided method names with supplied values. (Class::MakeMethods::Standard::Universal:call_methods).

SEE ALSO

For more about the Record classes, see DBIx::SQLEngine::Record::Class.

See DBIx::SQLEngine for the overall interface and developer documentation.

See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.

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


perl v5.20.3 SQLENGINE::RECORD::ACCESSORS (3) 2004-11-16

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