as

Returns value as D type value from binary formatted field.

  1. T as(in Value v)
  2. T as(in Value v)
    @safe
    T
    as
    (
    T
    )
    (
    in Value v
    )
    if (
    !is(T : string) &&
    !is(T == Bson)
    )

Throws

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

Meta