Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
ProjectM36.DDLType
Documentation
ddlHash :: DatabaseContext -> TransactionGraph -> Either RelationalError SecureHash Source #
Return a hash of just DDL-specific (schema) attributes. This is useful for determining if a client has the appropriate updates needed to work with the current schema.
typesForRelationVariables :: DatabaseContext -> TransactionGraph -> Either RelationalError (Map RelVarName Relation) Source #
Process all relations within the context of the transaction graph to extract the relation variables types.
ddlType :: Schema -> DatabaseContext -> TransactionGraph -> Either RelationalError Relation Source #
Return a Relation which represents the database context's current DDL schema.