Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split low-level Emacs Lisp front-end for databases #11

Closed
proofit404 opened this issue Jan 12, 2015 · 2 comments
Closed

Split low-level Emacs Lisp front-end for databases #11

proofit404 opened this issue Jan 12, 2015 · 2 comments

Comments

@proofit404
Copy link

Maybe is it possible to split this package into something like dbi with low lovel api for execution raw sql queries and emacsql for generating those queries from dsl. This will allow to build another tools on top of dbi library.

What do you think?

@wasamasa
Copy link

I'd welcome this as I've come to realize that SQL is a pretty alright DSL in its own and having a few helper functions (for fetching one value, one row, all rows, etc.) on top of a query/exec function taking the query string as argument with support for parameters is all I need.

@tarsius
Copy link
Member

tarsius commented Sep 15, 2022

Emacs 29 will have built-in support for accessing SQLite databases. For earlier Emacs releases you can use https://github.com/pekingduck/emacs-sqlite3-api.

I have created alternative SQLite backends that use these implementations, see https://github.com/emacscollective/emacsql-sqlite-builtin. I will likely merge these into Emacsql itself and semi-deprecate the current SQLite backend.

I have no plans to implement some intermediate layer in Emacsql, such as

a few helper functions (for fetching one value, one row, all rows, etc.) on top of a query/exec function taking the query string as argument with support for parameters is all I need.

@tarsius tarsius closed this as completed Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants