On Thursday, 28 May 2015 at 04:45:52 UTC, Erik Smith wrote:
Shouldn't the statement be reusable?

Yes it should.  I added this use case:

auto stmt = con.statement("insert into table values(?,?)");
stmt.execute("a",1);
stmt.execute("b",2);
stmt.execute("c",3);


struct Table;

Table a, b, c;

con.insert!Table(a);
...

if you use CTFE to create the statement string there is no reason to reuse it.
it will be string literal, that's even better! Think Big. Think D

the other code is Java not D

Reply via email to