Class::DBI::SQLite man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Class::DBI::SQLite(3) User Contributed Perl DocumentationClass::DBI::SQLite(3)

NAME
       Class::DBI::SQLite - Extension to Class::DBI for sqlite

SYNOPSIS
	 package Film;
	 use base qw(Class::DBI::SQLite);
	 __PACKAGE__->set_db('Main', 'dbi:SQLite:dbname=dbfile', '', '');
	 __PACKAGE__->set_up_table('Movies');

	 package main;
	 my $film = Film->create({
	    name  => 'Bad Taste',
	    title => 'Peter Jackson',
	 });
	 my $id = $film->id;	       # auto-incremented

DESCRIPTION
       Class::DBI::SQLite is an extension to Class::DBI for DBD::SQLite.  It
       allows you to populate an auto-incremented row id after insert.

       The "set_up_table" method automates the setup of columns and primary
       key(s) via the SQLite PRAGMA statement.

AUTHOR
       Tatsuhiko Miyagawa <miyagawa@bulknews.net>

       "set_up_table" implementation by Tomohiro Ikebe <ikebe@cpan.org>

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

SEE ALSO
       Class::DBI, DBD::SQLite

perl v5.14.1			  2005-10-06		 Class::DBI::SQLite(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net