persistent-0.2.2.2: Type-safe, non-relational, multi-backend persistence.

Database.Persist.GenericSql.Internal

Description

Code that is only needed for writing GenericSql backends.

Synopsis

Documentation

data Statement Source

Constructors

Statement 

Fields

finalize :: IO ()
 
reset :: IO ()
 
execute :: [PersistValue] -> IO ()
 
withStmt :: forall a m. MonadCatchIO m => [PersistValue] -> (RowPopper m -> m a) -> m a
 

mkColumns :: PersistEntity val => val -> ([Column], [UniqueDef])Source

Create the list of columns for the given entity.

newtype RawName Source

Constructors

RawName 

Fields

unRawName :: String
 

Instances