relational-query-HDBC-0.0.1.1: HDBC instance of relational join and typed query for HDBC

Portabilityunknown
Stabilityexperimental
Maintainerex8k.hibino@gmail.com
Safe HaskellNone

Database.HDBC.Record.InsertQuery

Description

This module provides typed InsertQuery running sequence which intermediate structres are typed.

Synopsis

Documentation

type PreparedInsertQuery p = PreparedStatement p ()Source

Typed prepared insert query type.

prepare :: IConnection conn => conn -> InsertQuery p -> IO (PreparedInsertQuery p)Source

Typed prepare insert-query operation.

runPreparedInsertQuery :: ToSql SqlValue p => PreparedInsertQuery p -> p -> IO IntegerSource

Bind parameters, execute statement and get execution result.

runInsertQuery :: (IConnection conn, ToSql SqlValue p) => conn -> InsertQuery p -> p -> IO IntegerSource

Prepare insert statement, bind parameters, execute statement and get execution result.