Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
convSelCol :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m) => FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> SelPermInfo ('Postgres 'Vanilla) -> SelCol -> m [ExtCol ('Postgres 'Vanilla)] Source #
convWildcard :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m) => FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> SelPermInfo ('Postgres 'Vanilla) -> Wildcard -> m [ExtCol ('Postgres 'Vanilla)] Source #
resolveStar :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m) => FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> SelPermInfo ('Postgres 'Vanilla) -> SelectQ -> m SelectQExt Source #
convOrderByElem :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m) => SessionVariableBuilder m -> (FieldInfoMap (FieldInfo ('Postgres 'Vanilla)), SelPermInfo ('Postgres 'Vanilla)) -> OrderByCol -> m (AnnotatedOrderByElement ('Postgres 'Vanilla) SQLExp) Source #
convSelectQ :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m, HasServerConfigCtx m) => TableName ('Postgres 'Vanilla) -> FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> SelPermInfo ('Postgres 'Vanilla) -> SelectQExt -> SessionVariableBuilder m -> ValueParser ('Postgres 'Vanilla) m SQLExp -> m (AnnSimpleSelect ('Postgres 'Vanilla)) Source #
convExtSimple :: (UserInfoM m, QErrM m) => FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> SelPermInfo ('Postgres 'Vanilla) -> PGCol -> m (ColumnInfo ('Postgres 'Vanilla), Maybe (AnnColumnCaseBoolExpPartialSQL ('Postgres 'Vanilla))) Source #
convExtRel :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m, HasServerConfigCtx m) => FieldInfoMap (FieldInfo ('Postgres 'Vanilla)) -> RelName -> Maybe RelName -> SelectQExt -> SessionVariableBuilder m -> ValueParser ('Postgres 'Vanilla) m SQLExp -> m (Either (ObjectRelationSelect ('Postgres 'Vanilla)) (ArraySelect ('Postgres 'Vanilla))) Source #
convSelectQuery :: (UserInfoM m, QErrM m, TableInfoRM ('Postgres 'Vanilla) m, HasServerConfigCtx m) => SessionVariableBuilder m -> ValueParser ('Postgres 'Vanilla) m SQLExp -> SelectQuery -> m (AnnSimpleSelect ('Postgres 'Vanilla)) Source #
selectP2 :: JsonAggSelect -> (AnnSimpleSelect ('Postgres 'Vanilla), Seq PrepArg) -> TxE QErr EncJSON Source #
phaseOne :: (QErrM m, UserInfoM m, CacheRM m, HasServerConfigCtx m) => SelectQuery -> m (AnnSimpleSelect ('Postgres 'Vanilla), Seq PrepArg) Source #
runSelect :: (QErrM m, UserInfoM m, CacheRM m, HasServerConfigCtx m, MonadIO m, MonadBaseControl IO m, MonadTrace m, MetadataM m) => SelectQuery -> m EncJSON Source #