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 | None |
Language | Haskell2010 |
Database.SQLite.Simple.ToField
Description
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 Bool Source # | |
ToField Double Source # | |
ToField Float Source # | |
ToField Int Source # | |
ToField Int8 Source # | |
ToField Int16 Source # | |
ToField Int32 Source # | |
ToField Int64 Source # | |
ToField Integer Source # | |
ToField Word Source # | |
ToField Word8 Source # | |
ToField Word16 Source # | |
ToField Word32 Source # | |
ToField Word64 Source # | |
ToField ByteString Source # | |
Defined in Database.SQLite.Simple.ToField Methods toField :: ByteString -> SQLData Source # |
|
ToField ByteString Source # | |
Defined in Database.SQLite.Simple.ToField Methods toField :: ByteString -> SQLData Source # |
|
ToField Text Source # | |
ToField Text Source # | |
ToField SQLData Source # | |
ToField UTCTime Source # | |
ToField Day Source # | |
ToField Null Source # | |
ToField [ Char ] Source # | |
ToField a => ToField ( Maybe a) Source # | |