Re: Hunt database

2020-11-03 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 3 November 2020 at 18:48:16 UTC, Vino wrote: On Tuesday, 3 November 2020 at 18:14:33 UTC, Andre Pany wrote: [...] Hi Andre, We have also tried to change the connection (con) as dbconnect (con) as below, as per the example provided in the link https://code.dlang.org/packages/hu

Re: Does dmd's -i "include imported modules in the compilation" switch generate object files?

2020-11-03 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Nov 03, 2020 at 10:42:55AM -0800, Ali Çehreli via Digitalmars-d-learn wrote: > -i is a useful feature: > > https://dlang.org/dmd-linux.html > > Does dmd compile auto-included files separately? Does it generate > temporary object files? If so, where does it write the files? Would -i > c

Re: Hunt database

2020-11-03 Thread Vino via Digitalmars-d-learn
On Tuesday, 3 November 2020 at 18:14:33 UTC, Andre Pany wrote: On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote: Hi All, Currently testing Hunt database, and facing an issue as below, hence request your help File : GetConnections.d ### module common.GetConnection

Does dmd's -i "include imported modules in the compilation" switch generate object files?

2020-11-03 Thread Ali Çehreli via Digitalmars-d-learn
-i is a useful feature: https://dlang.org/dmd-linux.html Does dmd compile auto-included files separately? Does it generate temporary object files? If so, where does it write the files? Would -i cause race conditions on the file system? Thank you, Ali

Re: Hunt database

2020-11-03 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote: Hi All, Currently testing Hunt database, and facing an issue as below, hence request your help File : GetConnections.d ### module common.GetConnections; import hunt.database; class Connections { public Database

Re: Hunt database

2020-11-03 Thread Imperatorn via Digitalmars-d-learn
On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote: Hi All, Currently testing Hunt database, and facing an issue as below, hence request your help [...] What datatype is Seq in your settings table?

Re: Hunt database

2020-11-03 Thread Vino via Digitalmars-d-learn
On Tuesday, 3 November 2020 at 14:47:01 UTC, Imperatorn wrote: On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote: Hi All, Currently testing Hunt database, and facing an issue as below, hence request your help [...] What datatype is Seq in your settings table? Hi, The filed Seq i

Hunt database

2020-11-03 Thread Vino via Digitalmars-d-learn
Hi All, Currently testing Hunt database, and facing an issue as below, hence request your help File : GetConnections.d ### module common.GetConnections; import hunt.database; class Connections { public Database conn; this() { conn = new Database("mysql://username:pa