Sergey Gromov pisze:
downs way:
auto query1 = select(a) /where/ "id" /eq/ 5;
auto query2 = select(a) /where/ "name" /like/ "%bob%";

What a nice trick!

I don't like operator abuse, but sometimes it's a lesser evil.  And it's
definitely the case with SQL queries.

I agree. In D raw operator overloading should be probably as discouraging as cast operator :-)

e.g.
opRawEqual()
opRawNotEquals()
etc.

BR
Marcin Kuszczak
(aarti_pl)

Reply via email to