Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
runResolverWarn :: Dialect d => Resolver r a -> Proxy d -> Catalog -> (Either (ResolutionError a) (r a), [Either (ResolutionError a) (ResolutionSuccess a)]) Source #
runResolverWError :: Dialect d => Resolver r a -> Proxy d -> Catalog -> Either [ResolutionError a] (r a, [ResolutionSuccess a]) Source #
runResolverNoWarn :: Dialect d => Resolver r a -> Proxy d -> Catalog -> Either (ResolutionError a) (r a) Source #
data WithColumns r a Source #
WithColumns | |
|
queryColumnNames :: Query ResolvedNames a -> [RColumnRef a] Source #
resolveStatement :: Dialect d => Statement d RawNames a -> Resolver (Statement d ResolvedNames) a Source #
resolveQuery :: Query RawNames a -> Resolver (Query ResolvedNames) a Source #
resolveQueryWithColumns :: Query RawNames a -> Resolver (WithColumns (Query ResolvedNames)) a Source #
resolveSelectAndOrders :: Select RawNames a -> [Order RawNames a] -> Resolver (WithColumnsAndOrders (Select ResolvedNames)) a Source #
resolveCTE :: CTE RawNames a -> Resolver (CTE ResolvedNames) a Source #
resolveInsert :: Insert RawNames a -> Resolver (Insert ResolvedNames) a Source #
resolveDefaultExpr :: DefaultExpr RawNames a -> Resolver (DefaultExpr ResolvedNames) a Source #
resolveDelete :: forall a. Delete RawNames a -> Resolver (Delete ResolvedNames) a Source #
resolveTruncate :: Truncate RawNames a -> Resolver (Truncate ResolvedNames) a Source #
resolveCreateTable :: forall d a. Dialect d => CreateTable d RawNames a -> Resolver (CreateTable d ResolvedNames) a Source #
resolveTableDefinition :: FQTableName a -> TableDefinition d RawNames a -> Resolver (WithColumns (TableDefinition d ResolvedNames)) a Source #
resolveColumnOrConstraint :: ColumnOrConstraint d RawNames a -> Resolver (ColumnOrConstraint d ResolvedNames) a Source #
resolveColumnDefinition :: ColumnDefinition d RawNames a -> Resolver (ColumnDefinition d ResolvedNames) a Source #
resolveAlterTable :: AlterTable RawNames a -> Resolver (AlterTable ResolvedNames) a Source #
resolveDropTable :: DropTable RawNames a -> Resolver (DropTable ResolvedNames) a Source #
resolveSelectColumns :: ColumnSet a -> SelectColumns RawNames a -> Resolver (SelectColumns ResolvedNames) a Source #
resolvedTableHasName :: QTableName f a -> RTableRef a -> Bool Source #
resolvedTableHasSchema :: QSchemaName f a -> RTableRef a -> Bool Source #
resolveSelection :: ColumnSet a -> Selection RawNames a -> Resolver (Selection ResolvedNames) a Source #
resolveExpr :: Expr RawNames a -> Resolver (Expr ResolvedNames) a Source #
resolveTableName :: OQTableName a -> Resolver RTableName a Source #
resolveDropTableName :: DropTableName RawNames a -> Resolver (DropTableName ResolvedNames) a Source #
resolveCreateSchemaName :: CreateSchemaName RawNames a -> Maybe a -> Resolver (CreateSchemaName ResolvedNames) a Source #
resolveSchemaName :: SchemaName RawNames a -> Resolver (SchemaName ResolvedNames) a Source #
resolveTableRef :: OQTableName a -> Resolver (WithColumns RTableRef) a Source #
resolveColumnName :: forall a. OQColumnName a -> Resolver RColumnRef a Source #
resolvePartition :: Partition RawNames a -> Resolver (Partition ResolvedNames) a Source #
resolveSelectFrom :: SelectFrom RawNames a -> Resolver (WithColumns (SelectFrom ResolvedNames)) a Source #
resolveTablish :: forall a. Tablish RawNames a -> Resolver (WithColumns (Tablish ResolvedNames)) a Source #
resolveJoinCondition :: JoinCondition RawNames a -> ColumnSet a -> ColumnSet a -> Resolver (JoinCondition ResolvedNames) a Source #
resolveSelectWhere :: SelectWhere RawNames a -> Resolver (SelectWhere ResolvedNames) a Source #
resolveSelectTimeseries :: SelectTimeseries RawNames a -> Resolver (SelectTimeseries ResolvedNames) a Source #
resolveSelectGroup :: [Expr ResolvedNames a] -> SelectGroup RawNames a -> Resolver (SelectGroup ResolvedNames) a Source #
resolveOrder :: [Expr ResolvedNames a] -> Order RawNames a -> Resolver (Order ResolvedNames) a Source #
selectionNames :: Selection ResolvedNames a -> [RColumnRef a] Source #
mkTableSchemaMember :: [UQColumnName ()] -> SchemaMember Source #