persistent-2.1.4: Type-safe, multi-backend data serialization.

Safe HaskellNone
LanguageHaskell98

Database.Persist

Contents

Synopsis

Documentation

query combinators

(=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Update v infixr 3 Source

assign a field a value

(+=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Update v infixr 3 Source

assign a field by addition (+=)

(-=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Update v infixr 3 Source

assign a field by subtraction (-=)

(*=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Update v infixr 3 Source

assign a field by multiplication (*=)

(/=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Update v infixr 3 Source

assign a field by division (/=)

(==.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Filter v infix 4 Source

(!=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Filter v infix 4 Source

(<.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Filter v infix 4 Source

(>.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Filter v infix 4 Source

(<=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Filter v infix 4 Source

(>=.) :: forall v typ. PersistField typ => EntityField v typ -> typ -> Filter v infix 4 Source

(<-.) :: forall v typ. PersistField typ => EntityField v typ -> [typ] -> Filter v infix 4 Source

In

(/<-.) :: forall v typ. PersistField typ => EntityField v typ -> [typ] -> Filter v infix 4 Source

NotIn

(||.) :: forall v. [Filter v] -> [Filter v] -> [Filter v] infixl 3 Source

the OR of two lists of filters

JSON Utilities

Other utililities