Re: mysql-native v3.0.0: Update from `vibe-d:core` to `vibe-core`
On Monday, 9 December 2019 at 16:15:50 UTC, Steven Schveighoffer wrote: 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. Oh, that's great! Thank you!
DIP 1023--Resolution of Template Alias Formal Parameters in Template Functions--Postponed
DIP 1023, "Resolution of Template Alias Formal Parameters in Template Functions", has been postponed at the request of the DIP author. https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1023.md
Re: mysql-native v3.0.0: Update from `vibe-d:core` to `vibe-core`
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
Re: during: a io_uring wrapper library
On Sunday, 8 December 2019 at 10:35:24 UTC, tchaloupka wrote: As of Linux kernel 5.1 new promissing io_uring interface was introduced (see introduction document https://kernel.dk/io_uring.pdf). During[1] is a low level wrapper directly around Linux https://bitbucket.org/kozzi11/during_io/src/master/
Re: mysql-native v3.0.0: Update from `vibe-d:core` to `vibe-core`
On Sunday, 8 December 2019 at 23:35:02 UTC, Nick Sabalausky (Abscissa) wrote: The mysql-native package is a native all-D client library for MySQL and MariaDB. If vibe-d is included in your project, it will use vibe-d networking, otherwise it will use Phobos networking. https://github.com/mysql-d/mysql-native In this update, mysql-native's vibe-d support has switched from the old `vibe-d:core` package to the new `vibe-core` package. Several other improvements are included as well. See the changelog for details: < https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md >. Big thanks to @SingingBush and @schveiguy for their contributions in this release. On the near horizon, work on v3.1.0 and v4.0.0 is already well underway which will make much of mysql-native @safe. This is necessitating a change away from using Phobos's Variant for data, but we think this will be well worth it as the new replacement offers a much nicer API. And of course, effort is being made to make migrating go as smoothly and simply as possible. Cool, thank you! 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? 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? In the moment I am using this feature with mysql-d and would like to switch to a better maintained package.