ColumnData.as

Returns the data converted to T.

If the data is NULL, defaultValue is returned.

  1. auto as(T defaultValue)
  2. auto as(T defaultValue)
  3. auto as(T defaultValue)
    struct ColumnData
    as
    (
    T : Nullable!U
    U...
    )
    (
    T defaultValue = T.init
    )

Throws

VariantException if the value cannot be converted to the desired type.

Meta