direct-sqlite-2.1: Low-level binding to SQLite3. Includes UTF8 and BLOB support.

Safe HaskellNone

Database.SQLite3

Synopsis

Documentation

data StepResult Source

Constructors

Row 
Done 

bindParameterCount :: Statement -> IO IntSource

Find the number SQL parameters in a prepared statement.

bindParameterName :: Statement -> Int -> IO (Maybe String)Source

Return the N-th SQL parameter name.

Named parameters are returned as-is. E.g. ":v" is returned as Just ":v". Unnamed parameters, however, are converted to Nothing.

Note that the column index starts at 1, not 0.