sqlite-simple-0.4.5.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 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.