Safe Haskell | None |
---|
Database.Sqlite
Description
A port of the direct-sqlite package for dealing directly with
PersistValue
s.
Documentation
data Connection
data Statement
data Error
Constructors
open :: Text -> IO Connection
close :: Connection -> IO ()
prepare :: Connection -> Text -> IO Statement
step :: Statement -> IO StepResult
reset :: Connection -> Statement -> IO ()
bind :: Statement -> [PersistValue] -> IO ()
column :: Statement -> Int -> IO PersistValue
columns :: Statement -> IO [PersistValue]
changes :: Connection -> IO Int64