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

Hasura.Backends.MSSQL.FromIr.SelectIntoTempTable

Description

This module contains supporting definitions for building temporary tables based off of the schema of other tables. This is used in mutations to capture the data of rows that are affected.

Synopsis

Documentation

toSelectIntoTempTable :: TempTableName -> TableName -> [ColumnInfo 'MSSQL] -> SITTConstraints -> SelectIntoTempTable Source #

Create a temporary table with the same schema as the given table.

columnInfoToUnifiedColumn :: ColumnInfo 'MSSQL -> UnifiedColumn Source #

Extracts the type and column name of a ColumnInfo