persistent-sqlite-2.13.1.1: Backend for the persistent library using sqlite3.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.Sqlite.Internal

Description

Utterly unsafe internals of the Database.Sqlite module. Useful for people who want access to the SQLite database pointer to manually call SQLite API functions via the FFI.

Types and functions in this module are *NOT* covered by the PVP and may change breakingly in any future version of the package.

Synopsis

Documentation

data Connection Source #

SQLite connection type, consist of an IORef tracking whether the connection has been closed and the raw SQLite C API pointer, wrapped in a 'Connection'' newtype.

Since: 2.10.2

Constructors

Connection !(IORef Bool) Connection' 

newtype Connection' Source #

Newtype wrapping SQLite C API pointer for a database connection.

Since: 2.10.2

Constructors

Connection' (Ptr ()) 

newtype Statement Source #

Newtype wrapping SQLite C API pointer for a prepared statement.

Since: 2.10.2

Constructors

Statement (Ptr ())