Safe Haskell | None |
---|
- data Database
- data Statement
- data Error
- = ErrorOK
- | ErrorError
- | ErrorInternal
- | ErrorPermission
- | ErrorAbort
- | ErrorBusy
- | ErrorLocked
- | ErrorNoMemory
- | ErrorReadOnly
- | ErrorInterrupt
- | ErrorIO
- | ErrorNotFound
- | ErrorCorrupt
- | ErrorFull
- | ErrorCan'tOpen
- | ErrorProtocol
- | ErrorEmpty
- | ErrorSchema
- | ErrorTooBig
- | ErrorConstraint
- | ErrorMismatch
- | ErrorMisuse
- | ErrorNoLargeFileSupport
- | ErrorAuthorization
- | ErrorFormat
- | ErrorRange
- | ErrorNotADatabase
- | ErrorRow
- | ErrorDone
- data StepResult
- data SQLData
- = SQLInteger Int64
- | SQLFloat Double
- | SQLText Text
- | SQLBlob ByteString
- | SQLNull
- open :: String -> IO Database
- close :: Database -> IO ()
- prepare :: Database -> String -> IO Statement
- step :: Statement -> IO StepResult
- reset :: Statement -> IO ()
- finalize :: Statement -> IO ()
- bindParameterCount :: Statement -> IO Int
- bindParameterName :: Statement -> Int -> IO (Maybe String)
- bindBlob :: Statement -> Int -> ByteString -> IO ()
- bindDouble :: Statement -> Int -> Double -> IO ()
- bindInt :: Statement -> Int -> Int -> IO ()
- bindInt64 :: Statement -> Int -> Int64 -> IO ()
- bindNull :: Statement -> Int -> IO ()
- bindText :: Statement -> Int -> Text -> IO ()
- bind :: Statement -> [SQLData] -> IO ()
- column :: Statement -> Int -> IO SQLData
- columns :: Statement -> IO [SQLData]
Documentation
step :: Statement -> IO StepResultSource
bindParameterCount :: Statement -> IO IntSource
Find the number SQL parameters in a prepared statement.