graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.MSSQL.Pool

Description

MSSQL Connection Pooling

Synopsis

Documentation

newtype ConnectionString Source #

ODBC connection string for MSSQL server

Constructors

ConnectionString 

Instances

Instances details
FromJSON ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

ToJSON ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

HasCodec ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

Generic ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

Associated Types

type Rep ConnectionString :: Type -> Type #

Show ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

NFData ConnectionString Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Connection

Methods

rnf :: ConnectionString -> () #

Eq ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

Hashable ConnectionString Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Connection

type Rep ConnectionString Source # 
Instance details

Defined in Database.MSSQL.Pool

type Rep ConnectionString = D1 ('MetaData "ConnectionString" "Database.MSSQL.Pool" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ConnectionString" 'PrefixI 'True) (S1 ('MetaSel ('Just "unConnectionString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data MSSQLPool Source #

ODBC connection pool

initMSSQLPool :: ConnectionString -> ConnectionOptions -> IO MSSQLPool Source #

Initialize an MSSQL pool with given connection configuration

drainMSSQLPool :: MSSQLPool -> IO () Source #

Destroy all pool resources

resizePool :: MSSQLPool -> Int -> IO () Source #

Resize a pool