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.
Synopsis
- family Column
- data Nullable
- value null
- value isNull
- value unsafeCast
- value unsafeCoerceColumn
- value unsafeCompositeField
- value isNull
- value joinNullable
- value null
- Packageopaleye-0.10.8.0
- Exports10
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceColumn.hs
Working with NULL
A NULL of any type
TRUE if the value of the column is NULL, FALSE otherwise.
Unsafe operations
Cast 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
TRUE if the value of the column is NULL, FALSE otherwise.
A NULL of any type