relational-query-0.12.0.1: 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 #

Constant SQL terms of Bool.

Instance details

LiteralSQL Char #

Constant SQL terms of Char.

Instance details

LiteralSQL Double #

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

Instance details

LiteralSQL Float #

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

Instance details

LiteralSQL Int #

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

Instance details

LiteralSQL Int8 #

Constant SQL terms of Int8.

Instance details

LiteralSQL Int16 #

Constant SQL terms of Int16.

Instance details

LiteralSQL Int32 #

Constant SQL terms of Int32.

Instance details

LiteralSQL Int64 #

Constant SQL terms of Int64.

Instance details

LiteralSQL () #

Constant SQL terms of '()'.

Instance details

Methods

showLiteral' :: () -> DList StringSQL #

LiteralSQL String #

Constant SQL terms of String.

Instance details

LiteralSQL ByteString #

Constant SQL terms of ByteString.

Instance details

LiteralSQL ByteString #

Constant SQL terms of ByteString.

Instance details

LiteralSQL Text #

Constant SQL terms of Text.

Instance details

LiteralSQL Text #

Constant SQL terms of Text.

Instance details

LiteralSQL ZonedTime #

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

Instance details

LiteralSQL LocalTime #

Constant SQL terms of LocalTime.

Instance details

LiteralSQL TimeOfDay #

Constant SQL terms of TimeOfDay.

Instance details

LiteralSQL UTCTime #

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

Instance details

LiteralSQL Day #

Constant SQL terms of Day.

Instance details

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

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

Instance details