| Copyright | 2013-2017 Kei Hibino |
|---|---|
| License | BSD3 |
| Maintainer | ex8k.hibino@gmail.com |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
Database.Relational.Query.Monad.Assign
Description
This module contains definitions about restrict context with assignment monad type.
- type Assign r = Assignings r Restrict
- type AssignStatement r a = Projection Flat r -> Assign r a
- extract :: Assign r a -> Config -> ((a, Table r -> [Assignment]), QueryRestriction Flat)
Monad to restrict target records with assignment.
type Assign r = Assignings r Restrict Source #
Target update monad type used from update statement and merge statement.
type AssignStatement r a = Projection Flat r -> Assign r a Source #
AssignStatement type synonym.
Specifying assignments and restrictions like update statement.
Projection record type must be
the same as Target type parameter r.