Hoogle Search

Within LTS Haskell 22.21 (ghc-9.6.5)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module Database.Persist.MongoDB

    Use persistent-mongodb the same way you would use other persistent libraries and refer to the general persistent documentation. There are some new MongoDB specific filters under the filters section. These help extend your query into a nested document. However, at some point you will find the normal Persistent APIs lacking. and want lower level-level MongoDB access. 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.

  2. PersistMongoDBError :: Text -> PersistException

    persistent Database.Persist.Types

    No documentation available.

  3. PersistMongoDBUnsupported :: Text -> PersistException

    persistent Database.Persist.Types

    No documentation available.

  4. createMongoDBPipePool :: MonadIO m => HostName -> PortID -> Int -> Int -> NominalDiffTime -> m PipePool

    persistent-mongoDB Database.Persist.MongoDB

    A pool of plain MongoDB pipes. The database parameter has not yet been applied yet. This is useful for switching between databases (on the same host and port) Unlike the normal pool, no authentication is available

  5. createMongoDBPool :: MonadIO m => Database -> HostName -> PortID -> Maybe MongoAuth -> Int -> Int -> NominalDiffTime -> m ConnectionPool

    persistent-mongoDB Database.Persist.MongoDB

    No documentation available.

  6. runMongoDBPipePool :: MonadUnliftIO m => AccessMode -> Database -> Action m a -> PipePool -> m a

    persistent-mongoDB Database.Persist.MongoDB

    run a pool created with createMongoDBPipePool

  7. runMongoDBPool :: MonadUnliftIO m => AccessMode -> Action m a -> ConnectionPool -> m a

    persistent-mongoDB Database.Persist.MongoDB

    No documentation available.

  8. runMongoDBPoolDef :: MonadUnliftIO m => Action m a -> ConnectionPool -> m a

    persistent-mongoDB Database.Persist.MongoDB

    use default AccessMode

  9. withMongoDBConn :: MonadIO m => Database -> HostName -> PortID -> Maybe MongoAuth -> NominalDiffTime -> (ConnectionPool -> m b) -> m b

    persistent-mongoDB Database.Persist.MongoDB

    No documentation available.

  10. withMongoDBPool :: MonadIO m => Database -> HostName -> PortID -> Maybe MongoAuth -> Int -> Int -> NominalDiffTime -> (ConnectionPool -> m b) -> m b

    persistent-mongoDB Database.Persist.MongoDB

    No documentation available.

Page 1 of 2 | Next