A description of the difference between a schema and its corresponding database table.
Moduleselda-0.5.2.1Haskell2010
Database.Selda.Validation
Utilities for validating and inspecting Selda tables.
- 6 types
- 8 values
- Packageselda-0.5.2.1
- Exports14
- LanguageHaskell2010
- LicenceMIT
- SourceValidation.hs
A description of the difference between a column in a Selda table and its corresponding database column.
Instances2Eq, Show
Eq ColumnDiffDefined in selda-0.5.2.1 · Database.Selda.ValidationShow ColumnDiffDefined in selda-0.5.2.1 · Database.Selda.Validation
Name of a database table.
Name of a database column.
Comprehensive information about a column.
Instances2Eq, Show
Eq ColumnInfoDefined in selda-0.5.2.1 · Database.Selda.Backend.InternalShow ColumnInfoDefined in selda-0.5.2.1 · Database.Selda.Backend.Internal
Representation of an SQL type.
Instances3Eq, Ord, Show
Eq SqlTypeRepDefined in selda-0.5.2.1 · Database.Selda.SqlTypeOrd SqlTypeRepDefined in selda-0.5.2.1 · Database.Selda.SqlTypeShow SqlTypeRepDefined in selda-0.5.2.1 · Database.Selda.SqlType
Get the column information for each column in the given table.
Pretty-print a table diff.
Pretty-print a column diff.
Get a description of the table by the given name currently in the database.
Check the given table for consistency with the current database, returning a description of all inconsistencies found. The table schema itself is not validated beforehand.
Compute the difference between the two given tables. The first table is considered to be the schema, and the second the database.
Validate a table schema, and check it for consistency against the current database. Throws a ValidationError if the schema does not validate, or if inconsistencies were found.
Ensure that the schema of the given table is valid. Does not ensure consistency with the current database.