[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqlite3
From: |
Philip Kaludercic |
Subject: |
Re: sqlite3 |
Date: |
Thu, 09 Dec 2021 17:36:32 +0000 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I think it'd be good to bring that into core, and then write a small
> wrapper library (well, a trivial ORM) for the rest of Emacs to use, so
> that we don't have to write SQL all over the place. That is:
>
> (setf (persistent-data :namespace "emoji" :key "favorites") emoji--favorites)
>
> I.e., what Emacs needs is a persistent key/value store, and this would
> give us that.
>
> In addition, if somebody really wants to write SQL stuff (it can be very
> handy for some things), having sqlite3 in there gives us that in
> addition for free.
What would the use-case for this be? And would this be part of the same
interface ("persistent-data"), or would they be separate? I think the
latter would be preferable, because then systems that might not have
SQLite installed -- for whatever reason, despite it's wide
availability -- could fall back on a Elisp implementation.
--
Philip Kaludercic
- Re: sqlite3, (continued)
- Re: sqlite3,
Philip Kaludercic <=
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/09
- Re: sqlite3, Philip Kaludercic, 2021/12/10
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/10
- Re: sqlite3, tomas, 2021/12/11
- Re: sqlite3, Richard Stallman, 2021/12/11
- Re: sqlite3, Qiantan Hong, 2021/12/11
- Re: sqlite3, Philip Kaludercic, 2021/12/11
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/11
- Re: sqlite3, Qiantan Hong, 2021/12/12
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/12