Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    DBIx::SQLEngine::Schema::Table 0.93

    Download button

    No screenshots available
    Downloads: 342  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Matthew Simon Cavalletto | More programs
    Perl Artistic License / FREE
    February 6th, 2009, 11:12 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    DBIx::SQLEngine::Schema::Table description

    A table in a data source

    DBIx::SQLEngine::Schema::Table is a table in a data source.

    SYNOPSIS

     $sqldb = DBIx::SQLEngine->new( ... );
     
     $table = $sqldb->table( $table_name );
     
     $hash_ary = $table->fetch_select( where => { status => 2 } );

     $table->do_insert( values => { somefield => 'A Value', status => 3 } );
     $table->do_update( values => { status => 3 }, where => { status => 2 } );
     $table->do_delete( where => { somefield => 'A Value' } );

     $hash = $table->fetch_row( $primary_key );

     $table->insert_row( { somefield => 'Some Value' } );
     $table->update_row( { id => $primary_key, somefield => 'Some Value' } );
     $table->delete_row( { id => $primary_key } );


    The DBIx::SQLEngine::Schema::Table class represents database tables accessible via a particular DBIx::SQLEngine.

    By storing a reference to a SQLEngine and the name of a table to operate on, a Schema::Table object can facilitate generation of SQL queries that operate on the named table.

    Each table can retrieve and cache a ColumnSet containing information about the name and type of the columns in the table. Column information is loaded from the storage as needed, but if you are creating a new table you must provide the definition.

    The *_row() methods use this information about the table columns to facilitate common operations on table rows using their primary keys and simple hash-refs.


    Product's homepage

    Requirements:

    · PassReminder

      


    TAGS:

    database table | database schema | Perl module | Perl | SQL | database

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM