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

Portabilityunknown
Stabilityexperimental
Maintainerex8k.hibino@gmail.com
Safe HaskellNone

Database.Relational.Query.Monad.Restrict

Contents

Description

This module contains definitions about simple restrict context monad type.

Synopsis

Monad to restrict target records.

type Restrict = Restrictings Flat IdentitySource

Restrict only monad type used from update statement and delete statement.

type RestrictedStatement r a = Projection Flat r -> Restrict aSource

RestrictedStatement type synonym. Projection record type r must be the same as Restrictings type parameter r.