Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Responsible for translating and building an MSSQL execution plan for update mutations.
This module is used by Hasura.Backends.MSSQL.Instances.Execute.
Synopsis
- executeUpdate :: (MonadError QErr m, MonadReader QueryTagsComment m) => UserInfo -> StringifyNumbers -> SourceConfig 'MSSQL -> AnnotatedUpdateG 'MSSQL Void (UnpreparedValue 'MSSQL) -> m (OnBaseMonad (ExceptT QErr) EncJSON)
Documentation
executeUpdate :: (MonadError QErr m, MonadReader QueryTagsComment m) => UserInfo -> StringifyNumbers -> SourceConfig 'MSSQL -> AnnotatedUpdateG 'MSSQL Void (UnpreparedValue 'MSSQL) -> m (OnBaseMonad (ExceptT QErr) EncJSON) Source #
Executes an Update IR AST and return results as JSON.