mysql-native v3.0.0: Update from `vibe-d:core` to `vibe-core`

Steven Schveighoffer schveiguy at gmail.com
Mon Dec 9 16:15:50 UTC 2019


On 12/9/19 6:02 AM, Martin Tschierschke wrote:

> Is there a easy way to get the mysql row as an AA?
> So that I can write something like result["email"] if "email" is a column?

ResultRange has an asAA member which does what you want.

> I just saw this:
>>> New: #188: Expose column names in Row struct via Row.getName(index). 
>>> (@jpf91)
> Should I use this? And just fill an AA myself?

I don't know why the asAA isn't in Row. I didn't actually realize the 
Row now had access to the column names.

-Steve


More information about the Digitalmars-d-announce mailing list