Moduleopaleye-0.10.8.0Haskell2010
Opaleye.Column
Deprecated. Use Opaleye.Field instead. Will be removed in version 0.11.
Functions for working directly with Columns.
Please note that numeric Column types are instances of Num, so you can use *, /, +, - on them.
- 1 type
- 8 values
- Packageopaleye-0.10.8.0
- Exports10
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceColumn.hs
Column
1 declarationWorking with NULL
3 declarationsA NULL of any type
TRUE if the value of the column is NULL, FALSE otherwise.
Unsafe operations
3 declarationsCast a column to any other type. Implements Postgres's :: or
CAST( ... AS ... ) operations. This is safe for some
conversions, such as uuid to text.
Treat a Column as though it were of a different type. If such a treatment is not valid then Postgres may fail with an error at SQL run time.
Entire module
3 declarationsTRUE if the value of the column is NULL, FALSE otherwise.
A NULL of any type