hsSqlite3-0.0.5.20081031: sqlite3 bindings

Database.Sqlite3.Low

Contents

Description

This is intended to be a low level wrapper over sqlite3 library. These design decisions guide this module:

  • Portability.
  • It is meant to be as close as possible to a bijection over sqlite3 objects, constants and functions. The original documentation for any sqlite3 name should be sufficient to understand its wrapper.
  • Everything not UTF-8 has been removed in favor of UTF-8.
  • sqlite3_ prefix has been removed from all object and function names since it can be mapped to a qualified module import.
  • Mutex related names are not wrapped, as they would just duplicate existing functionality.
  • All sqlite3 experimental or obsolete code (marked with exp or obs in the official documentation) has not been wrapped, as well as the testing interface (sqlite3_test_control and related constants).
  • Preprocessor constant definitions have been replaced by equal values. All were typed to CInt, except for SQLITE_STATIC and SQLITE_TRANSIENT (mapped to sqliteStatic and sqliteTransient) which were typed as function pointers as faithfully as possible to the underline C code. Version information constants are not mapped for portability, and the user can always call the mappings of sqlite3_libversion and sqlite3_libversion_number functions instead.

Synopsis

Objects

data Sqlite3 Source

Constructors

Sqlite3 

data Blob Source

Constructors

Blob 

data Context Source

Constructors

Context 

data File Source

Constructors

File 

data Int64 Source

Constructors

Int64 

data Uint64 Source

Constructors

Uint64 

data IoMethods Source

Constructors

IoMethods 

data Stmt Source

Constructors

Stmt 

data Value Source

Constructors

Value 

data Vfs Source

Constructors

Vfs 

Constants

Functions