Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SourceTableInfo b = SourceTableInfo {
- _stiName :: TableName b
- _stiType :: SourceTableType
- _stiColumns :: [SourceColumnInfo b]
- _stiLogicalModels :: [LogicalModelMetadata b]
- _stiPrimaryKey :: Maybe (NonEmpty (Column b))
- _stiForeignKeys :: SourceForeignKeys b
- _stiDescription :: Maybe Text
- _stiInsertable :: Bool
- _stiUpdatable :: Bool
- _stiDeletable :: Bool
- newtype SourceForeignKeys b = SourceForeignKeys {}
- data SourceConstraint b = SourceConstraint {
- _scForeignTable :: TableName b
- _scColumnMapping :: HashMap (Column b) (Column b)
- stiUpdatable :: forall b. Lens' (SourceTableInfo b) Bool
- stiType :: forall b. Lens' (SourceTableInfo b) SourceTableType
- stiPrimaryKey :: forall b. Lens' (SourceTableInfo b) (Maybe (NonEmpty (Column b)))
- stiName :: forall b. Lens' (SourceTableInfo b) (TableName b)
- stiLogicalModels :: forall b. Lens' (SourceTableInfo b) [LogicalModelMetadata b]
- stiInsertable :: forall b. Lens' (SourceTableInfo b) Bool
- stiForeignKeys :: forall b. Lens' (SourceTableInfo b) (SourceForeignKeys b)
- stiDescription :: forall b. Lens' (SourceTableInfo b) (Maybe Text)
- stiDeletable :: forall b. Lens' (SourceTableInfo b) Bool
- stiColumns :: forall b. Lens' (SourceTableInfo b) [SourceColumnInfo b]
- scForeignTable :: forall b. Lens' (SourceConstraint b) (TableName b)
- scColumnMapping :: forall b. Lens' (SourceConstraint b) (HashMap (Column b) (Column b))
- unSourceForeignKeys :: forall b b. Iso (SourceForeignKeys b) (SourceForeignKeys b) (HashMap (ConstraintName b) (SourceConstraint b)) (HashMap (ConstraintName b) (SourceConstraint b))
Documentation
data SourceTableInfo b Source #
Table schema data from the SchemaResponse
.
SourceTableInfo | |
|
Instances
newtype SourceForeignKeys b Source #
Instances
data SourceConstraint b Source #
SourceConstraint | |
|
Instances
stiUpdatable :: forall b. Lens' (SourceTableInfo b) Bool Source #
stiType :: forall b. Lens' (SourceTableInfo b) SourceTableType Source #
stiPrimaryKey :: forall b. Lens' (SourceTableInfo b) (Maybe (NonEmpty (Column b))) Source #
stiLogicalModels :: forall b. Lens' (SourceTableInfo b) [LogicalModelMetadata b] Source #
stiInsertable :: forall b. Lens' (SourceTableInfo b) Bool Source #
stiForeignKeys :: forall b. Lens' (SourceTableInfo b) (SourceForeignKeys b) Source #
stiDescription :: forall b. Lens' (SourceTableInfo b) (Maybe Text) Source #
stiDeletable :: forall b. Lens' (SourceTableInfo b) Bool Source #
stiColumns :: forall b. Lens' (SourceTableInfo b) [SourceColumnInfo b] Source #
scForeignTable :: forall b. Lens' (SourceConstraint b) (TableName b) Source #
scColumnMapping :: forall b. Lens' (SourceConstraint b) (HashMap (Column b) (Column b)) Source #
unSourceForeignKeys :: forall b b. Iso (SourceForeignKeys b) (SourceForeignKeys b) (HashMap (ConstraintName b) (SourceConstraint b)) (HashMap (ConstraintName b) (SourceConstraint b)) Source #