How do I extract and convert datatypes from ResultRange

Anders S anders at xore.se
Mon Aug 26 14:17:16 UTC 2019


On Monday, 26 August 2019 at 13:58:34 UTC, Olivier Pisano wrote:
> On Monday, 26 August 2019 at 13:49:21 UTC, Anders S wrote:
>> [...]
>
> I don't have a compiler accessible right now, but according to 
> https://dlang.org/phobos/std_variant.html :
>
>     int i;
>     if (row[2].peek!int !is null)
>         i = row[2].get!int


Hi Olivier, thanks man that did it.
/a


More information about the Digitalmars-d-learn mailing list