Question about mysql-d Object

Martin Tschierschke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 8 07:31:41 PST 2015


On Tuesday, 8 December 2015 at 15:14:06 UTC, Daniel Kozak wrote:
[...]
>> >> A nested loop, did not worked either:
>> >>
>> >> foreach(row;rows){
>> >>  foreach(field;row){
>> >>  writeln(field);}
>> >> }
[...]
>> Now I took a work around, getting the field names in a separate
>> mysql-request,
>> but they should be available in the row object, too?
>> 
>
> rows.fieldNames() this one is better result type is string[]
Thank you!!!



More information about the Digitalmars-d-learn mailing list