Safe Haskell | None |
---|---|
Language | Haskell2010 |
MSSQL Types Insert
Types for MSSQL Insert IR.
Synopsis
- data BackendInsert v = BackendInsert {
- _biIfMatched :: Maybe (IfMatched v)
- data IfMatched v = IfMatched {
- _imMatchColumns :: [Column 'MSSQL]
- _imUpdateColumns :: [Column 'MSSQL]
- _imConditions :: AnnBoolExp 'MSSQL v
- _imColumnPresets :: HashMap ColumnName v
Documentation
data BackendInsert v Source #
Defines the part in insert mutation that is unique for MSSQL the if_matched
clause.
BackendInsert | |
|
Instances
The IR data representing an if_matched
clause, which handles upserts.
IfMatched | |
|
Instances
Backend 'MSSQL => Functor IfMatched Source # | |
Backend 'MSSQL => Foldable IfMatched Source # | |
Defined in Hasura.Backends.MSSQL.Types.Insert fold :: Monoid m => IfMatched m -> m # foldMap :: Monoid m => (a -> m) -> IfMatched a -> m # foldMap' :: Monoid m => (a -> m) -> IfMatched a -> m # foldr :: (a -> b -> b) -> b -> IfMatched a -> b # foldr' :: (a -> b -> b) -> b -> IfMatched a -> b # foldl :: (b -> a -> b) -> b -> IfMatched a -> b # foldl' :: (b -> a -> b) -> b -> IfMatched a -> b # foldr1 :: (a -> a -> a) -> IfMatched a -> a # foldl1 :: (a -> a -> a) -> IfMatched a -> a # toList :: IfMatched a -> [a] # length :: IfMatched a -> Int # elem :: Eq a => a -> IfMatched a -> Bool # maximum :: Ord a => IfMatched a -> a # minimum :: Ord a => IfMatched a -> a # | |
Backend 'MSSQL => Traversable IfMatched Source # | |
Defined in Hasura.Backends.MSSQL.Types.Insert | |
(Backend 'MSSQL, Show (AnnBoolExp 'MSSQL v), Show v) => Show (IfMatched v) Source # | |