Database.Persist.MongoDB

Entity conversion

collectionName

docToEntityEither

docToEntityThrow

entityToDocument

toInsertDoc

updatesToDoc

filtersToDoc

toUniquesDoc

toInsertFields

entityToFields

MongoDB specific Filters

nestEq

nestNe

nestGe

nestLe

nestIn

nestNotIn

anyEq

multiEq

nestBsonEq

anyBsonEq

multiBsonEq

(=~.)

(?=~.)

type MongoRegex

(->.)

(~>.)

(?&->.)

(?&~>.)

(&->.)

(&~>.)

data NestedField record typ

class MongoRegexSearchable typ

MongoDB specific PersistFields

data Objectid

genObjectid

Key conversion helpers

keyToOid

oidToKey

recordTypeFromKey

PersistField conversion

fieldName

using connections

withConnection

withMongoPool

withMongoDBConn

withMongoDBPool

createMongoDBPool

runMongoDBPool

runMongoDBPoolDef

type ConnectionPool

data Connection

data MongoBackend

data MongoAuth

Connection configuration

data MongoConf

defaultMongoConf

defaultHost

defaultAccessMode

defaultPoolStripes

defaultConnectionIdleTime

defaultStripeConnections

applyDockerEnv

using raw MongoDB pipes

type PipePool

createMongoDBPipePool

runMongoDBPipePool

network type

type HostName

data PortID

MongoDB driver types

type Database

data Action m a

data AccessMode

master

slaveOk

(=:)

Database.Persist