From ed5a80e0b88b430b4e8f56bf3b269aa0bf5d271f Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 19 Aug 2024 17:46:06 +0200 Subject: [PATCH] Update no longer accurate information --- README.md | 13 +++++-------- emacsql.el | 8 ++++---- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 06c8936..d3621ee 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # EmacSQL -EmacSQL is a high-level Emacs Lisp front-end for SQLite (primarily), -PostgreSQL, MySQL, and potentially other SQL databases. +EmacSQL is a high-level Emacs Lisp front-end for SQLite. + +PostgreSQL and MySQL are also supported, but use of these connectors +is not recommended. Any [readable lisp value][readable] can be stored as a value in EmacSQL, including numbers, strings, symbols, lists, vectors, and @@ -9,11 +11,6 @@ closures. EmacSQL has no concept of "TEXT" values; it's all just lisp objects. The lisp object `nil` corresponds 1:1 with `NULL` in the database. -On MELPA, each back-end is provided as a separate package, suffixed with -the database name. In the case of `emacsql-sqlite`, on first use EmacSQL -will attempt to find a C compiler and use it to compile a custom native -binary for communicating with a SQLite database. - Requires Emacs 25 or later. [![Compile](https://github.com/magit/emacsql/actions/workflows/compile.yml/badge.svg)](https://github.com/magit/emacsql/actions/workflows/compile.yml) @@ -58,7 +55,7 @@ function, neither of these connection types are supported on Windows. ## Example Usage ```el -(defvar db (emacsql-sqlite "~/company.db")) +(defvar db (emacsql-sqlite-open "~/company.db")) ;; Create a table. Table and column identifiers are symbols. (emacsql db [:create-table people ([name id salary])]) diff --git a/emacsql.el b/emacsql.el index 0f14b57..f0fbabc 100644 --- a/emacsql.el +++ b/emacsql.el @@ -13,10 +13,10 @@ ;;; Commentary: -;; EmacSQL is a high-level Emacs Lisp front-end for SQLite -;; (primarily), PostgreSQL, MySQL, and potentially other SQL -;; databases. On MELPA, each of the backends is provided through -;; separate packages: emacsql-sqlite, emacsql-psql, emacsql-mysql. +;; EmacSQL is a high-level Emacs Lisp front-end for SQLite. + +;; PostgreSQL and MySQL are also supported, but use of these connectors +;; is not recommended. ;; See README.md for much more complete documentation.