Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type SessionId = UUID
- data Session = Session DisconnectedTransaction SchemaName
- defaultSchemaName :: SchemaName
- disconnectedTransaction :: Session -> DisconnectedTransaction
- isDirty :: Session -> DirtyFlag
- concreteDatabaseContext :: Session -> DatabaseContext
- parentId :: Session -> TransactionId
- subschemas :: Session -> Subschemas
- schemas :: Session -> Schemas
- schemaName :: Session -> SchemaName
- setSchemaName :: SchemaName -> Session -> Either RelationalError Session
Documentation
Represents a pointer into the database's transaction graph which the DatabaseContextExpr
s can then modify subsequently be committed to extend the transaction graph. The session contains staged (uncommitted) database changes as well as the means to switch between isomorphic schemas.
parentId :: Session -> TransactionId Source #
subschemas :: Session -> Subschemas Source #
schemaName :: Session -> SchemaName Source #