graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.MSSQL.DDL.RunSQL

Description

MSSQL DDL RunSQL

Provides primitives for running raw text SQL on MSSQL backends.

Documentation

data MSSQLRunSQL Source #

Instances

Instances details
Eq MSSQLRunSQL Source # 
Instance details

Defined in Hasura.Backends.MSSQL.DDL.RunSQL

Show MSSQLRunSQL Source # 
Instance details

Defined in Hasura.Backends.MSSQL.DDL.RunSQL

FromJSON MSSQLRunSQL Source # 
Instance details

Defined in Hasura.Backends.MSSQL.DDL.RunSQL

Methods

parseJSON :: Value -> Parser MSSQLRunSQL

parseJSONList :: Value -> Parser [MSSQLRunSQL]

ToJSON MSSQLRunSQL Source # 
Instance details

Defined in Hasura.Backends.MSSQL.DDL.RunSQL

Methods

toJSON :: MSSQLRunSQL -> Value

toEncoding :: MSSQLRunSQL -> Encoding

toJSONList :: [MSSQLRunSQL] -> Value

toEncodingList :: [MSSQLRunSQL] -> Encoding

runSQL :: forall m. (MonadIO m, MonadBaseControl IO m, CacheRWM m, MonadError QErr m, MetadataM m) => MSSQLRunSQL -> m EncJSON Source #

toResult :: [[(Column, Value)]] -> RunSQLRes Source #