sqlite-simple-0.4.14.0: Mid-Level SQLite client library

Copyright(c) 2011 MailRank Inc.
(c) 2011-2012 Leon P Smith
(c) 2012-2013 Janne Hellsten
LicenseBSD3
MaintainerJanne Hellsten <jjhellst@gmail.com>
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

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 #

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

Minimal complete definition

toField

Methods

toField :: a -> SQLData #

Prepare a value for substitution into a query string.