DBD::SQLite 1.12 review

by rbytes.net on

DBD::SQLite is a Self Contained RDBMS in a DBI Driver. SYNOPSIS use DBI; my $dbh = DBI->connect("dbi:SQLite:dbname=dbfile"

License: Perl Artistic License
File size: 534K
Developer: Matt Sergeant
0 stars award from rbytes.net

DBD::SQLite is a Self Contained RDBMS in a DBI Driver.


use DBI;
my $dbh = DBI->connect("dbi:SQLite:dbname=dbfile","","");

SQLite is a public domain RDBMS database engine that you can find at http://www.hwaci.com/sw/sqlite/.

Rather than ask you to install SQLite first, because SQLite is public domain, DBD::SQLite includes the entire thing in the distribution. So in order to get a fast transaction capable RDBMS working for your perl project you simply have to install this module, and nothing else.

SQLite supports the following features:

Implements a large subset of SQL92

See http://www.hwaci.com/sw/sqlite/lang.html for details.

A complete DB in a single disk file

Everything for your database is stored in a single disk file, making it easier to move things around than with DBD::CSV.

Atomic commit and rollback

Yes, DBD::SQLite is small and light, but it supports full transactions!


User-defined aggregate or regular functions can be registered with the SQL parser.

There's lots more to it, so please refer to the docs on the SQLite web page, listed above, for SQL details. Also refer to DBI for details on how to use DBI itself.


DBD::SQLite 1.12 search tags