Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
convertToSQLTransaction :: forall pgKind m. (MonadTx m, MonadIO m, MonadTrace m, Backend ('Postgres pgKind), PostgresAnnotatedFieldJSON pgKind, MonadReader QueryTagsComment m) => AnnotatedInsert ('Postgres pgKind) Void SQLExp -> UserInfo -> Seq PrepArg -> StringifyNumbers -> Maybe NamingCase -> m EncJSON Source #
validateInsertInput :: forall m pgKind. (MonadError QErr m, MonadIO m, MonadTrace m, MonadState (InsertValidationPayloadMap pgKind) m) => Environment -> Manager -> Logger Hasura -> UserInfo -> MultiObjectInsert ('Postgres pgKind) (UnpreparedValue ('Postgres pgKind)) -> [Header] -> m () Source #
validateInsertRows :: forall m pgKind. (MonadError QErr m, MonadIO m, MonadTrace m) => Environment -> Manager -> Logger Hasura -> UserInfo -> ResolvedWebhook -> [HeaderConf] -> Timeout -> Bool -> [Header] -> [AnnotatedInsertRow ('Postgres pgKind) (UnpreparedValue ('Postgres pgKind))] -> m () Source #