Copyright | (c) 2011 MailRank Inc. |
---|---|
License | BSD3 |
Maintainer | Paul Rouse <[email protected]> |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- class QueryParams a where
- renderParams :: a -> [Action]
Documentation
class QueryParams a where Source #
A collection type that can be turned into a list of rendering
Action
s.
Instances should use the render
method of the Param
class
to perform conversion of each element of the collection.
Instances
QueryParams () Source # | |
Defined in Database.MySQL.Simple.QueryParams Methods renderParams :: () -> [Action] Source # | |
Param a => QueryParams (Only a) Source # | |
Defined in Database.MySQL.Simple.QueryParams Methods renderParams :: Only a -> [Action] Source # | |
Param a => QueryParams [a] Source # | |
Defined in Database.MySQL.Simple.QueryParams Methods renderParams :: [a] -> [Action] Source # | |
(Param a, Param b) => QueryParams (a, b) Source # | |
Defined in Database.MySQL.Simple.QueryParams Methods renderParams :: (a, b) -> [Action] Source # | |
(Param a, Param b, Param c) => QueryParams (a, b, c) Source # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) Source # | |
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) -> [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) => QueryParams (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) Source # | |
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) -> [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 # | |
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 # | |
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 # | |
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 # |