Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. type CharSet = [(Char, Char)]

    hxt-charproperties Data.Set.CharSet

    No documentation available.

  2. data ReplicaSet

    mongoDB Database.MongoDB.Connection

    Maintains a connection (created on demand) to each server in the named replica set

  3. type ReplicaSetName = Text

    mongoDB Database.MongoDB.Connection

    No documentation available.

  4. closeReplicaSet :: ReplicaSet -> IO ()

    mongoDB Database.MongoDB.Connection

    Close all connections to replica set

  5. openReplicaSet :: (ReplicaSetName, [Host]) -> IO ReplicaSet

    mongoDB Database.MongoDB.Connection

    Open connections (on demand) to servers in replica set. Supplied hosts is seed list. At least one of them must be a live member of the named replica set, otherwise fail. The value of globalConnectTimeout at the time of this call is the timeout used for future member connect attempts. To use your own value call openReplicaSet' instead.

  6. openReplicaSet' :: Secs -> (ReplicaSetName, [Host]) -> IO ReplicaSet

    mongoDB Database.MongoDB.Connection

    Open connections (on demand) to servers in replica set. Supplied hosts is seed list. At least one of them must be a live member of the named replica set, otherwise fail. Supplied seconds timeout is used for connect attempts to members.

  7. openReplicaSetSRV :: HostName -> IO ReplicaSet

    mongoDB Database.MongoDB.Connection

    Open non-secure connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. The value of globalConnectTimeout at the time of this call is the timeout used for future member connect attempts. To use your own value call openReplicaSetSRV'' instead.

  8. openReplicaSetSRV' :: HostName -> IO ReplicaSet

    mongoDB Database.MongoDB.Connection

    Open secure connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. The value of globalConnectTimeout at the time of this call is the timeout used for future member connect attempts. To use your own value call openReplicaSetSRV''' instead. The preferred connection method for cloud MongoDB providers. A typical connecting sequence is shown in the example below.

    Example

    do
    pipe <- openReplicatSetSRV' "cluster#.xxxxx.yyyyy.zzz"
    is_auth <- access pipe master "admin" $ auth user_name password
    unless is_auth (throwIO $ userError "Authentication failed!")
    

  9. openReplicaSetSRV'' :: Secs -> HostName -> IO ReplicaSet

    mongoDB Database.MongoDB.Connection

    Open non-secure connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. Supplied seconds timeout is used for connect attempts to members.

  10. openReplicaSetSRV''' :: Secs -> HostName -> IO ReplicaSet

    mongoDB Database.MongoDB.Connection

    Open secure connections (on demand) to servers in a replica set. The seedlist and replica set name is fetched from the SRV and TXT DNS records for the given hostname. Supplied seconds timeout is used for connect attempts to members.

Page 127 of many | Previous | Next