Proposal: Database Engine for D
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 4 06:39:54 PST 2016
On 01/04/2016 07:39 AM, Jacob Carlborg wrote:
> If you can't use the host language, i.e. Person.where(e => e.name ==
> "John");, what's the point of inventing a new DSL? Why not just use SQL
> if the DSL needs to be in a string anyway.
I agree. A CTFE SQL parser with automatic variable binding would be
pretty rad. Not to mention it would by design take care of things like
string injection attacks etc. Also: finding SQL syntax errors during
compilation of D code... priceless. -- Andrei
More information about the Digitalmars-d
mailing list