On Thursday, 2 February 2017 at 06:50:34 UTC, Suliman wrote:
On Thursday, 2 February 2017 at 05:28:10 UTC, Nick Sabalausky
Made a couple more long-needed changes while I'm at it:
- For better clarity, renamed `mysql.db.MysqlDB` to
- Package mysql.connection no longer acts as a package.d,
publicly importing other modules. To import all of
mysql-native, use `import mysql;`
Thanks! Could you explain about pool. I googled about it, and
still can't understand when it up new connections?
How can I imagine what connection is? Because without it hard
to understand what difference between connections with and
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?
Ok, I read articles about pool, as I understood it's depend on of
the implementation. For example method `close` in pool mode
should not close connection, but return it to pool.
Could you tell about your implementation. Also actual question is
can I open connection in constructor (during class instance