The HDBC-sqlite3 package

[Tags: bsd3, library]

[Skip to ReadMe]

Properties

Versions1.0.1.0, 1.1.3.0, 1.1.3.1, 1.1.4.0, 1.1.6.0, 2.0.0.0, 2.1.0.0, 2.1.0.2, 2.2.0.0, 2.3.0.0, 2.3.1.0, 2.3.3.0, 2.3.3.1
Change logNone available
Dependenciesbase, HDBC (>=0.99.2), mtl [details]
LicenseLGPL
CopyrightCopyright (c) 2005-2006 John Goerzen
MaintainerJohn Goerzen <jgoerzen@complete.org>
StabilityAlpha
UploadedSun Sep 24 19:15:00 UTC 2006 by IsaacJones
DistributionsDebian:2.3.3.0, NixOS:2.3.3.1
Downloads6908 total (225 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-21 [all 2 reports]

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for HDBC-sqlite3-1.0.1.0

Welcome to HDBC, Haskell Database Connectivity.

This package provides a database backend driver for Sqlite version 3.

Please see HDBC itself for documentation on use.  If you don't already
have it, you can browse this documentation at
http://darcs.complete.org/hdbc/doc/index.html.

This package provides one function in module Database.HDBC.Sqlite3:

{- | Connect to an Sqlite version 3 database.  The only parameter needed is
the filename of the database to connect to.

All database accessor functions are provided in the main HDBC module. -}
connectSqlite3 :: FilePath -> IO Connection

DIFFERENCES FROM HDBC STANDARD
------------------------------

SQLite is unable to return the number of modified rows from a table
when you run a "DELETE FROM" command with no WHERE clause.

On the topic of thread safety, SQLite has some limitations, and thus
HDBC programs that use SQLite will share those limitations.  Please
see http://www.sqlite.org/faq.html#q8 for more details.

describeTable and describeResult are not supported by this module.

PREREQUISITES
-------------

Before installing this package, you'll need to have HDBC 0.99.0 or
above installed.  You can download HDBC from http://quux.org/devel/hdbc.

You'll need either GHC 6.4.1 or above, or Hugs 2005xx or above.  

INSTALLATION
------------

The steps to install are:

1) ghc --make -o setup Setup.lhs

2) ./setup configure

3) ./setup build

4) ./setup install   (as root)

If you're on Windows, you can omit the leading "./".

USAGE
-----

To use with hugs, you'll want to use hugs -98.

To use with GHC, you'll want to use:

 -package HDBC -package HDBC-sqlite3

Or, with Cabal, use:

  Build-Depends: HDBC>=0.99.0, HDBC-sqlite3

-- John Goerzen
   December 2005