logoalt Hacker News

zahlman • last Sunday at 5:11 AM • 2 replies • view on HN

> That is not the niche case, that's the dominant use of models.

And if everyone else jumped off a bridge, I mean, used raw interpolation for SQL queries, would you do it too?


Replies

foldr • last Sunday at 12:14 PM

Using raw SQL string interpolation doesn't get you anything much that you can't get just as easily with a parameterized query. In contrast, properly sandboxing agents is such a pain, and such a productivity drain, that hardly anyone does it in practice, save for a vocal minority online.

literalAardvark • last Sunday at 7:42 AM

Don't worry, you can just use the automated approver to escape your queries! It's so secure!