as

Returns cell value as a native string based type from text or binary formatted field.

  1. T as(Value v)
  2. T as(Value v)
    @safe pure @trusted
    T
    as
    (
    T
    )
    (
    in Value v
    )
    if (
    is(T : const(char)[]) &&
    !is(T == Nullable!R,
    R
    )
    )
  3. T as(Value v)

Throws

AssertError if the db value is NULL.

Meta