as

Returns value as D type value from binary formatted field.

  1. T as(Value v)
  2. T as(Value v)
    @safe
    T
    as
    (
    T
    )
    (
    in Value v
    )
    if (
    !is(T : const(char)[]) &&
    !is(T == Bson)
    )

Throws

AssertError if the db value is NULL and Nullable is not used to retrieve the value

Meta