relational-query-0.12.0.0: Typeful, Modular, Relational, algebraic query engine

Copyright2013-2017 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Database.Relational.Pure

Contents

Description

This module defines interfaces between haskell pure values and query internal record values.

Orphan instances

LiteralSQL Bool Source #

Constant SQL terms of Bool.

LiteralSQL Char Source #

Constant SQL terms of Char.

LiteralSQL Double Source #

Constant SQL terms of Double. Caution for floating-point error rate.

LiteralSQL Float Source #

Constant SQL terms of Float. Caution for floating-point error rate.

LiteralSQL Int Source #

Constant SQL terms of Int. Use this carefully, because this is architecture dependent size of integer type.

LiteralSQL Int8 Source #

Constant SQL terms of Int8.

LiteralSQL Int16 Source #

Constant SQL terms of Int16.

LiteralSQL Int32 Source #

Constant SQL terms of Int32.

LiteralSQL Int64 Source #

Constant SQL terms of Int64.

LiteralSQL () Source #

Constant SQL terms of '()'.

LiteralSQL String Source #

Constant SQL terms of String.

LiteralSQL ByteString Source #

Constant SQL terms of ByteString.

LiteralSQL ByteString Source #

Constant SQL terms of ByteString.

LiteralSQL Text Source #

Constant SQL terms of Text.

LiteralSQL Text Source #

Constant SQL terms of Text.

LiteralSQL ZonedTime Source #

Constant SQL terms of ZonedTime. This generates ***NOT STANDARD*** SQL of TIMESTAMPTZ literal.

LiteralSQL LocalTime Source #

Constant SQL terms of LocalTime.

LiteralSQL TimeOfDay Source #

Constant SQL terms of TimeOfDay.

LiteralSQL UTCTime Source #

Constant SQL terms of UTCTime. This generates ***NOT STANDARD*** SQL of TIMESTAMPTZ literal with UTC timezone.

LiteralSQL Day Source #

Constant SQL terms of Day.

(PersistableWidth a, LiteralSQL a) => LiteralSQL (Maybe a) Source #

Constant SQL terms of Maybe type. Width inference is required.