Copyright | (c) 2011 MailRank Inc. (c) 2011-2012 Leon P Smith (c) 2012-2013 Janne Hellsten |
---|---|
License | BSD3 |
Maintainer | Janne Hellsten <jjhellst@gmail.com> |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The ToField
typeclass, for rendering a parameter to an SQLite
value to be bound as a SQL query parameter.
Documentation
class ToField a where Source #
A type that may be used as a single parameter to a SQL query.
Instances
ToField Int16 Source # | |
ToField Int32 Source # | |
ToField Int64 Source # | |
ToField Int8 Source # | |
ToField Word16 Source # | |
ToField Word32 Source # | |
ToField Word64 Source # | |
ToField Word8 Source # | |
ToField ByteString Source # | |
Defined in Database.SQLite.Simple.ToField toField :: ByteString -> SQLData Source # | |
ToField ByteString Source # | |
Defined in Database.SQLite.Simple.ToField toField :: ByteString -> SQLData Source # | |
ToField SQLData Source # | |
ToField Null Source # | |
ToField Text Source # | |
ToField Text Source # | |
ToField Day Source # | |
ToField UTCTime Source # | |
ToField Integer Source # | |
ToField Bool Source # | |
ToField Double Source # | |
ToField Float Source # | |
ToField Int Source # | |
ToField Word Source # | |
ToField a => ToField (Maybe a) Source # | |
ToField [Char] Source # | |