Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Responsible for translating and building an MSSQL execution plan for delete mutations.
This module is used by Hasura.Backends.MSSQL.Instances.Execute.
Synopsis
- executeInsert :: (MonadError QErr m, MonadReader QueryTagsComment m) => UserInfo -> StringifyNumbers -> SourceConfig 'MSSQL -> AnnotatedInsert 'MSSQL Void (UnpreparedValue 'MSSQL) -> m (OnBaseMonad (ExceptT QErr) EncJSON)
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.