relational-query-0.12.3.1: Typeful, Modular, Relational, algebraic query engine
Copyright2021 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.Relational.Export

Description

This module defines templates to export SQL string representation to other systems.

Documentation

inlineQuery_ Source #

Arguments

:: (String -> Q ())

action to check SQL string. for example to call prepare. if you do not need this, pass (const $ pure ())

-> Query p a

query to inline

-> String

Variable name to define as inlined query

-> Q [Dec]

Result declarations

inlineUpdate_ Source #

Arguments

:: (String -> Q ())

action to check SQL string. for example to call prepare. if you do not need this, pass (const $ pure ())

-> Update p

statement to inline

-> String

Variable name to define as inlined query

-> Q [Dec]

Result declarations

inlineInsertValue_ Source #

Arguments

:: (String -> Q ())

action to check SQL string. for example to call prepare. if you do not need this, pass (const $ pure ())

-> Insert p

statement to inline

-> String

Variable name to define as inlined query

-> Q [Dec]

Result declarations

inlineInsertQuery_ Source #

Arguments

:: (String -> Q ())

action to check SQL string. for example to call prepare. if you do not need this, pass (const $ pure ())

-> InsertQuery p

statement to inline

-> String

Variable name to define as inlined query

-> Q [Dec]

Result declarations

inlineDelete_ Source #

Arguments

:: (String -> Q ())

action to check SQL string. for example to call prepare. if you do not need this, pass (const $ pure ())

-> Delete p

statement to inline

-> String

Variable name to define as inlined query

-> Q [Dec]

Result declarations