Copyright | (c) 2011 MailRank Inc. (c) 2011-2012 Leon P Smith |
---|---|
License | BSD3 |
Maintainer | Leon P Smith <leon@melding-monads.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
The ToRow
typeclass, for rendering a collection of
parameters to a SQL query.
Predefined instances are provided for tuples containing up to ten elements.
- class ToRow a where
Documentation
A collection type that can be turned into a list of rendering
Action
s.
Instances should use the toField
method of the ToField
class
to perform conversion of each element of the collection.