Re: mysql-native: preview2

2017-02-02 Thread Suliman via Digitalmars-d-announce
On Thursday, 2 February 2017 at 22:59:38 UTC, Nick Sabalausky wrote: On 02/02/2017 09:46 AM, Suliman wrote: Could you explain real case if rangification of ResultSet http://semitwist.com/mysql-native-docs/v0.2.0-preview1/mysql/result/ResultSet.html Does it's mean that I can write

Re: mysql-native: preview2

2017-02-02 Thread Nick Sabalausky via Digitalmars-d-announce
On 02/02/2017 09:46 AM, Suliman wrote: Could you explain real case if rangification of ResultSet http://semitwist.com/mysql-native-docs/v0.2.0-preview1/mysql/result/ResultSet.html Does it's mean that I can write foreach(x;result.empty) ? Or how to use it? .empty just checks whether the

Re: mysql-native: preview2

2017-02-02 Thread Nick Sabalausky via Digitalmars-d-announce
On 02/02/2017 02:22 AM, Suliman wrote: > Am I right understand that if I use pool I can create connection > instance one time in DB class constructor end every new connection > will be created on demand? No. You create the pool once (wherever/whenever you want to). Then, every time you want to

Re: mysql-native: preview2

2017-02-02 Thread Chris Wright via Digitalmars-d-announce
On Thu, 02 Feb 2017 06:50:34 +, Suliman wrote: > On Thursday, 2 February 2017 at 05:28:10 UTC, Nick Sabalausky wrote: >> Made a couple more long-needed changes while I'm at it: >> >> https://github.com/Abscissa/mysql-native-experimental Tag: >> v0.2.0-preview2 >> >> - For better clarity,

Re: mysql-native: preview2

2017-02-02 Thread Suliman via Digitalmars-d-announce
On Thursday, 2 February 2017 at 14:08:19 UTC, Steven Schveighoffer wrote: On 2/2/17 1:50 AM, Suliman wrote: On Thursday, 2 February 2017 at 05:28:10 UTC, Nick Sabalausky wrote: Made a couple more long-needed changes while I'm at it: https://github.com/Abscissa/mysql-native-experimental Tag:

Re: mysql-native: preview2

2017-02-02 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/2/17 1:50 AM, Suliman wrote: On Thursday, 2 February 2017 at 05:28:10 UTC, Nick Sabalausky wrote: Made a couple more long-needed changes while I'm at it: https://github.com/Abscissa/mysql-native-experimental Tag: v0.2.0-preview2 - For better clarity, renamed `mysql.db.MysqlDB` to

Re: mysql-native: preview2

2017-02-01 Thread Suliman via Digitalmars-d-announce
On Thursday, 2 February 2017 at 06:50:34 UTC, Suliman wrote: On Thursday, 2 February 2017 at 05:28:10 UTC, Nick Sabalausky wrote: Made a couple more long-needed changes while I'm at it: https://github.com/Abscissa/mysql-native-experimental Tag: v0.2.0-preview2 - For better clarity, renamed

Re: mysql-native: preview2

2017-02-01 Thread Suliman via Digitalmars-d-announce
On Thursday, 2 February 2017 at 05:28:10 UTC, Nick Sabalausky wrote: Made a couple more long-needed changes while I'm at it: https://github.com/Abscissa/mysql-native-experimental Tag: v0.2.0-preview2 - For better clarity, renamed `mysql.db.MysqlDB` to `mysql.pool.MySqlPool`. - Package

Re: mysql-native: preview2

2017-02-01 Thread Nick Sabalausky via Digitalmars-d-announce
Made a couple more long-needed changes while I'm at it: https://github.com/Abscissa/mysql-native-experimental Tag: v0.2.0-preview2 - For better clarity, renamed `mysql.db.MysqlDB` to `mysql.pool.MySqlPool`. - Package mysql.connection no longer acts as a package.d, publicly importing other