Alzabo (version 0.92)

Doc index

TOC | Top

NAME

Alzabo::Runtime::InsertHandle - A handle representing an insert

TOC | Top

SYNOPSIS

 my $handle =
     $table->insert_handle
         ( columns => [ $table->columns( 'name', 'job' ) ] );
 my $faye_row =
     $handle->insert( values =>
                      { name => 'Faye',
                        job => 'HK Pop Chanteuse' } );
 my $guesch_row =
     $handle->insert( values =>
                      { name => 'Guesch',
                        job => 'French Chanteuse and Dancer' } );
TOC | Top

DESCRIPTION

This object is analogous to a DBI statement handle, and can be used to insert multiple rows into a table more efficiently than repeatedly calling Alzabo::Runtime::Table->insert().

TOC | Top

METHODS

Objects of this class provide one public method:

TOC | Top

insert

This method is used to insert a new row into a table.

It accepts the following parameters:

This method returns a new Alzabo::Runtime::Row object.

Throws: Alzabo::Exception::Logic, Alzabo::Exception::Params


Table of Contents

- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
      - insert
                  - values