sqlite-simple-0.4.18.2: Mid-Level SQLite client library
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.

Synopsis

Documentation

class ToField a where Source #

A type that may be used as a single parameter to a SQL query.

Methods

toField :: a -> SQLData Source #

Prepare a value for substitution into a query string.

Instances

Instances details
ToField Bool Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Double Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Float Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Int Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Int8 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Int16 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Int32 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Int64 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Integer Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Word Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Word8 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Word16 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Word32 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Word64 Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField ByteString Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField ByteString Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Text Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Text Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField SQLData Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField UTCTime Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Day Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField Null Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField [ Char ] Source #
Instance details

Defined in Database.SQLite.Simple.ToField

ToField a => ToField ( Maybe a) Source #
Instance details

Defined in Database.SQLite.Simple.ToField