mysql-simple-0.4.8.1: A mid-level MySQL client library.
Copyright(c) 2011 MailRank Inc.
LicenseBSD3
MaintainerPaul Rouse <pyr@doynton.org>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.MySQL.Simple.QueryParams

Description

The QueryParams typeclass, for rendering a collection of parameters to a SQL query.

Predefined instances are provided for tuples containing up to ten elements.

Synopsis

Documentation

class QueryParams a where Source #

A collection type that can be turned into a list of rendering Actions.

Instances should use the render method of the Param class to perform conversion of each element of the collection.

Methods

renderParams :: a -> [Action] Source #

Render a collection of values.

Instances

Instances details
QueryParams () Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: () -> [Action] Source #

Param a => QueryParams (Only a) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: Only a -> [Action] Source #

Param a => QueryParams [a] Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: [a] -> [Action] Source #

(Param a, Param b) => QueryParams (a, b) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b) -> [Action] Source #

(Param a, Param b, Param c) => QueryParams (a, b, c) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c) -> [Action] Source #

(Param a, Param b, Param c, Param d) => QueryParams (a, b, c, d) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e) => QueryParams (a, b, c, d, e) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f) => QueryParams (a, b, c, d, e, f) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g) => QueryParams (a, b, c, d, e, f, g) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h) => QueryParams (a, b, c, d, e, f, g, h) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i) => QueryParams (a, b, c, d, e, f, g, h, i) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j) => QueryParams (a, b, c, d, e, f, g, h, i, j) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k) => QueryParams (a, b, c, d, e, f, g, h, i, j, k) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p, Param q) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p, Param q, Param r) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p, Param q, Param r, Param s) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p, Param q, Param r, Param s, Param t, Param u, Param v) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p, Param q, Param r, Param s, Param t, Param u, Param v, Param w) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) -> [Action] Source #

(Param a, Param b, Param c, Param d, Param e, Param f, Param g, Param h, Param i, Param j, Param k, Param l, Param m, Param n, Param o, Param p, Param q, Param r, Param s, Param t, Param u, Param v, Param w, Param x) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) Source # 
Instance details

Defined in Database.MySQL.Simple.QueryParams

Methods

renderParams :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) -> [Action] Source #