groundhog-sqlite-0.1.0.2: Sqlite3 backend for the groundhog library

Safe HaskellNone

Database.Sqlite

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.