From: Tim Landscheidt <tim@tim-landscheidt.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Stefan Kangas <stefan@marxist.se>, emacs-devel@gnu.org
Subject: Re: Adding emacsql to NonGNU ELPA?
Date: Thu, 27 Jan 2022 04:19:34 +0000 [thread overview]
Message-ID: <87czkdg695.fsf@vagabond.tim-landscheidt.de> (raw)
In-Reply-To: <87ilv13v3y.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 03 Jan 2022 12:40:49 +0100")
Lars Ingebrigtsen <larsi@gnus.org> wrote:
>> Any objections to adding emacsql to NonGNU ELPA?
>> https://github.com/skeeto/emacsql
> Sure, seems like a good idea to me.
> ---
> (emacsql db [:select [name id]
> :from people
> :where (> salary 62000)])
> ---
> We should probably add something like this to Emacs core, though. I
> mean the DSL for writing SQL without strings. I'm not sure this is
> exactly the language we should go for, though, but it generally looks
> sound.
There isn't anything similar for other languages, so why for
SQL? This DSL would need to be /very/ complicated for it to
be able to express non-trivial SQL statements.
What I dearly yearn for is an equivalent of
shell-quote-argument (or prin1 & Co.) for SQL (and maybe
other languages), e. g. in Emacs Lisp generate a Perl
script, embedding strings that represent data gathered by
Emacs Lisp.
Tim
next prev parent reply other threads:[~2022-01-27 4:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-02 16:16 Adding emacsql to NonGNU ELPA? Stefan Kangas
2022-01-02 17:09 ` Teemu Likonen
2022-01-03 11:40 ` Lars Ingebrigtsen
2022-01-03 12:54 ` Tim Cross
2022-01-03 16:00 ` [External] : " Drew Adams
2022-01-27 4:19 ` Tim Landscheidt [this message]
2022-01-27 6:03 ` Stefan Monnier
2022-01-27 14:54 ` Tim Landscheidt
2022-01-27 15:52 ` Stefan Monnier
2022-01-27 22:56 ` Tomas Hlavaty
[not found] ` <87bkzwyek6.fsf@logand.com>
[not found] ` <87h79obnuy.fsf@vagabond.tim-landscheidt.de>
2022-01-28 19:12 ` Tomas Hlavaty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87czkdg695.fsf@vagabond.tim-landscheidt.de \
--to=tim@tim-landscheidt.de \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=stefan@marxist.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.