[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding emacsql to NonGNU ELPA?

From: Stefan Monnier
Subject: Re: Adding emacsql to NonGNU ELPA?
Date: Thu, 27 Jan 2022 10:52:00 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Tim Landscheidt [2022-01-27 14:54:07] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>> There isn't anything similar for other languages, so why for SQL?
>> Probably because it's arguably much more common to programmatically
>> generate SQL code, than it is for most other languages (except for HTML,
>> I guess).
> Genuine question: Is it?  My assumption is that SQL code is
> generated mostly in ORM libraries, and they often use a syntax that
> bears no resemblance to SQL.

But how do those ORM libraries generate their SQL code?  I would be
surprised if most of them don't use some internal AST-style
representation of SQL as an intermediate step before generating the
actual string to pass to the SQL engine (and I suspect a good proportion
of those that don't harbor nasty security holes).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]