HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Contents
  1. Column
  2. Working with NULL
  3. Unsafe operations
  4. Entire module
Synopsis
  • Packageopaleye-0.10.8.0
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceColumn.hs

Working with NULL

Unsafe operations

valueunsafeCast :: String -> Field_ n a -> Field_ n b

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.

Entire module