NAME

  MonetDB::CLI::MapiLib - MonetDB::CLI implementation, using MapiLib

SYNOPSIS

  use MonetDB::CLI::MapiLib;

  my $cxn = MonetDB::CLI::MapiLib->connect( $host, $port, $user, $pass, $lang );

  my $req = $cxn->query('select * from env');
  while ( my $cnt = $req->fetch ) {
    print $req->field( $_ ) for 0 .. $cnt-1;
  }

DESCRIPTION

  MonetDB::CLI::MapiLib is an implementation of the MonetDB call level interface
  MonetDB::CLI.
  It uses the SWIG generated MapiLib - a wrapper module for libMapi.
  Normally, you don't use this module directly, but let MonetDB::CLI
  choose an implementation module.

PREREQUISITES

  MapiLib

  MonetDB (http://monetdb.cwi.nl)

INSTALLATION

  To install this module type the following:

    perl Makefile.PL
    make
    make test
    make install

  You need to use the correct make command. That may be nmake or dmake,
  depending on which development environment you are using.

TESTING

  The supplied tests will connect to the database using some
  environment variables, e.g.:

    set MONETDB_HOST=myhost
    set MONETDB_PORT=4711

  Don't specify port and language (if possible). The server should
  listen on the default ports for sql and mapi.

  If the server doesn't accept the default username/password, then
  set the relevant environment variables, e.g.:

    set MONETDB_USER=test
    set MONETDB_PASS=secret

  Make sure libMapi is in your library search path.

AUTHORS

  Steffen Goeldner <sgoeldner@cpan.org>.

COPYRIGHT AND LICENCE

  The contents of this file are subject to the MonetDB Public License
  Version 1.1 (the "License"); you may not use this file except in
  compliance with the License. You may obtain a copy of the License at
  http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html

  Software distributed under the License is distributed on an "AS IS"
  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  License for the specific language governing rights and limitations
  under the License.

  The Original Code is the MonetDB Database System.

  The Initial Developer of the Original Code is CWI.
  Portions created by CWI are Copyright (C) 1997-2006 CWI.
  All Rights Reserved.
