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

Hasura.Backends.MSSQL.Execute.Insert

Description

Responsible for translating and building an MSSQL execution plan for delete mutations.

This module is used by Hasura.Backends.MSSQL.Instances.Execute.

Synopsis

Documentation

executeInsert :: (MonadError QErr m, MonadReader QueryTagsComment m) => UserInfo -> StringifyNumbers -> SourceConfig 'MSSQL -> AnnotatedInsert 'MSSQL Void (UnpreparedValue 'MSSQL) -> m (OnBaseMonad (ExceptT QErr) EncJSON) Source #

Execute and insert/upsert mutation against MS SQL Server. See the documentation for buildInsertTx to see how it's done.