packages feed

persistent-mongoDB 1.1.5 → 1.1.5.1

raw patch · 2 files changed

+8/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Database.Persist.MongoDB: type Database = Text

Files

Database/Persist/MongoDB.hs view
@@ -8,6 +8,11 @@ -- There are functions available to make working with the raw driver -- easier: they are under the Entity conversion section. -- You should still use the same connection pool that you are using for Persistent. +--+-- MongoDB is a schema-less database.+-- The MongoDB Persistent backend does not help perform migrations.+-- Unlike SQL backends, uniqueness constraints cannot be created for you.+-- You must place a unique index on unique fields. {-# LANGUAGE CPP, PackageImports, OverloadedStrings, ScopedTypeVariables  #-} {-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses  #-} {-# LANGUAGE TypeSynonymInstances, FlexibleInstances, FlexibleContexts #-}@@ -54,6 +59,7 @@     , PortID      -- * MongoDB driver types+    , Database     , DB.Action     , DB.AccessMode(..)     , DB.master@@ -718,7 +724,7 @@ -- $filters -- -- You can find example usage for all of Persistent in our test cases:--- https://github.com/yesodweb/persistent/blob/master/persistent-test/EmbedTest.hs#L144+-- <https://github.com/yesodweb/persistent/blob/master/persistent-test/EmbedTest.hs#L144> -- -- These filters create a query that reaches deeper into a document with -- nested fields.
persistent-mongoDB.cabal view
@@ -1,5 +1,5 @@ name:            persistent-mongoDB-version:         1.1.5+version:         1.1.5.1 license:         MIT license-file:    LICENSE author:          Greg Weber <greg@gregweber.info>