implements database agnostic type specification via QVariant::Type enum