Skip to content

Commit

Permalink
Export Query interface from Database.Persist
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jan 19, 2012
1 parent 961aa27 commit 959672e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions persistent/Database/Persist.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Database.Persist
, PersistEntity (..)
, PersistStore (..)
, PersistUnique (..)
, PersistQuery (..)
, Key (..)
, Entity (..)
, insertBy
Expand All @@ -13,6 +14,18 @@ module Database.Persist
, belongsToJust
, getByValue
, checkUnique
, selectList
, deleteCascadeWhere

, SelectOpt (..)
, Filter (..)

-- * query combinators
, (=.), (+=.), (-=.), (*=.), (/=.)
, (==.), (!=.), (<.), (>.), (<=.), (>=.)
, (<-.), (/<-.)
, (||.)
) where

import Database.Persist.Store
import Database.Persist.Query

0 comments on commit 959672e

Please sign in to comment.