Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
convInc :: QErrM m => ValueParser ('Postgres 'Vanilla) m SQLExp -> PGCol -> ColumnType ('Postgres 'Vanilla) -> Value -> m (PGCol, SQLExp) Source #
convMul :: QErrM m => ValueParser ('Postgres 'Vanilla) m SQLExp -> PGCol -> ColumnType ('Postgres 'Vanilla) -> Value -> m (PGCol, SQLExp) Source #
convSet :: QErrM m => ValueParser ('Postgres 'Vanilla) m SQLExp -> PGCol -> ColumnType ('Postgres 'Vanilla) -> Value -> m (PGCol, SQLExp) Source #
convDefault :: Monad m => PGCol -> ColumnType ('Postgres 'Vanilla) -> () -> m (PGCol, SQLExp) Source #
convOp :: (UserInfoM m, QErrM m) => FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> [PGCol] -> UpdPermInfo ('Postgres 'Vanilla) -> [(PGCol, a)] -> (PGCol -> ColumnType ('Postgres 'Vanilla) -> a -> m (PGCol, SQLExp)) -> m [(PGCol, SQLExp)] Source #
validateUpdateQueryWith :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m) => SessionVariableBuilder m -> ValueParser ('Postgres 'Vanilla) m SQLExp -> UpdateQuery -> m (AnnotatedUpdate ('Postgres 'Vanilla)) Source #
validateUpdateQuery :: (QErrM m, UserInfoM m, CacheRM m) => UpdateQuery -> m (AnnotatedUpdate ('Postgres 'Vanilla), Seq PrepArg) Source #
runUpdate :: forall m. (QErrM m, UserInfoM m, CacheRM m, HasServerConfigCtx m, MonadBaseControl IO m, MonadIO m, MonadTrace m, MetadataM m) => UpdateQuery -> m EncJSON Source #